pkgsrc-Users archive

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

Re: pksrc/apache24 - No MPM loaded



Okay, it would appear that your apache24 package has no working mpm compiled!

Can you rebuild it with prefork?

On Tue, Dec 4, 2012 at 11:05 AM, Maurizio Caloro <mauric%gmx.ch@localhost> 
wrote:
> Hello and Thanks for Help
> regards
> Mauri
>
> # httpd -V
> AH00534: httpd: Configuration error: No MPM loaded.
>
> # httpd -v
> Server version: Apache/2.4.3 (Unix)
> Server built:   Dec  4 2012 16:50:20
>
> # httpd -l
> Compiled in modules:
>   core.c
>   mod_so.c
>   http_core.
>
> # cat /etc/mk.conf
> X11_TYPE=modular
> ALLOW_VULNERABLE_PACKAGES=yes
> ACCEPTABLE_LICENSES+= adobe-acrobat-license
> ACCEPTABLE_LICENSES+= citrix_ica-license
> ACCEPTABLE_LICENSES+= mplayer-codec-license
> ACCEPTABLE_LICENSES+= openmotif-license
> ACCEPTABLE_LICENSES+= libdvdcss-license
> PKG_OPTIONS.apache+=apache-mpm-event
>
> Cat httd.conf
> [Snip]
> #
> # 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 mpm_event /usr/pkg/lib/httpd/mod_mpm_event.so
> # LoadModule mod_mpm_prefork /usr/pkg/lib/httpd/mod_mpm_prefork.so
> # LoadModule mod_mpm_worker  /usr/pkg/lib/httpd/mod_mpm_worker.so
>
> <IfDefine SSL>
>
> If Enabling LoadModule i have Error message if try to lunch httpd
>
> # httpd
> httpd: Syntax error on line 205 of /usr/pkg/etc/httpd/httpd.conf: Can't 
> locate API module structure `mpm_event' in file 
> /usr/pkg/lib/httpd/mod_mpm_event.so: Undefined symbol "mpm_event"
>
> # uname -rsa
> NetBSD D530.NetScreen 5.1.2 NetBSD 5.1.2 (GENERIC) #0: Thu Feb  2 17:22:10 
> UTC 2012  
> builds%b6.netbsd.org@localhost:/home/builds/ab/netbsd-5-1-2-RELEASE/i386/201202021012Z-obj/home/builds/ab/netbsd-5-1-2-RELEASE/src/sys/arch/i386/compile/GENERIC
>  i386
>
>
> -------- Original-Nachricht --------
>> Datum: Mon, 3 Dec 2012 19:44:36 -0500
>> Von: matthew sporleder <msporleder%gmail.com@localhost>
>>
>> Can we see the output of httpd -V ?
>
> # httpd -V
> AH00534: httpd: Configuration error: No MPM loaded.
>
>>
>> Also, make show-options from pkgsrc/apache24 (assuming that is what
>> you built/installed)
>


Home | Main Index | Thread Index | Old Index