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

when I am trying to start or stop or restart the apache server in Ubuntu. It's going to fail and no error is showing. Only following is displayed:

# /etc/init.d/httpd start
Starting httpd:                                            [FAILED]
# /etc/init.d/httpd stop
Stopping httpd:                                            [FAILED]
share|improve this question

migrated from Sep 2 '10 at 11:33

This question came from our site for professional and enthusiast programmers.

try executing tail /var/log/apache2/error.log, what error messages are logged there? – aularon Sep 2 '10 at 11:19

From the Apache documentation:

You can check your configuration files for syntax errors without starting the server by using apachectl configtest or the -t command line option.

share|improve this answer

Check the log files (usually in /var/log/apache2/ on Ubuntu) and move your question to, because this is not programming related.

share|improve this answer

Your Answer


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