LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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
 
Search this Thread
Old 02-06-2013, 08:29 AM   #1
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,547

Rep: Reputation: 37
How to tell what causes kernel panic at restart/shutdown


We have an old server we're spinning down for hopefully the last time, but for grins I wanted to restart it and fsck it just in case we needed to bring it up. So i issued the restart, then I checked the console and it had a kernel panic so I had to hard power it down and brought it back up. figured this may be a great learning experience for me though since the server is going away anyway.

If a server has a kernel panic, how would I go about telling what's causing it and how to fix it? Below are the last few entries in messages from before it panic'd.



Code:
Feb  5 12:04:57 ServerName vsftpd: vsftpd shutdown succeeded
Feb  5 12:04:57 ServerName xinetd[3428]: Exiting...
Feb  5 12:04:57 ServerName xinetd: xinetd shutdown succeeded
Feb  5 12:04:57 ServerName acpid: acpid shutdown succeeded
Feb  5 12:04:57 ServerName crond: crond shutdown succeeded
Feb  5 12:04:57 ServerName autofs: Stopping automount:
Feb  5 12:04:57 ServerName autofs: automount shutdown succeeded
Feb  5 12:04:57 ServerName autofs:
Feb  5 12:04:57 ServerName autofs:
Feb  5 12:04:57 ServerName rc: Stopping autofs:  succeeded
Feb  5 12:04:57 ServerName ntpd[3446]: ntpd exiting on signal 15
Feb  5 12:04:57 ServerName ntpd: ntpd shutdown succeeded
Feb  5 12:04:57 ServerName irqbalance: irqbalance shutdown succeeded
Feb  5 12:04:57 ServerName kernel: Kernel logging (proc) stopped.
Feb  5 12:04:57 ServerName kernel: Kernel log daemon terminating.
Feb  5 12:04:58 ServerName syslog: klogd shutdown succeeded
Feb  5 12:04:58 ServerName exiting on signal 15
 
Old 02-07-2013, 02:45 AM   #2
vikky
LQ Newbie
 
Registered: Apr 2012
Posts: 26
Blog Entries: 1

Rep: Reputation: Disabled
go to single user mode and run fsck. This is may be due to the file corrupt or more uses of the cpu and check the services you are running.
 
1 members found this post helpful.
Old 02-07-2013, 07:59 AM   #3
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,547

Original Poster
Rep: Reputation: 37
Yeah, I did that, but still had the problem. The server was missing a bunch of updates, and after I installed those, the server now boots normally. So I'm guessing one of them fixed or cleaned up whatever was wrong.
 
Old 02-09-2013, 12:59 PM   #4
vikky
LQ Newbie
 
Registered: Apr 2012
Posts: 26
Blog Entries: 1

Rep: Reputation: Disabled
mainly issue is with the filesystem and inodes sometimes due to over usage of CPU or running of some process files were got corrupted.

please provide the logs if you are facing issue.

cheers
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Panic on Shutdown or Restart stlyz3 Linux - Server 1 10-07-2008 01:47 AM
Kernel Panic after shutdown ? M$ISBS Slackware 7 05-11-2007 01:29 PM
Power-off during shutdown causes kernel panic CapKrugers Linux - General 6 11-08-2004 06:52 PM
can shutdown but not restart... kernel 2.6.6 xtian Linux - General 1 06-19-2004 03:17 PM
kernel automatically restart if there is a panic kernelpanicguy Linux - Software 3 07-29-2003 09:06 PM


All times are GMT -5. The time now is 09:29 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