cod3fr3ak
December 7th, 2004, 12:46
does the newsyslog program execure a kill -HUP on /var/run/syslog.pid, even if syslog is not running. Reason I am asking is because since moving to syslog-ng and disabling syslog, i've been getting the same error message in root mail:
From: root@gold.mydomain.net (Cron Daemon)
To: root@gold.mydomain.net
Subject: Cron <root@gold> /usr/bin/newsyslog
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <PATH=/bin:/sbin:/usr/bin:/usr/sbin>
X-Cron-Env: <HOME=/var/log>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>
Status: RO
newsyslog: can't open /var/run/syslog.pid: No such file or directory
There is no entry for syslog in the /etc/newsyslog.conf file, only one for syslog-ng - which has its pid as /var/run/syslog-ng.pid. So I can not figure out where the SIGHUP to /var/run/syslog.pid is being executed. Any ideas?
From: root@gold.mydomain.net (Cron Daemon)
To: root@gold.mydomain.net
Subject: Cron <root@gold> /usr/bin/newsyslog
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <PATH=/bin:/sbin:/usr/bin:/usr/sbin>
X-Cron-Env: <HOME=/var/log>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>
Status: RO
newsyslog: can't open /var/run/syslog.pid: No such file or directory
There is no entry for syslog in the /etc/newsyslog.conf file, only one for syslog-ng - which has its pid as /var/run/syslog-ng.pid. So I can not figure out where the SIGHUP to /var/run/syslog.pid is being executed. Any ideas?