Results 1 to 4 of 4
On a Linux host the /var/log/messages file inexplicably ends on Oct 6th (this being October 20th).
I ran a ps to get a clue with this result:
twasdr12:/sbin # ps ...
- 10-20-2011 #1Just Joined!
- Join Date
- Jul 2011
- Posts
- 11
systems messages no longer written to /var/log/messages
On a Linux host the /var/log/messages file inexplicably ends on Oct 6th (this being October 20th).
I ran a ps to get a clue with this result:
twasdr12:/sbin # ps aux|grep [sk]*logd
root 4916 0.0 0.0 2948 680 ? Ss Aug22 0:00 /sbin/klogd -c 1 -x -x
root 19345 0.0 0.0 3936 796 pts/0 S+ 09:58 0:00 grep klogd
I guess that I'm missing a daemon - ( syslogd ) - but don't know why that should be - what do you recommend to fix this problem (should I reboot | start the daemon | or something else ).
- 10-20-2011 #2Linux Guru
- Join Date
- May 2011
- Posts
- 1,844
I'd go with restarting the syslog daemon. I haven't used SUSE in a while, so I don't remember the daemon name, but it is usually something like
or maybe syslog instead of rsyslog. Just look for it in that init dir.Code:/etc/init.d/rsyslog restart
- 10-20-2011 #3
Starting the daemon should do it.
On another note: the processmonitoring of a nagios/xymon/munin/<whatever> can alarm you, if critical services (sshd, ntpd, (r)syslog, etc) are no longer running.You must always face the curtain with a bow.
- 10-21-2011 #4
In such cases always start by checking your filesystems:
Code:$ df -h /var/log/ # check for free space $ df -hi /var/log/ # check for free inodes


Reply With Quote