Sunday, March 16, 2008

What do I do if httpd (Apache 1.3.33 Unix) will not start?

1) Check the error_log file. Most errors will show up in this file when start/restarting Apache. This can help narrow down what files you need to look at.

2) Check the hostname. Make sure the machine knows it's own name. Type 'hostname' and then check it against nslookup or dig. These should match for best results.

3) Check log file sizes. Most Linux installations don't care much for files over 2GB. You can check for these in your log directories by "using du -a sort -n -r head -n 20". This will show you the 20 largest files in the current directory.

No comments: