FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

LinkBack Thread Tools
Old 04-17-2008, 03:51 AM
"Hieu, Luu Danh"
Default Kernel Panic Troubleshooting when machine is not avaiable directly


I've been having kernel panics on a not-so-regular basis (server was
running fine for 30 days, then had a panic, again fine for 2 months or
so then panic'ed again). Problem is, the machine is far away and I
don't have access to the screen. So far I've changed syslog-ng to
record emergencies not to /dev/tty8 and console(root) but to files

destination emergency { file("/var/log/emergencylog"); };
destination else_all { file("/var/log/evrelse"); };
filter f_emergency { level(emerg); };
log { source(src); filter(f_emergency); destination(emergency); };
log { source(src); destination(else_all); };
#line above ends all the log statements so it's basically a catch-all

Is this enough to record the msg dumps when it would panic again?
Also, I have no idea as to what's causing it, since it's so irregular.

I'm running Linux undine 2.6.23-hardened-r7-undine
(Just had to recompile kernel and tried to fix around stuffs + remove
the things I didn't need hoping it'd be the panic cause)
grsec is enabled and logs most things, with most security enabled
(minus the parts for TCP connections)
PaX is also enabled

Hieu Luu Danh
Freelance Web Designer
E: <hieu@euph.eu>
N: United Kingdom, SW15 & East London
gentoo-user@lists.gentoo.org mailing list

Thread Tools

All times are GMT. The time now is 11:17 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org