0

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] 
1
  • try executing tail /var/log/apache2/error.log, what error messages are logged there? Commented Sep 2, 2010 at 11:19

2 Answers 2

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.

0

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

You must log in to answer this question.