Re: apache 2.4 httpd.conf configuration

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

 



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 <DLONG@xxxxxxxxxx> 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:yehuda@xxxxxxxxxx]
Sent: Monday, December 28, 2015 8:17 PM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: 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 <DLONG@xxxxxxxxxx> 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-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

 



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux