Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 stackoverflow.com 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

2 Answers 2

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 Serverfault.com, 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.