Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 11-28-2007, 01:12 PM   #1
Registered: Jul 2006
Location: Crisfield
Distribution: Slackware, CentOS, RedHat
Posts: 159

Rep: Reputation: 15
How to install / configure netconsole in CentOS 5

First of all I realized that CentOS 4.5 had netdump and netdump-server packages available. In the attempt to solve a crash that occurs about every 2 weeks I already reinstalled the OS and upgraded to CentOS5 and I just received and setup a box that I was going to use as the netconsole server.

To my surprise the netdump packages are no where to be found (I see kdump) and I cannot see netconsole anywhere (but I do see a kernel object / module) for netconsole.

So I am at a loss. I don't think I really need the whole dump as I would not know what to do with it but I would like to see what the system was doing when the crash occurred. I think netconsole is more of what I am after. For some reason I thought that netdump provided both the console and the dump and that is why I was going to use those facilities.

Basically I need to see the console messages that are around when the system crashes so I can use it to determine what is going on or to supply it to someone that could help.

Any Suggestions?

Old 11-29-2007, 05:51 PM   #2
Senior Member
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
I'm not sure what netdump is, but looking at local log messages in /var/log does not record anything?
Old 11-30-2007, 07:35 AM   #3
Registered: Jul 2006
Location: Crisfield
Distribution: Slackware, CentOS, RedHat
Posts: 159

Original Poster
Rep: Reputation: 15
Originally Posted by Micro420 View Post
I'm not sure what netdump is, but looking at local log messages in /var/log does not record anything?
Thanks for your post. To answer your question when the system crashes it crashes !!! There is NOTHING in the logs. We are running nightly rsync backups over ssh and all you will see is an ssh connection made and then nothing else.

I was able to scrap enough examples together to get netconsole to work. Netconsole basically will send your console log (dmesg) to another port/machine. I have it going to a syslogd on another machine right now. NetDump is a similar beast with the ability to send the kernel crash dump image over the network. Many times when a crash occurs it can be due to loss of filesystem or hard drive thus having another avenue of sending the core images is very useful.

When I get a moment I will post the commands I ran to get it started. However I am still lacking one thing and that is how to load a module so that it starts up at runtime. I tried putting it in modprobe.conf but that did not work. Do you know how to do that?


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 find a GUI to configure wireless in CentOS 5 pauls69p Linux - Wireless Networking 2 07-05-2011 11:45 PM
LXer: Install CentOS 5 DomU on CentOS 5 Dom0(64 bit) from NFS share LXer Syndicated Linux News 0 11-09-2007 04:41 AM
[SOLVED] which one to install centOS 4 or centOS 5 ? Pls HELP !!! vikas027 Linux - Newbie 2 05-13-2007 07:04 AM
netconsole stops sending scotler Linux - Networking 0 06-07-2006 10:02 AM
how to configure CentOS as internet server? czarjohnph Linux - Networking 2 01-16-2006 01:29 AM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 07:48 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration