Knowledgebase

Apache is not starting automatically after reboot

Posted by chasebug, 09-09-2010, 08:56 PM
What is the command to make it start automatically? Server has no control panel.

Posted by dmmcintyre3, 09-09-2010, 09:29 PM
On CentOS chkconfig httpd on

Posted by REMX, 09-09-2010, 09:30 PM
Try in your terminal: If that doesn't work after restarting it could be because there's an issue with Apache. Then try:

Posted by chasebug, 09-09-2010, 10:29 PM
Thanks I will try it on the next reboot.

Posted by Johnny Cache, 09-10-2010, 12:25 PM
Couldn't you just add the 'httpd start' command to rc.local and have it start on boot every time?

Posted by mugo, 09-11-2010, 04:49 AM
Yeah, but that's an archaic way...another quick way - ntsysv from cli, then just check "httpd", save. easy chkconfig alternative, 6 of one, 1/2 dozen of another



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
HostingLite/HiYaCorp (Views: 619)


Language:

Client Login

Email

Password

Remember Me

Search