Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

I compiled and installed Apache from source code on Amazon EC2 running Amazon Linux Distribute. After installation, I issue the following command:

$ sudo chkconfig --add httpd

I get the error:

error reading information on service httpd: No such file or directory

How could I fix it?

share|improve this question

Locate your Apache with locate command.Also check restarting the Apache and check if its show you in process-list also check httpd -S command.

You can try this alternative:

Add to your script these lines:

#chkconfig: 345 80 20 
#description: example script

345 - levels 80 - start priority 20 - stop priority

These are example values, you can change them.

Add your script with command: chkconfig --add

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.