Bugzilla – Bug 351
newsyslog does not start one of the jobs specified in the command column in newsyslog.conf
Last modified: 2009-04-30 16:01:27 MDT
I have installed newsyslog program on my system configured my newsyslog.conf with one of the following line, /var/log/mylogdir/messages 644 5 30 24 Z "/bin/kill -HUP `cat /var/run/syslog.pid`; /myexecuteable/bin/emrsjob -s elog0 & ;" And newsyslog is started as cron job every hour. The problem is that the job, "/bin/kill -HUP 'cat /var/run/syslog.pid'" is always started every time when newsyslog rolltate the log file, but it does not always start the second job, "/myexecuteable/bin/emrsjob -s elog0 &", which is a shell script. With "does not always" I mean problem occurs in 30% of the cases. I am wondering if there are any special known behavior of newsyslog that I am not aware of. Thanks for the help, yifeng