/etc/cron.hourly/freshclam failing

Issue #236 duplicate
Former user created an issue

I've been getting this error message since today:

Subject: Cron <root@97957c4171a0>    cd / && run-parts --report /etc/cron.hourly
run-parts: /etc/cron.hourly/freshclam exited with return code 58

Comments (4)

  1. Alexander

    I had this issue as well and it's very easy to fix: delete mirrors.dat from <your-data-directory>/var/clamav

    The reason why this happens is the following: There are a numbers of mirrors of download servers. If a mirror fails, it's added to a fail list. If this list is full and no working mirrors are left, the update fails. BUT: The problem is that a mirror may only have a temporary failure and thus the list may get full very quickly. If the mirrors.dat that contains the failing mirrors is cleared, all mirrors are retested.

  2. James Mills

    In a world where many of us now run infra as Docker containers/services how do you propose we handle this?

    Should I have an alarm that triggers some automation that docker exec's into the container and nukes the path(s)? Should those paths just be ephemeral volumes and I just restarted the service?

    James Mills / prologic

    E: prologic@shortcircuit.net.au W: prologic.shortcircuit.net.au

  3. Log in to comment