Re: [logs] Remote logging of syslog stops after restart

From: Marcus J. Ranum (mjr@private)
Date: Tue Jul 13 2004 - 14:46:42 PDT


>With these:
>kill $(cat /var/run/syslog.pid)
>/usr/sbin/syslogd
>echo ""


Using "kill" does not necessarily terminate the process; syslogd
is listening for SIGKILL and uses that as a trigger to reload. Note
in the earlier example, it doesn't restart syslogd.

Check using ps to see if syslogd gets started right. If it does not
get started right, manually run syslogd (-D) with debugging to see
if there is a config file problem or pipe permissions problem. If that's
not it,you can change the first line of the shell script to "set -x" which
will turn on shell diagnostic output; then run the log rotator manually
and see what is going on.

Hope this helps!!

mjr.  

_______________________________________________
LogAnalysis mailing list
LogAnalysis@private
http://lists.shmoo.com/mailman/listinfo/loganalysis



This archive was generated by hypermail 2.1.3 : Sat Jul 17 2004 - 00:36:36 PDT