what's changed with newsyslog?
Michael Butler
imb at protected-networks.net
Sun Dec 17 14:47:36 UTC 2017
In the past week or so I've been getting warnings like this ..
bzip2: Can't open input file /var/log/snmpd.log.0: No such file or
directory.
newsyslog: `/usr/bin/bzip2 -f /var/log/snmpd.log.0
/var/log/fwlw_clean_log.0' terminated with a non-zero status (1)
I've checked the relevant /etc/newsyslog.conf and its /usr/local/etc
counterpart to ensure there are tabs in the right places but the errors
persist.
Similarly, the relevant files are there and seem to be rotated as
expected/desired ..
-rw-r--r-- 1 root wheel 77 Dec 17 09:00 fwlw_clean_log
-rw-r--r-- 1 root wheel 11282 Dec 17 09:00 fwlw_clean_log.0.bz2
-rw-r--r-- 1 root wheel 9452 Dec 17 05:00 fwlw_clean_log.1.bz2
[ .. ]
-rw-r--r-- 1 root wheel 50992 Dec 17 09:45 snmpd.log
-rw-r--r-- 1 root wheel 1834 Dec 17 09:00 snmpd.log.0.bz2
-rw-r--r-- 1 root wheel 1846 Dec 17 07:00 snmpd.log.1.bz2
Hints?
imb
More information about the freebsd-current
mailing list