LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 08-31-2012, 04:07 AM   #1
suj
Member
 
Registered: Dec 2009
Posts: 33

Rep: Reputation: 1
reason for server crash in /var/log/messages


Hi,

If the server crashed unexpectedly how can we find the reason behind it? I have checked /var/log/messages and unable to find the cause. How can I understand if someone ourposefully rebooted the server. NOthing found in history. Someone adviced me to use the below command.
===
root@server [/var/log]# grep -i cmd /var/log/messages
Aug 29 09:44:26 server pure-ftpd: (?@127.0.0.1) [INFO] __cpanel__service__auth__ftpd__YuVKgaWqnjmsn0iNcMDOuGJbqJqqoVBONOYBpPXQHrkvPxj7pqv97GJbckqXGXZ9 is now logged in
Aug 29 09:44:26 server pure-ftpd: (__cpanel__service__auth__ftpd__YuVKgaWqnjmsn0iNcMDOuGJbqJqqoVBONOYBpPXQHrkvPxj7pqv97GJbckqXGXZ9@127 .0.0.1) [INFO] Logout.
Aug 29 13:16:58 server kernel: ata1: PATA max UDMA/100 cmd 0xe040 ctl 0xe030 bmdma 0xe000 irq 177
Aug 29 13:16:59 server kernel: ata3: SATA max UDMA/133 cmd 0xf190 ctl 0xf180 bmdma 0xf150 irq 185
Aug 29 13:16:59 server kernel: ata4: SATA max UDMA/133 cmd 0xf170 ctl 0xf160 bmdma 0xf158 irq 185
Aug 29 13:16:59 server kernel: ata5: SATA max UDMA/133 cmd 0xf130 ctl 0xf120 bmdma 0xf0f0 irq 185
Aug 29 13:16:59 server kernel: ata6: SATA max UDMA/133 cmd 0xf110 ctl 0xf100 bmdma 0xf0f8 irq 185
root@server [/var/log]#


can anyone answer my doubts? Thanks in advance. :-)
 
Old 08-31-2012, 06:29 AM   #2
centos123
Member
 
Registered: Apr 2011
Posts: 390

Rep: Reputation: 14
first tell what kind of server you are using mail server , file server web server........

put output of log.

/var/log/http/access.log
/var/log/maillog
 
  


Reply

Tags
crash


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] No /var/log/messages , syslog , kern.log -but cat /var/spool/octopussy/octo_fifo masuch Linux - Newbie 4 06-13-2012 08:05 PM
Bash script for server log (namely var/log/messages) tenaciousbob Programming 17 05-24-2007 10:43 AM
Hacked server :( and /var/log/messages el_pajaro! Linux - Security 4 04-17-2006 10:28 PM
How to log conversation between server in /var/log/messages? juris Linux - Software 1 11-23-2004 09:54 AM


All times are GMT -5. The time now is 04:20 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration