Submitted by rulez22 on Tue, 11/10/2009 - 15:42
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
Submitted by JamieCameron on Wed, 11/11/2009 - 00:21 Comment #1
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 ..
Submitted by Dim Git on Wed, 11/18/2009 - 01:58 Comment #2
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
Submitted by AnastasiosMagoutas on Wed, 11/18/2009 - 02:31 Comment #3
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)
Submitted by RyanJohnson on Thu, 01/14/2010 - 17:55 Comment #4
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
Submitted by JamieCameron on Thu, 01/14/2010 - 19:45 Comment #5
Make sure you check /etc/logrotate.conf and all files under /etc/logrotate.d
Submitted by RyanJohnson on Thu, 01/14/2010 - 20:25 Comment #6
I have done this and there is no sign in either file.
Submitted by JamieCameron on Fri, 01/15/2010 - 01:53 Comment #7
Could you run
logrotate -f /etc/logrotate.conf
and paste the error you get here?