Please keep messages on the mailing list so everyone can benefit (or
critique).

You need to replace module with the name of the module.
I should have written in like the manual does in all caps
(--enable-MODULE=static) which makes it clearer.

- Y

On Tue, Dec 29, 2015 at 12:45 PM, David Long <dl...@lynden.com> wrote:

> I will try “--enable-module=static” in configure and re-compile.
>
> Then try httpd again without LoadModule line for unixd.
>
>
>
> Thanks
>
> David Long
>
>
>
> *From:* Yehuda Katz [mailto:yeh...@ymkatz.net]
> *Sent:* Tuesday, December 29, 2015 9:35 AM
> *To:* David Long <dl...@lynden.com>
> *Cc:* users@httpd.apache.org
>
> *Subject:* Re: [users@httpd] apache 2.4 httpd.conf configuration
>
>
>
> I suspect (although I haven't tried it) that you either need LoadModule or
> to explicitly specify that you want unixd compiled statically linked:
>
> Look on this page of the docs
> https://httpd.apache.org/docs/2.4/programs/configure.html#options for
> --enable-module=
>
>
>
> - Y
>
>
>
> On Tue, Dec 29, 2015 at 12:26 PM, David Long <dl...@lynden.com> wrote:
>
> Hi Yehada,
>
> I don’t  have “--enable-module=static” in configure.
>
> Can I ask you if I have "--enable-unixd” and “--enable-module=static” do I
> still need LoadModule line in httpd.conf?
>
> In my previous 2.2 version.
>
> If I have module enabled in configure for compile I don’t need to use any
> LoadModule line in httpd.conf.
>
> Is it the same case in 2.4 or I still need use LoadModule to load unixd,
> like “LoadModule mod_unixd /www/apache2/modules/mod_unixd.so”?
>
>
>
> Other modules compile in are
>
> "--enable-unixd" \
>
> "--enable-so" \
>
> "--enable-proxy" \
>
> "--enable-ssl" \
>
> "--enable-deflate" \
>
> "--enable-rewrite" \
>
> "--enable-headers" \
>
> "--enable-cgid" \
>
> "--with-ldap" \
>
> "--enable-mods-static=ssl" \
>
> "--enable-ldap" \
>
> "--enable-authnz-ldap" \
>
>
>
> Thanks
>
> David Long
>
>
>
> *From:* Yehuda Katz [mailto:yeh...@ymkatz.net]
> *Sent:* Monday, December 28, 2015 8:17 PM
> *To:* users@httpd.apache.org
> *Subject:* Re: [users@httpd] apache 2.4 httpd.conf configuration
>
>
>
> Did you have --enable-module=static also? Are other modules compiled in?
>
>
>
> Check for LoadModule directives in your config to make sure.
>
>
>
> - Y
>
>
>
> On Mon, Dec 28, 2015 at 10:23 PM, David Long <dl...@lynden.com> wrote:
>
> when I start httpd. It failed with following error
> "[Mon Dec 28 16:37:03.900984 2015] [core:crit] [pid 29127:tid 1] AH00136:
> Server MUST relinquish startup privileges before accepting connections.
> Please ensure mod_unixd or other system security module is loaded."
>
> I had "--enable-unixd" in my configure file when I compiled httpd.
> So I thought when httpd loaded it will have mod_unixd loaded in the binary.
> And I am using basic apache 2.4.17 httpd.conf file
> it has following lines for httpd user and group
>
> <IfModule unixd_module>
> #
> # If you wish httpd to run as a different user or group, you must run
> # httpd as root initially and it will switch.
> #
> # User/Group: The name (or #number) of the user/group to run httpd as.
> # It is usually good practice to create a dedicated user and group for
> # running httpd, as with most system services.
> #
> User daemon
> Group daemon
>
> </IfModule>
>
> Can someone help me with this error?
>
> Thanks
> David Long
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>
>
>
>

Reply via email to