OpenVZ Forum


Home » General » Support » Apache taking a LONG time to start on reboot
Apache taking a LONG time to start on reboot [message #28369] Fri, 14 March 2008 20:20 Go to next message
starr is currently offline  starr
Messages: 4
Registered: March 2008
Junior Member
Has anyone figured this one out?

Apache starts on boot, but only after 10 minutes. If I do a "service httpd start" it works as expected, without any warnings.

This is on a Centos 5 64bit VE, running the default yum install of apache. I used chkconfig to turn on httpd for levels 2345.

Re: Apache taking a LONG time to start on reboot [message #28371 is a reply to message #28369] Sat, 15 March 2008 00:12 Go to previous messageGo to next message
JAlbstmeijer is currently offline  JAlbstmeijer
Messages: 12
Registered: April 2006
Junior Member

I encountered simular problems..
But I did not wait for 10 minutes, just concluded it does not start..
This is what I documented, and solved the problem for me:

----
apache does not respond, last line in /var/log/httpd/error_log

[Sat Feb 23 21:37:00 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Feb 23 21:37:00 2008] [notice] Digest: generating secret for digest authentication ...

for default http within vz (http://forum.openvz.org/index.php?t=msg&goto=27052&)

rm /dev/urandom
mknod --mode 444 /dev/urandom c 1 9

for https in httpd.conf

#SSLRandomSeed startup file:/dev/random 512
SSLRandomSeed startup file:/dev/urandom 512
#SSLRandomSeed connect file:/dev/random 512
SSLRandomSeed connect file:/dev/urandom 512
Re: Apache taking a LONG time to start on reboot [message #28380 is a reply to message #28369] Sat, 15 March 2008 14:34 Go to previous message
starr is currently offline  starr
Messages: 4
Registered: March 2008
Junior Member
Thanks - That did the trick!
Previous Topic: Problem with connecting to VPS guess
Next Topic: Strange Memory Problem
Goto Forum:
  


Current Time: Thu Jun 19 19:31:40 GMT 2025

Total time taken to generate the page: 0.02985 seconds