OpenVZ Forum


Home » General » Support » Apache does not start when rebooting
Apache does not start when rebooting [message #27784] Wed, 27 February 2008 10:11 Go to next message
shuaib85 is currently offline  shuaib85
Messages: 59
Registered: September 2007
Member
Dear all
I have witnessed this problem before and I was wondering why it happens

Everytime after I create new vps I execute
chkconfig httpd on

and I start the httpd

when I reboot the machine or I restart the VPS, apache does not start up as supposed to do. So, I have to start it manually

any idea???


WebVZ: OpenVZ Web Management Tool
http://webvz.sourceforge.net
Re: Apache does not start when rebooting [message #27786 is a reply to message #27784] Wed, 27 February 2008 10:59 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

what does chkconfig --list | grep httpd shows you?

In some cases, chkconfig httpd on is not enough, you have to run something like chkconfig --level 2345 httpd on


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: Apache does not start when rebooting [message #27793 is a reply to message #27786] Wed, 27 February 2008 14:05 Go to previous message
shuaib85 is currently offline  shuaib85
Messages: 59
Registered: September 2007
Member
[root@centos5_1 /]# chkconfig --list | grep httpd
httpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off


it shows that it is supposed to be on in level 3

i did chkconfig --level 2345 httpd on

and nothing changed

I have tried this on centos and fedora templates.
thanks

Edited:
It started automatically after 10 minutes (that happened several times before)


WebVZ: OpenVZ Web Management Tool
http://webvz.sourceforge.net

[Updated on: Wed, 27 February 2008 14:20]

Report message to a moderator

Previous Topic: WebVZ version 1.0 is released
Next Topic: kernel crash when copying large files to mounted windows share
Goto Forum:
  


Current Time: Sat Jul 13 18:45:00 GMT 2024

Total time taken to generate the page: 0.02267 seconds