NetBSD-Users archive

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

Re: pksrc/apache24 - No MPM loaded



Hi,

pkgsrc-users@ mailing list is more preferable, I feel.

From: Maurizio Caloro <mauric%gmx.ch@localhost>, Date: Sun, 02 Dec 2012 
22:43:41 +0100

> 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.

Problem is here?

> 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

What is this "Makefile"?
Current www/apache24 has no such lines.
www/apache2's?

> # 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
> 
> 

--
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3




Home | Main Index | Thread Index | Old Index