NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
gbeddow
Sep 23, 2016Luminary
rsyslog writing to syslog.1 after logrotate since upgrading to 6.5.2
Hi,
Ever since upgrading to ReadyNAS 6.5.2 a couple days ago, each morning at 6:25am when the logrotate happens the syslog file rotation happens normally, but then rsyslog keeps writing to syslog.1 instead of the, now empty, syslog file. As you can imagine this screws up the LogAnalyzer add-on app in ReadyNAS, leaving it empty also.
The "workaround" I've found so far is to reboot the RN202. Doing a
# service rsyslog restart
doesn't seem to be enough to get it working again, a full reboot is required.
I've also tried:
# apt-get update && apt-get upgrade rsyslog ... Calculating upgrade... rsyslog is already the newest version. ... # rsyslogd -f/etc/rsyslog.conf -N1 rsyslogd: version 5.8.11, config validation run (level 1), master config /etc/rsyslog.conf rsyslogd: End of config validation run. Bye. # rsyslogd -f/etc/rsyslog.conf -N3 rsyslogd: version 5.8.11, config validation run (level 3), master config /etc/rsyslog.conf rsyslogd: End of config validation run. Bye.
Any ideas out there what might be going on?
Thanks,
Greg
2 Replies
Replies have been turned off for this discussion
- gbeddowLuminary
Can anyone from Netgear chime in on this?
I see symptoms like this people have reported in Debian Linux for years, but so far none of the solutions are working here.
- gbeddowLuminary
In case anyone else runs into this, here's what I did to work around it. I'd be interested to hear from others whether it's really the best way to solve it, or even what it was about ReadyNAS 6.5.2 that triggered it in the first place, but here goes:
Clues came from this post:
The workaround was to change the 2 lines in /etc/logrotate.d/rsyslog that were this:
invoke-rc.d rsyslog rotate > /dev/null
into this:
kill -HUP $(cat /var/run/rsyslogd.pid)
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!