Hi all,
I am trying to debug a system crash and would like to access information on /var/log/kern.log and /var/log/messages.
The systems has syslogd and klogd running in background with the following option:
690 root 2820 S /sbin/syslogd -n -O /var/log/messages
693 root 2820 S /sbin/klogd -n
We the system restart due to a system crash, /var/log/kern.log does not exist (actually I guess it is never created) and /var/log/messages has new data after rebooting.
This is the content of /var/log after system crash and reboot, I think I can not find any kernel issues into these files:
root@ccimx6sbc:/var/log# ls -ls
20 -rw-r--r-- 1 root root 18203 Apr 8 10:10 Xorg.0.log
4 -rw-r--r-- 1 root root 2600 Apr 8 10:10 Xsession.log
0 -rw-r--r-- 1 root root 0 Apr 8 10:10 acpid.log
20 -rw-r--r-- 1 root root 18867 Apr 8 10:10 dmesg
72 -rw-r--r-- 1 root root 72168 Apr 9 23:48 messages
204 -rw-r--r-- 1 root root 204864 Apr 9 10:17 messages.0
2080 -rw------- 1 root root 2128268 Apr 9 07:16 vsftpd.log
4 -rw-rw-r-- 1 root root 2688 Apr 9 22:44 wtmp
Could anybody give any hint on how to log kernel issues to try to solve my crash problem? I would like to monitor last session kernel events after system reboot.
Thank you in advance.
BR,
alvaro
how about the dmesg?