How to check Server reboot reason


 
Thread Tools Search this Thread
Operating Systems Linux SuSE How to check Server reboot reason
# 1  
Old 01-30-2009
How to check Server reboot reason

Hi,

I want to know how can we check Server reboot reason on Suse linux ?
or what caused server to reboot or hung.

anyone knows abut the it. ?

Bryan
# 2  
Old 01-30-2009
The trouble is that when a server has problems, it often is not able to write to a log file.

There are a number of logs in /var/log , including

Code:
/var/log/boot

or

Code:
/var/log/boot.log

Did you search there or the other syslog files?
# 3  
Old 02-02-2009
/var/log/boot.msg also may hold some hints, as well as /var/log/mesasges, on my OpenSuSE 11.0 I have the following :
Code:
egrep -i '(shut|reboot)' messages > reboots.log

and when I 'cat' the file :
Quote:
Jul 23 15:42:16 linux gconfd (sysgate-11792): GConf server is not in use, shutting down.
Jul 23 15:55:22 linux gconfd (sysgate-14966): GConf server is not in use, shutting down.
Jul 23 15:56:03 linux shutdown[15887]: shutting down for system reboot
Jul 23 15:59:32 (none) gconfd (sysgate-3222): GConf server is not in use, shutting down.
Aug 6 11:44:49 sysgate shutdown[13612]: shutting down for system halt
Aug 8 13:08:19 sysgate shutdown[26689]: shutting down for system reboot
Aug 8 13:16:42 sysgate shutdown[4491]: shutting down for system reboot
Sep 30 08:57:43 sysgate gconfd (sysgate-5530): GConf server is not in use, shutting down.
Nov 3 16:28:42 sysgate gconfd (root-13249): GConf server is not in use, shutting down.
Nov 6 05:14:15 sysgate gconfd (sysgate-13256): GConf server is not in use, shutting down.
Dec 8 10:56:59 sysgate gconfd (root-4829): GConf server is not in use, shutting down.
Dec 8 10:57:36 sysgate gconfd (root-4986): GConf server is not in use, shutting down.
Dec 18 10:29:00 sysgate shutdown[31600]: shutting down for system reboot
Dec 18 10:47:54 sysgate shutdown[7833]: shutting down for system reboot
Dec 18 11:18:20 sysgate shutdown[31208]: shutting down for system reboot
# 4  
Old 02-05-2009
Guys thankx for reply but i really didnt find anything from this boot and message logs files. I think configuring dump collecting system can only help in such matter ?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

Server reboot

Hi, The server got rebooted and below messages can be seen in /var/log/messages Sep 7 10:49:12 minersville kernel: Call Trace: <IRQ> <ffffffff80167420>{__alloc_pages+796} Sep 7 10:49:12 minersville kernel: <ffffffff80182814>{kmem_getpages+106} <ffffffff80183c16>{fallback_alloc+304}... (3 Replies)
Discussion started by: admin_db
3 Replies

2. Solaris

How to check last unexpected reboot time Solaris 10?

Dear all can you give me command to show me last unexpected reboot time the date, month, and the year on solaris 10 i've tried uptime who-b last reboot but nothing give me the year last reboot only the date , month and time (6 Replies)
Discussion started by: gema.utama
6 Replies

3. Solaris

Validate mountpoints on solaris server after server reboot

Hi, anyone please let us know how to write shell script to find the missing mountpoints after server reboot. i want to take the mountpount information before server reboot, and validate the mountpoints after server reboot if any missing.please let us know the shell script from begining to end as... (24 Replies)
Discussion started by: VenkatReddy786
24 Replies

4. Shell Programming and Scripting

Help to check uptime post 30 min or so after every reboot

Hi, Please help me to cross verify the post reboot time. I want to execute some script after every reboot, which will happen only post 20-30 mins of reboot. If uptime is >24hrs, script should not execute. I tried with below command, but seems no luck. >> uptime | sed 's/^.*up//' | awk -F,... (1 Reply)
Discussion started by: KailasB
1 Replies

5. Red Hat

Server usually restart not reason

Hi everyone, - I have CentOs server 5.4 , I usually remote by ssh. - My problem is server usually restart but I don't reason. I check log in file /var/log/messages: I don't see "signal 15" which kernel have to receive before restart. Everyone can see in attach. - I try to restart with command... (3 Replies)
Discussion started by: vietbk87
3 Replies

6. AIX

How to check who/which id perform a system reboot?

Hi Guys, I would like to know is there a way to find out who or which id performed the system reboot?Uptime only shows the last date the system was reboot but no userid or ip add.Need to investigate something due to some reboot issues. Thanks Giri (1 Reply)
Discussion started by: giriplug
1 Replies

7. UNIX for Advanced & Expert Users

server reboot

hi all, :) for a reboot of sun box for patch installation i would like to know where do the reboot logs apart from /var/adm/messages and patch run messages would be available, i would like to know the sequence of messages logged in the file like requesting the users to log out sending a... (1 Reply)
Discussion started by: matrixmadhan
1 Replies

8. Shell Programming and Scripting

Server Reboot Alert

I want to get an email alert from a cronjob when a server got rebooted unexpectedly. Please help. Thanks! :confused: (2 Replies)
Discussion started by: angloi
2 Replies

9. UNIX for Advanced & Expert Users

mount: failed, reason given by server: Permission denied

Hi , I have a filesystem on AIX 4.3.3 which i need to share with other clients who use Windows NT and Redhat linux 7.3. I use samba to share this with Windows NT Clients. Now i was to share this with Linux clients. When i try to nfs mount this on Linux i get "mount: failed, reason given by... (1 Reply)
Discussion started by: Sushesh
1 Replies
Login or Register to Ask a Question