Hi,
I'm facing the same issue on version 5.6.2, today I upgraded to 5.6.7 and the permission errors are gone, but the logs are not being rotated.
I ran the following command like mentioned above: sudo /usr/sbin/logrotate -d -s /var/lib/logrotate/logrotate.status /etc/logrotate.conf
This is the part of the output about sysstat.log:
Code: Select all
renaming /usr/local/nagiosxi/var/sysstat.log to /usr/local/nagiosxi/var/sysstat.log-20190930
creating new /usr/local/nagiosxi/var/sysstat.log mode = 0644 uid = 1236 gid = 1236
compressing log with: /bin/gzip
removing old log /usr/local/nagiosxi/var/sysstat.log-20190521.gz
switching euid to 0 and egid to 0
The file is not renamed, no new file is being created and the old compressed file (20190521) still exists
Is there something else we need to do to solve this?
Kind regards,
Peter