/etc/cron.daily/logrotate: error: vsftpd.log:7 duplicate log entry for /var/log/xferlog

Nothing has been changed in the system or configuration and after another update on Centos 5.4, Virtualmin GPL I got these emails: "/etc/cron.daily/logrotate: error: vsftpd.log:7 duplicate log entry for /var/log/xferlog"

Is there a way to fix it? Thanks!

Status: 
Active

Comments

If you look at the file /etc/logrotate.conf , is there more than one entry for /var/log/xferlog ? If so, you can safely delete one of them ..

I have the same issue with two boxes, both running 3.72, one GPL and the other Pro. Both are CentOS 5.4.

There are no entries at all for /var/log/xferlog in /etc/logrotate.conf.

Have you any further thoughts ?

Thanks for reading

The problem arise after upgrading to CentOS 5.4. Just go to /etc/logrotate.d end delete the xferlog record from either vsftpd.log or proftpd (you may also delete one of them if you don't use it)

I have the same problem .. I have commented out the entry on /etc/logrotate.d/proftpd

Is there an easy way to find the duplicate as I can't locate any!

Thanks, Ryan

Make sure you check /etc/logrotate.conf and all files under /etc/logrotate.d

I have done this and there is no sign in either file.

Could you run logrotate -f /etc/logrotate.conf and paste the error you get here?