Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel log
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Gh0str1d3r
Guru
Guru


Joined: 27 May 2008
Posts: 411

PostPosted: Wed Apr 14, 2010 11:37 am    Post subject: kernel log Reply with quote

Hi,

is it possible to read old kernel logs (to find for instance kernel panics)? I do not have the /var/log/messages file and I dont know how to get it.
Back to top
View user's profile Send private message
*_-=Banana=-_*
Apprentice
Apprentice


Joined: 21 May 2004
Posts: 205
Location: Germany

PostPosted: Wed Apr 14, 2010 11:42 am    Post subject: Reply with quote

did you install some system tools described as here:

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=9
_________________
My personal space
Back to top
View user's profile Send private message
Gh0str1d3r
Guru
Guru


Joined: 27 May 2008
Posts: 411

PostPosted: Wed Apr 14, 2010 11:56 am    Post subject: Reply with quote

yes, I am using syslog-ng

edit: I see I forgot to add it to default runlevel :roll: Lets see if it works now...
Back to top
View user's profile Send private message
*_-=Banana=-_*
Apprentice
Apprentice


Joined: 21 May 2004
Posts: 205
Location: Germany

PostPosted: Wed Apr 14, 2010 11:58 am    Post subject: Reply with quote

yeah it needs to be running ;-)

if you install a cron manager you will also get some default archive cronjobs which tar.gz old log files
_________________
My personal space
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13985

PostPosted: Thu Apr 15, 2010 1:31 am    Post subject: Reply with quote

Even with syslog-ng running, you cannot read old kernel panics. By definition, a kernel panic halts the system with a minimum of additional activity. Since syslog-ng does not get scheduled after the panic, it cannot write the panic text. If you need to save panic text, write it to a serial console or netconsole. The system on the remote end of that link can remain operational and record the text.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum