NetBSD-Users archive

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

pksrc/apache24 - No MPM loaded

Installing Apache24 from PKGSRC, after googling i found meny people with
problem but for me i don't found any solutions.

possible to make any changes in httpd.conf 'LoadModule' but i'am not shure
and i don't found any examples. for any help iam happy.

# pkg_info |grep apache
apache-2.4.3nb1     Apache HTTP (Web) server, version 2.4

# /etc/rc.d/apache start
AH00534: httpd: Configuration error: No MPM loaded.

Cat Makefile
# Set the "Multi-Processing Model" used by Apache to handle requests.
# Valid values are:
#       prefork         non-threaded, pre-forking web server
#       worker          hybrid multi-threaded multi-process web server
APACHE_MPM?=            prefork
CONFIGURE_ARGS+=        --with-mpm=${APACHE_MPM:Q}
PLIST_VARS+=            mpm-prefork mpm-worker

# apachectl -l
Compiled in modules:

D530# find / -name

Try to make any mod with httpd.conf
# Dynamic Shared Object (DSO) Support
# To be able to use the functionality of a module which was built as a
DSO you
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available _before_ they are used.
# Please read the file for more
# details about the DSO mechanism and run `httpd -l' for the list of already
# built-in (statically linked and thus always available) modules in your
# binary.
# Note: The order in which modules are loaded is important.  Don't change
# the order below without expert advice.
# Example:
# LoadModule foo_module lib/httpd/
LoadModule mod_cgid /usr/pkg/lib/httpd/

but this also give me more error messages

Home | Main Index | Thread Index | Old Index