LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-29-2013, 10:14 PM   #1
rcketscientist
LQ Newbie
 
Registered: Mar 2013
Posts: 8

Rep: Reputation: Disabled
Debugging crash


I'm using Ubuntu 10.04. I've noticed my server has crashed twice in the past couple days.

From what I've gathered I should look at /var/log/messages for more info on crashes, but mine only has a bunch of restart logs for a date that doesn't make any sense (the server has only been up two weeks):
Code:
Apr 11 05:37:07 test1 syslogd 1.5.0#5ubuntu4: restart. Apr 25 01:07:36 test1 syslogd 1.5.0#5ubuntu4: restart. Apr 25 01:07:39 test2 syslogd 1.5.0#5ubuntu4: restart.
I also did "last -x" which at least let me know the culprit was ppp:

Code:
router ppp0 [ip.ad.dr.ess] Sat Mar 30 06:52 - 06:54 (00:01) runlevel (to lvl 2) 2.6.32-042stab07 Sat Mar 30 06:52 - 06:55 (00:02) reboot system boot 2.6.32-042stab07 Sat Mar 30 06:52 - 06:55 (00:02) router ppp1 [ip.ad.dr.ess] Sat Mar 30 04:13 - crash (02:39) router ppp0 [ip.ad.dr.ess] Fri Mar 29 23:13 - 04:13 (05:00) router ppp0 [ip.ad.dr.ess] Fri Mar 29 23:10 - 23:12 (00:01) router ppp1 [ip.ad.dr.ess] Fri Mar 29 23:06 - 23:12 (00:05) router ppp0 [ip.ad.dr.ess] Fri Mar 29 13:37 - 23:08 (09:31) router ppp1 [ip.ad.dr.ess] Fri Mar 29 10:12 - 13:39 (03:26) router ppp0 [ip.ad.dr.ess] Fri Mar 29 08:22 - 10:14 (01:52) router ppp1 [ip.ad.dr.ess] Fri Mar 29 04:45 - 08:23 (03:38) router ppp0 [ip.ad.dr.ess] Fri Mar 29 00:10 - 04:47 (04:36) anthony ppp0 [ip.ad.dr.ess] Thu Mar 28 16:14 - 17:12 (00:57) router ppp1 [ip.ad.dr.ess] Thu Mar 28 16:01 - 00:12 (08:11) router ppp0 [ip.ad.dr.ess] Thu Mar 28 11:16 - 16:03 (04:46) router ppp0 [ip.ad.dr.ess] Thu Mar 28 11:15 - 11:16 (00:01) runlevel (to lvl 2) 2.6.32-042stab07 Thu Mar 28 11:15 - 06:52 (1+19:37) reboot system boot 2.6.32-042stab07 Thu Mar 28 11:15 - 06:55 (1+19:40) router ppp0 [ip.ad.dr.ess] Thu Mar 28 10:08 - crash (01:06)
Where can I get a decent log for this or how can I set it up to log on the next crash. Thanks!

Last edited by onebuck; 03-30-2013 at 09:36 AM. Reason: add vbcode tags to clean post, Please learn to use code tags
 
Old 03-31-2013, 07:18 PM   #2
sag47
Senior Member
 
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Ubuntu, PopOS, Raspbian
Posts: 1,899
Blog Entries: 36

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
There's the @reboot alias for cron. See man 5 cron. You could write a script which gathers system info upon reboot in addition to telling you it happened.
 
  


Reply



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
LXer: Tutorials: GameTree Linux - Part 3 - Debugging and crash logs LXer Syndicated Linux News 0 06-26-2011 12:10 PM
Analyzing crash and debugging abhijit_here Linux - Kernel 1 08-27-2010 04:24 AM
Debugging Abiword Crash Jeff91 Linux - Software 1 01-12-2010 09:16 PM
linux kernel crash and debugging chiru@chiru Linux - Newbie 0 10-11-2008 12:15 AM
gdb problem during debugging xine crash ... rs_javadi Linux - Software 0 08-24-2004 06:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 09:08 PM.

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
Open Source Consulting | Domain Registration