[NTLUG:Discuss] Log question
kbrannen@gte.net
kbrannen at gte.net
Mon Mar 24 10:45:59 CST 2003
Bobby Wrenn wrote:
> Over the weekend my Apache httpd stopped. I have looked in the relevant
> logs (that I know about) and cannot find any entry over the weekend.
> What log should I be looking at? I looked in /ect/httpd/logs/error_log
> and /var/log/messages and others in the log directory. I found the entry
> for the server starting up but no mention of the server going down.
Those might be the correct places. The only way to know for sure is to look
in your Apache config file, search for "ErrorLog".
Anyway, you might not get an error message, if it went down hard. While
that's possible it would suprise me. I would have thought you'd find
something in /var/log/messages. Check the timestamp on the messages log to
make sure it hasn't rolled over in time, and if it has you should be looking
in messages.1 or something like that.
You might also look in the access_log file to see what was the last thing
asked for by someone--that might help.
What happened when you started it back up?
Also, if think this might happen again, in the httpd.conf file you can change
the "LogLevel" down to "info" to get more data. Of course, you'll need to
make sure your log doesn't get overly big and run your partition out of space. :-)
Is it possible your machine went down? That would prevent log messages. Just
grasping at something. :-)
HTH,
Kevin
More information about the Discuss
mailing list