Re: logrotate cannot rotate some log files

2014-06-14 Thread Andrew McGlashan
On 15/06/2014 10:49 AM, André Nunes Batista wrote: > # logrotate -f -v /etc/logrotate.d/ 2> logrotate.txt > > # cat logrotate.txt | grep syslog > reading config file rsyslog > rotating pattern: /var/log/syslog > considering log /var/log/syslog > rotating log /var/log/syslog, log->rotateCount is 7

Re: logrotate cannot rotate some log files

2014-06-14 Thread Bzzzz
On Sat, 14 Jun 2014 21:49:35 -0300 André Nunes Batista wrote: > 0 -rw-r- 1 root adm 0 Feb 9 07:35 /var/log/syslog.1.gz Move out syslog* to another place and restart syslog (looks like you have a hole in file numbering). If that doesn't work, try to reinstall logrotate and rsyslog (or switc