If your apache webserver will not start, there are several
things which you can check. The first would be to ssh into your server
and and try to start it manually, if it does not throw off an error, be
sure to check the error logs (/etc/httpd/logs/error_log).
Another thing to note, is that simply doing /etc/init.d/httpd restart
will not show any errors to the console. The way to bring these errors
out are first stopping, and then starting apache.
Apache is also very particular about having it’s hostname be
resolvable. From the commandline, you can type ‘hostname’ and see what
this is set to. If this is not resolvable, you can put whatever came
back from the hostname command into /etc/hosts.
Also, log files over 2GB will cause issues as well. Make sure that
there are no files in /etc/httpd/logs/ or /usr/local/apache/domlogs
which are over this filesize limit. If they are, then you can move them
out of those directories.
Another thing to note, is that simply doing /etc/init.d/httpd restart
will not show any errors to the console. The way to bring these errors
out are first stopping, and then starting apache.
