Apache is not starting when our server reboots. How can I check to be sure it's being told to start with the server?

update

Sorry, I'm using Ubuntu

link|improve this question

feedback

3 Answers

up vote 4 down vote accepted

On Fedora/RedHat system:

chkconfig httpd on

On Debian/Ubuntu system:

update-rc.d apache defaults

link|improve this answer
Nvm, got it... .thanks! – Webnet Jul 15 '10 at 14:05
feedback

You'll need to, at the absolute least, specify what distribution you're using, assuming the "linux" tag is correct.

On CentOS/RHEL/FC, you're looking for:

chkconfig httpd on

For Debian, last time I did it, it was:

sysv-rc-conf

though that may have changed in more-recent versions. For others, there are various ways to do it, but for any that use SysV init (which is nearly all of them), the process basically boils down to adding specially-named symlinks to a rc(X)[.y] directory (or two or three) that point at a master [init|rc] directory that contains the actual startup scripts.

link|improve this answer
feedback

FC/RedHat/CentOS

chkconfig httpd on

service httpd status

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.