LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 04-04-2008, 11:24 PM   #1
djeikyb
Member
 
Registered: Nov 2005
Location: California
Distribution: ubuntu 10
Posts: 162

Rep: Reputation: 33
Rhel 4.6 crashes. (Sorry for the crappy title..)


Sorry for the crappy title, but it's just about all I have to work with. I'm testing a program, which fails, and then the system freezes. I've never seen a linux box die so unhelpfully. The program I'm testing either doesn't catch the error or doesn't have time to log anything, and linux doesn't post the usual core dump stuff to screen.

What can I do to get more information from linux about what's going on? I can ssh in to reproduce the crash, so I'm thinking it'd be ideal to have something (hell, multiple somethings) running on the machine's monitor that will output useful info as the system dies.

Last edited by djeikyb; 04-04-2008 at 11:26 PM.
 
Old 04-04-2008, 11:43 PM   #2
Jerre Cope
Member
 
Registered: Oct 2003
Location: Texas (central)
Distribution: ubuntu,Slackware,knoppix
Posts: 323

Rep: Reputation: 37
You've probably already done the usual, like tail -f /var/log/messages.

Sounds like it may be hardware related to go down silently without a fight.

Could be bad RAM, maybe a bad spot on the disk.

If you have more than 1 stick of ram, try running 1 stick at a time to see if the problem persists. Also if you can get the SMART drive status, that might prove enlightening.
 
Old 04-05-2008, 12:20 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,535

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
How important is this ???. If it's important enough, have a look at kdump. Not trivial to set up, but will get you a dump on failure. I thought I saw RHEL5 had it packaged - I guess at your level you'll have to set it up yourself
See ../Documentation/kdump/kdump.txt
 
Old 04-07-2008, 01:17 PM   #4
djeikyb
Member
 
Registered: Nov 2005
Location: California
Distribution: ubuntu 10
Posts: 162

Original Poster
Rep: Reputation: 33
Thanks, looks like kdump should give me what I need for a decent bug report. Heh, not trivial indeed!

Rhel 5 does come with a kdump package, and what might be a similar package for Rhel 4 is available at the kdump homepage.
 
Old 04-07-2008, 01:25 PM   #5
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Quote:
Originally Posted by djeikyb
I'm testing a program, which fails, and then the system freezes.
What's the program, and what is it doing?

You might also capture strace output while running it to see if the last few system calls provide any clues.
 
  


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
Can't call method "title" on undefined title in Perl script scuzzman Programming 12 12-11-2009 04:40 AM
crappy opengl/3d michaewlewis Linux - Hardware 5 01-29-2007 09:23 AM
under with title and sub title the "GTK devel" found in fc3? AKAKAK Fedora 3 02-27-2005 05:51 AM
RHEL 3 crashes on install! HELP! jonmills Red Hat 12 10-08-2004 03:25 PM
crappy laptop drprince89 Linux - Laptop and Netbook 4 09-25-2004 05:01 PM


All times are GMT -5. The time now is 06:55 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration