Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using Ubuntu 11.04 server addition for my application. During some testing my server has just crashed. After that I am restart the server. My problem is how can i find the reason of crashing? I have googled it and find some suggesstion of checking /var/log/syslog but its too big file. how can i track the reason of crashing?

share|improve this question
You need to look for kernel ops/bugs/segfaults or any other error/warning. Maybe, you can filter the irrelevant parts using grep -v gradually until you get a reasonably-sized file. – Khaled Jan 2 '12 at 8:26
Thanks Khaled. But the information you have given is not avaiblable in machine. there is no such directory of opt in my ubuntu server editions. – Anand Soni Jan 2 '12 at 9:18

The recommendations are right:


When you say it is "too big file" - what exactly do you mean? Sometimes you need to plod through giant log files to figure out what went wrong. That's the life of a system administrator...

share|improve this answer
also, you can use dmesg to see what occurred in the kernel logs. – n1reu Jan 2 '12 at 6:45
"too big" means there is too many lines in that file. and i also dont know which message indicates crash of system. – Anand Soni Jan 2 '12 at 6:50
It's going to be hard to find what you are looking for without digging in. Troubleshooting is an art and you need to just read through the logs. I suggest trying to replicate the crash and then immediately reviewing the logs after to reboot to look for anything anomalous. – n1reu Jan 5 '12 at 23:18

Your Answer


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.