LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-04-2012, 06:49 PM   #1
WantLinuxHelp
Member
 
Registered: Jan 2009
Posts: 68
Blog Entries: 1

Rep: Reputation: 15
What log contains info on system panic


My Ubuntu 11.04 system has panicked 3 times in the last 48 hours. Which log should I examine to try to find out more information on what is happening?
 
Old 02-04-2012, 08:02 PM   #2
jv2112
Member
 
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719

Rep: Reputation: 103Reputation: 103



The dmesg command will list all boot up messages.



Code:
dmesg > log
 
Old 02-04-2012, 08:54 PM   #3
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Check these two log files:

/var/log/boot.log
/var/log/messages
 
Old 02-05-2012, 11:52 AM   #4
WantLinuxHelp
Member
 
Registered: Jan 2009
Posts: 68
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jv2112 View Post



The dmesg command will list all boot up messages.



Code:
dmesg > log
Thanks for the info. But, will that help me? It was a panic, not a problem on boot up????

---------- Post added 02-05-12 at 10:53 AM ----------

Quote:
Originally Posted by Satyaveer Arya View Post
Check these two log files:

/var/log/boot.log
/var/log/messages
Thanks. Same question about the boot log. Does that say why it panicked? I will look at these.
 
Old 02-05-2012, 12:01 PM   #5
WantLinuxHelp
Member
 
Registered: Jan 2009
Posts: 68
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Satyaveer Arya View Post
Check these two log files:

/var/log/boot.log
/var/log/messages
boot.log only had the following, and I don't know if any of it tells me anything:



