Apache Doesn't Start After System Restart

Linux web server restart problem…
cd /etc/apache/
httpd -t httpd.conf
[which websites are "missing", comment them out in httpd.conf]
apachectl restart
…Had a power outage today which means our linux web server went down. And, once again, the web server didn't start because it couldn't find all the web sites listed in it's config file. To make a long story short, I went to /etc/apache/httpd.conf and ran… httpd -t httpd.conf …this told me that it couldn't find two of the websites listed in /etc/apache/httpd.conf. It also said that it "Cannot remove module mod_log_config.c" but I don't know what that's all about, and it doesn't matter.  I commented out the two websites (with #) and typed… apachectl restart …and that fixed it.

Leave a Reply

Your email address will not be published.