Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Since a hour, apache stopped responding. I can reach the server with putty and the average load is only a few percent. Apache is (re)starting without error. If it helps: this morning the server turned itself magically off but in this case it's still on, it worked all day without any further problems.

I have absolutely no idea what to look/search for :(

share|improve this question
    
Servers don't turn themselves off "magically". –  ceejayoz Jan 27 '13 at 19:07
    
I know, it probably crashed –  LHolleman Jan 27 '13 at 19:13
    
So take a look in /var/log/httpd or /var/log/apache2 or similar and see what the error logs show. –  ceejayoz Jan 27 '13 at 19:27
    
You don't need a Q&A site you need education and a consultant. –  Iain Jan 27 '13 at 21:19
add comment

1 Answer

If it were me I'd....

  • start with top - always the first place to look when things are amiss - is the load average too high? Too low?

  • next, netstat -nap | less - is the webserver listening on the relevant ports?

  • if apache is running, then check the webserver logs - is any traffic going through? Anny errors logged?

  • then the messages log - is the firewall blocking traffic? Is there anything else amiss?

this morning the server turned itself magically off

Does the error log show it being shutdown? If not, does the messages log show the oom killer terminating processes?

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.