Nightly clamav error: duplicate log entry

Discussion in 'Mail Server' started by Rob, Jan 11, 2012.

  1. Rob

    Rob Administrator Staff Member

    Messages:
    575
    Likes Received:
    214
    Trophy Points:
    43
    If you're getting the following error every night from cron:

    Code:
    [FONT=arial]/etc/cron.daily/logrotate:[/FONT]
    [FONT=arial]error: freshclam:6 duplicate log entry for /var/log/clamav/freshclam.log[/FONT]
    [FONT=arial]error: found error in /var/log/clamav/freshclam.log , skipping[/FONT]


    It's a relatively easy fix.. take out the double entries in:
    Code:
    /etc/logrotate.d/freshclam
    /etc/cron.daily/freshclam
    More info / bug report:
    https://bugzilla.redhat.com/show_bug.cgi?id=771483

Share This Page