Ask Your Question
0

Kernel Panic on Shutdown - Where to find the log?

asked 2012-06-07 02:49:30 -0500

hakre gravatar image

updated 2014-09-28 21:15:02 -0500

mether gravatar image

My Fedora 17 get's a Kernel Panic on shutdown. I then switch the computer off manually.

How can I read the log of that Kernel Panic when I boot the computer again?

I'd like to search the internet for it and want to copy and paste from it.

edit retag flag offensive close merge delete

Comments

please edit your answer with the problem are you getting ? kernel panic is a very general error , we need more information is a fresh install or upgrade ? maybe you are affecting to this bug's -> https://bugzilla.redhat.com/show_bug.cgi?id=820351

hhlp gravatar imagehhlp ( 2012-06-07 09:58:45 -0500 )edit
2

you can also use -> sudo cat /var/log/messages | grep "Kernel panic"

hhlp gravatar imagehhlp ( 2012-06-07 09:59:09 -0500 )edit

4 Answers

Sort by ยป oldest newest most voted
1

answered 2012-09-17 05:23:56 -0500

hakre gravatar image

I could finally help myself by viewing the file /var/log/messages which contains what dmesg outputs but also from previous boots. I'm not 100% sure that it actually is totally the exact same, but it helped me to troubleshoot my problem. Combine with less it is easier to handle as the file can grow large:

# less /var/log/messages

I hope this information is useful even if it might be not technically correct. It helped me in my case.

edit flag offensive delete link more
1

answered 2012-06-07 04:14:31 -0500

hhlp gravatar image

updated 2012-06-07 06:01:50 -0500

  • related question -> here

    dmesg is used to examine or control the kernel ring buffer. the default action is to read all messages from kernel ring buffer.

open a terminal and type :

> dmesg

all logs files in fedora are store in /var/log

in fedora 17 gnome-system-log is install it by default...

activities โ†’ aplication โ†’ system tools

more information โ†’ man dmesg

edit flag offensive delete link more

Comments

see /var/log/messages or use gnome-system-log and expand tab message you can see a message by day

hhlp gravatar imagehhlp ( 2012-06-07 08:44:14 -0500 )edit
0

answered 2012-06-07 04:19:37 -0500

Akshay gravatar image

updated 2012-06-07 05:54:19 -0500

These are some common log files

/var/log/message: General message and system related stuff
/var/log/auth.log: Authenication logs
/var/log/kern.log: Kernel logs
/var/log/cron.log: Crond logs (cron job)
/var/log/maillog: Mail server logs
/var/log/qmail/ : Qmail log directory (more files inside this directory)
/var/log/httpd/: Apache access and error logs directory
/var/log/lighttpd: Lighttpd access and error logs directory
/var/log/boot.log : System boot log
/var/log/mysqld.log: MySQL database server log file
/var/log/secure: Authentication log
/var/log/utmp or /var/log/wtmp : Login records file
/var/log/yum.log: Yum log files

In short /var/log is the location where you should find all Linux logs file. However some applications such as httpd have a directory within /var/log/ for their own log files

OR

you can use logwatch to install logwatch on fedora -----> yum install logwatch and there is log file viewer in fc17

edit flag offensive delete link more
0

answered 2012-06-08 04:30:57 -0500

ippo gravatar image

updated 2012-06-08 04:34:54 -0500

I have the same problem, even I upgraded the Kernel. image description

edit flag offensive delete link more

Comments

this is a bug feel free to fill a bug report in https://bugzilla.redhat.com/ ...

hhlp gravatar imagehhlp ( 2012-06-08 06:13:49 -0500 )edit

there is something with device mapper,how often it occurs??

Akshay gravatar imageAkshay ( 2012-06-08 09:02:13 -0500 )edit

Question Tools

Stats

Asked: 2012-06-07 02:49:30 -0500

Seen: 31,338 times

Last updated: Sep 17 '12