LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   What log contains info on system panic (https://www.linuxquestions.org/questions/linux-newbie-8/what-log-contains-info-on-system-panic-927642/)

WantLinuxHelp 02-04-2012 05:49 PM

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?

jv2112 02-04-2012 07:02 PM

;)


The dmesg command will list all boot up messages.



Code:


dmesg > log


Satyaveer Arya 02-04-2012 07:54 PM

Check these two log files:

/var/log/boot.log
/var/log/messages

WantLinuxHelp 02-05-2012 10:52 AM

Quote:

Originally Posted by jv2112 (Post 4593976)
;)


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 (Post 4593993)
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.

WantLinuxHelp 02-05-2012 11:01 AM

Quote:

Originally Posted by Satyaveer Arya (Post 4593993)
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]

Satyaveer Arya 02-06-2012 01:24 PM

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


WantLinuxHelp 02-07-2012 05:59 AM

Thanks, Satyaveer Arya. Could you explain what that means, please?

Satyaveer Arya 02-07-2012 11:54 AM

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

WantLinuxHelp 02-07-2012 03:58 PM

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.

Satyaveer Arya 02-07-2012 04:10 PM

Ok, then check your /var/log/Xorg.0.log file and have you installed any graphics card?

WantLinuxHelp 02-07-2012 04:55 PM

Quote:

Originally Posted by Satyaveer Arya (Post 4596432)
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.

Satyaveer Arya 02-07-2012 07:08 PM

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.

WantLinuxHelp 02-07-2012 07:41 PM

Quote:

Originally Posted by Satyaveer Arya (Post 4596529)
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

chrism01 02-07-2012 07:46 PM

The card should show up in the HW lists eg
Code:

cat /var/log/boot.log
cat /var/log/dmesg

lshw
lspci


WantLinuxHelp 02-07-2012 07:49 PM

Quote:

Originally Posted by Satyaveer Arya (Post 4596529)
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?


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