NetBSD-Users archive

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

pksrc/apache24 - No MPM loaded



Hello
Installing Apache24 from PKGSRC, after googling i found meny people with
this
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.
regards
Mauri

# 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}
BUILD_DEFS+=            APACHE_MPM
PLIST_VARS+=            mpm-prefork mpm-worker

# apachectl -l
Compiled in modules:
  core.c
  mod_so.c
  http_core.c

D530# find / -name mod_cgid.so
/usr/pkg/lib/httpd/mod_cgid.so


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 http://httpd.apache.org/docs/dso.html 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
httpd
# 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/mod_foo.so
LoadModule mod_cgid /usr/pkg/lib/httpd/mod_cgid.so

but this also give me more error messages


Home | Main Index | Thread Index | Old Index