Saturday, June 12, 2010

Tracing Apache startup failure

When starting Apache web server via "service httpd start" fails, we could check the error in /var/log/httpd/error_log.

Or, we can execute the application "httpd" from command line and read the text response.

Most likely failure happens as a result of syntax error in "/etc/httpd/conf/httpd.conf"