> Date: Mon, 22 Feb 2010 11:21:01 +0000 > From: jmtd@debian.org > To: debian-user@lists.debian.org > Subject: Re: /var/log/messages(dmesg) ? > > On Mon, Feb 22, 2010 at 10:41:04AM +0000, Hadi Motamedi > wrote: > > My Debian server got hung and when I tried to power cycle > > it , I checked its /var/log/messages & /var/log/dmesg with > > respect to the time of fault occurance to see what was > > really happened . But its 'messages' log does not show > > anything recorded for about 30 minutes before its recovery > > after power cycling . Can you please let me know where is > > I can check to find the root cause of failure ? > > Well, whether or not the root cause would be logged depends > on a lot of factors, but you might find /var/log/kern.log > useful in a lot of situations. > > See /etc/syslog.conf (or /etc/rsyslog.conf if you are using > rsyslog) to see what types of syslog messages get logged to > what files. Thanks for your reply . I added the kern.log to my /etc/syslog.conf as the following : kern.* /var/log/kern.log I will check my /var/log/kern.log on my Debian server next hung state . Hotmail: Trusted email with powerful SPAM protection. Sign up now. |