Fwd: Re: need help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you! It was my fault because I forgot to look at config.log file.

configure:27226: checking if event MPM supports this platform
configure:27241: result: no - APR skiplist is not available

configure:27328: checking if worker MPM supports this platform
configure:27340: result: yes

configure:30905: checking which MPM to use by default
configure:30912: result: worker

-------- Originalus laiškas --------

Tema: Re: need help
Data: 2017-07-08 23:42
Siuntėjas: Eric Covener <covener@xxxxxxxxx>
Gavėjas: users@xxxxxxxxxxxxxxxx
Atsakymą gaus: users@xxxxxxxxxxxxxxxx


On Sat, Jul 8, 2017 at 3:42 PM,  <rss@xxxxxxxxxxx> wrote:
I want to compile httpd with --with-mpm=event module loaded dynamically but
I'm getting a fault below after starting httpd service.

Invalid command 'MinSpareServers', perhaps misspelled or defined by a module
not included in the server configuration


My compile script:

configure_flags="                                               \
        --prefix=/etc/httpd                                     \
        --exec-prefix=/etc/httpd                                \
        --bindir=/usr/bin                                       \
        --sbindir=/usr/sbin                                     \
        --libexecdir=/usr/lib64/apache                          \
        --sysconfdir=/etc/httpd/conf                            \
        --datadir=/var/www                                      \
        --includedir=/usr/include/apache                        \
        --localstatedir=/var                                    \
        --mandir=/usr/share/man                                 \
        --with-mpm=event                                        \
        --enable-mods-static=most                               \
        --enable-ssl=shared                                     \
        --enable-suexec                                         \
        --enable-unique-id                                      \
        --with-pcre                                             \
        --with-suexec-caller=apache                             \
        --with-suexec-logfile=/dev/null                         \
        --with-suexec-uidmin=1000                               \
        --with-suexec-gidmin=1000                               \
        --with-suexec-umask=022"

./configure $configure_flags --with-suexec-docroot=/home

I'm not sure how you ended up with worker.  You're missing
--enable-mpms-shared= so you should have a statically linked event
mpm.

Maybe config.log has some error?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux