LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-25-2003, 10:52 PM   #1
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Rep: Reputation: 58
What to check after a server crash?


Our unix server running firewall, nat, sendmail, procmail, squid, samba, named, etc. for some 50 clients crashed two times yesterday, after a successful uptime of some 45 days.
The 45 days uptime is sort of OK, however the two crashes on the same day annoy me.
The crashes were total: I could only restart the server by the RESET button (it gave me the good old windows feeling).
Afterwards, I did not find any error messages in /var/log/messages nor in root's mail messages or any other logfiles in /var/log that could light me up what caused the two crashes. Using fsck I also found the file systems to be clean.
When the server was crashed, there were no error messages on the screen, either, the only strange thing was that there were some surplus characters (or, rather a complete sentence, but not an error message of any kind) shown after the 'login: ' prompt on the screen.
Could you please give me some hints, what logs to turn on and what logfiles to check in order to trace down any future crashes, or simply monitor free system resources.

Last edited by J_Szucs; 02-25-2003 at 10:56 PM.
 
Old 02-26-2003, 01:48 AM   #2
xYko
Member
 
Registered: Feb 2003
Location: Helsingborg, Sweden
Distribution: Slackware
Posts: 52

Rep: Reputation: 16
Quite possible you had a lot of load, since you're running a lot of stuff.. It's not supposed to crash due to too much load though.

'uptime' will give you CPU loads for some 15 minutes back, and you can use 'top' to look at sys resources interactively. There are loggers that will log resources and even make nice graphs for you, try freshmeat or SF..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
x server crash spidna Linux - Newbie 1 10-01-2004 11:29 PM
which log do i check after system crash? ijsman77 Red Hat 0 08-24-2004 06:16 AM
xmms crash xine crash mplayer crash paledread Linux - Software 9 03-09-2004 07:09 AM
x server crash xjphil Debian 1 02-15-2004 12:58 AM
When the Server crash :( freelinuxcpp Linux - Networking 4 12-12-2003 04:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration