[NTLUG:Discuss] RH7 not writing /var/log/messages
Neil Aggarwal
neil at JAMMConsulting.com
Sun Mar 4 23:08:43 CST 2001
I have a RH7 server that is not writing to /var/log/messages.
It was doing that before, but it quit on the 1st of the month.
I dont even know where to start looking at this problem.
I check /etc/logrotate.d/syslog and it has an entry for
/var/log/messages:
/var/log/messages {
rotate 5
weekly
postrotate
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2>
/dev/null || t
rue
endscript
}
I noticed that this seems to kill the syslog process
after rotating the logs, so I rebooted the server, but
that did not help.
Any ideas?
Thanks,
Neil.
--
Neil Aggarwal
JAMM Consulting, Inc. -- (972) 612-6056, http://www.JAMMConsulting.com
Custom Internet Development -- Java, JSP, servlets, databases
More information about the Discuss
mailing list