Quote:
fsck from util-linux-ng 2.17.2
Reiserfs super block in block 16 on 0x804 of format 3.6 with standard journal
Blocks (total/free): 23639632/4763355 by 4096 bytes
Filesystem is NOT clean
Filesystem seems mounted read-only. Skipping journal replay.
init: ureadahead-other main process (672) terminated with status 4^M
init: ureadahead-other main process (677) terminated with status 4^M
Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox
* Starting AppArmor profiles ESC[240G ^MESC[234G[ OK ]
* Starting mDNS/DNS-SD daemonESC[234G[ OK ]
* Stopping System V initialisation compatibilityESC[234G[ OK ]
* Starting network connection managerESC[234G[ OK ]
* Starting System V runlevel compatibilityESC[234G[ OK ]
* Starting deferred execution schedulerESC[234G[ OK ]
* Starting regular background program processing daemonESC[234G[ OK ]
* Starting ACPI daemonESC[234G[ OK ]
* Starting anac(h)ronistic cronESC[234G[ OK ]
* Starting save kernel messagesESC[234G[ OK ]
* Starting automatic crash report generationESC[234G[ESC[31mfailESC[39;49m]
* Stopping CPU interrupts balancing daemonESC[234G[ OK ]
* Starting CUPS printing spooler/serverESC[234G[ OK ]
* Stopping anac(h)ronistic cronESC[234G[ OK ]
* Stopping save kernel messagesESC[234G[ OK ]

I'll have to wait for my next panic for the messages file, because it was huge. However, it has hundreds of the following messages - what do they mean?

Quote:
Jun 19 18:19:42 ubuntu-desktop kernel: [14223.879796] radeon 0000:01:05.0: DVI-D-1: EDID block 0 invalid.
Jun 19 18:19:52 ubuntu-desktop kernel: [14233.940526]
Jun 19 18:19:52 ubuntu-desktop kernel: [14233.989734]
Jun 19 18:19:52 ubuntu-desktop kernel: [14234.038939]
Jun 19 18:19:52 ubuntu-desktop kernel: [14234.088152]
Jun 19 18:19:52 ubuntu-desktop kernel: [14234.088158] radeon 0000:01:05.0: DVI-D-1: EDID block 0 invalid.
Jun 19 18:20:02 ubuntu-desktop kernel: [14244.148528]
Jun 19 18:20:02 ubuntu-desktop kernel: [14244.197623]
Jun 19 18:20:02 ubuntu-desktop kernel: [14244.246817]
Jun 19 18:20:02 ubuntu-desktop kernel: [14244.296038]
 
Old 02-06-2012, 02:24 PM   #6
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
The output of your boot.log file shows one of this line:

Quote:
* Stopping System V initialisation compatibilityESC[234G[ OK ]
and for this do one thing:

Code:
sudo mv ~/.Xauthority.conf ~/.Xauthority.conf.old
sudo mv /etc/x11/xorg.conf /etc/x11/xorg.conf.backup
sudo killall /usr/bin/X
sudo service lightdm stop
sudo service lightdm start
 
Old 02-07-2012, 06:59 AM   #7
WantLinuxHelp
Member
 
Registered: Jan 2009
Posts: 68
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Thanks, Satyaveer Arya. Could you explain what that means, please?
 
Old 02-07-2012, 12:54 PM   #8
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Check these pages for more information:

http://ubuntuforums.org/showthread.php?t=1807612&page=2
http://ircanswers.com/ubuntu1/611706...sages-messages
http://linux.bigresource.com/Ubuntu-...79ef37J02.html
 
Old 02-07-2012, 04:58 PM   #9
WantLinuxHelp
Member
 
Registered: Jan 2009
Posts: 68
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Thanks again, Stayaveer. Those links didn't mean must to me. It looks like they have to do with the unity thing, though, right? Some greeter or something missing? I'm not using unity, I checked the "Ubuntu classis (no effects)" on login, which I think puts me back at Gnome 2???

In any case, I went ahead and followed your directions. None of those commands did a thing. See below:


Code:
dxx@ubuntu-desktop:~$ sudo mv ~/.Xauthority.conf ~/.Xauthority.conf.old
mv: cannot stat `/home/dxx/.Xauthority.conf': No such file or directory
dxx@ubuntu-desktop:~$ sudo mv /etc/x11/xorg.conf /etc/x11/xorg.conf.backup
mv: cannot stat `/etc/x11/xorg.conf': No such file or directory
dxx@ubuntu-desktop:~$ sudo killall /usr/bin/X
/usr/bin/X: no process found
dxx@ubuntu-desktop:~$ sudo service lightdm stop
lightdm: unrecognized service
dxx@ubuntu-desktop:~$ sudo service lightdm start
lightdm: unrecognized service
dxx@ubuntu-desktop:~$
Just in case you missed it in my first post, I'm running 11.04 because of the unity thing.
 
Old 02-07-2012, 05:10 PM   #10
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Ok, then check your /var/log/Xorg.0.log file and have you installed any graphics card?
 
Old 02-07-2012, 05:55 PM   #11
WantLinuxHelp
Member
 
Registered: Jan 2009
Posts: 68
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Satyaveer Arya View Post
Ok, then check your /var/log/Xorg.0.log file and have you installed any graphics card?
I'm pretty sure I just have whatever driver Ubuntu automatically picked for the display card. How do I check?

As for /var/log/Xorg.0.log, it's 355K. and /var/log/Xorg.0.log.old is only about an hour older (that's about how long it's been since the last panic). I have attached it (is that OK?)

Thanks again for your help.
 
Old 02-07-2012, 08:08 PM   #12
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Isn't there ATI Radeon graphic card installed on your system? I'm not sure, is it?

And there is no attachment in your last post.
 
Old 02-07-2012, 08:41 PM   #13
WantLinuxHelp
Member
 
Registered: Jan 2009
Posts: 68
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Satyaveer Arya View Post
Isn't there ATI Radeon graphic card installed on your system? I'm not sure, is it?
I can't figure out how to tell. It doesn't tell me in system->preferences->hardware information
 
Old 02-07-2012, 08:46 PM   #14
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
The card should show up in the HW lists eg
Code:
cat /var/log/boot.log
cat /var/log/dmesg

lshw
lspci
 
Old 02-07-2012, 08:49 PM   #15
WantLinuxHelp
Member
 
Registered: Jan 2009
Posts: 68
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Satyaveer Arya View Post
And there is no attachment in your last post.
Ah. I missed the error message. It's too big (255K max). And it won't take an upload ot type tar.gz

What other option do I have?
 
  


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
Logging in file iptables log only, not other system info sloun Linux - Newbie 1 10-25-2011 05:00 AM
Logging a Kernel Panic Event - Problem writing the log in panic situation lucasct Linux - Embedded & Single-board computer 5 09-08-2011 02:44 PM
System crash, doesn't save info to kern.log wybourn Linux - General 2 07-26-2010 04:37 AM
getting cpu info, system info thru system calls naveenisback Programming 7 06-11-2010 03:06 PM
On Kernel Panic system hangs, how to get crash info? verixnbi Red Hat 1 03-08-2009 12:25 AM


All times are GMT -5. The time now is 11:04 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration