Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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


Sorry, I'm using Ubuntu

share|improve this question
up vote 4 down vote accepted

On Fedora/RedHat system:

chkconfig httpd on

On Debian/Ubuntu system:

update-rc.d apache defaults

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

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:


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.

share|improve this answer


chkconfig httpd on

service httpd status

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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