[Pkg-clamav-devel] Bug#823513: Bug#823513: clamav-freshclam: freshclam fails to download daily.cvd and clamav do not start

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Fri May 6 21:51:13 UTC 2016


On 2016-05-06 15:10:39 [+0200], Simone Piccardi wrote:
> Yes, I tried.
> No, it's not a temporary or a network problem.
> The error messages/WARNING are the same I already reported.

The message regarding 0.90.0 is old and 0.90.2 is current is harmless.

> Anyway I reinstalled everything (using a VM snapshot) from the start two
> time, with the same result. This is the effect of:
> 
> root at jessie:~# systemctl stop clamav-freshclam.service
> root at jessie:~# freshclam -v
…
> Querying current.cvd.clamav.net
…
> Retrieving http://db.local.clamav.net/daily.cvd
> Ignoring mirror 195.154.7.176 (due to previous errors)
> Ignoring mirror 90.147.160.69 (due to previous errors)
> Ignoring mirror 195.154.7.176 (due to previous errors)
> Ignoring mirror 90.147.160.69 (due to previous errors)
> WARNING: Can't download daily.cvd from db.local.clamav.net

I assume that db.local.clamav.net points to db.it.clamav.net for you and
this in turn resolved to two hosts. Both are ignored due to previous
errors and therefore 

> Trying again in 5 secs...

freshclam does nothing.

> Giving up on database.clamav.net...

this is another hosts however it is an alias for db.local.clamav.net so
you get the same IPs in return. 

> Update failed. Your network may be down or none of the mirrors listed in
> /etc/clamav/freshclam.conf is working. Check
> http://www.clamav.net/doc/mirrors-faq.html for possible reasons.

To get rid of the "Ignoring mirror … due to previous errors" you need to
either wait or remove /var/lib/clamav/mirrors.dat - that is where it
information comes from.
Then you can try again and show what goes wrong.

> If I understand correctly the clamav FAQ the warning:
> 
> "WARNING: Your ClamAV installation is OUTDATED!"
> 
> means that current version of freshclam will always fail to download that
> file.

No, freshclam remains to work.
http://www.clamav.net/documents/official-mirror-faq CTRL-F is ou

> There is Local version: 0.99 and recommended 0.99.2, so until there is a way
> to relax that restriction, or accept a different minor version, or release
> an updated package, clamav-daemon will break.

This is just a warning. Freshclam is still working, so is clamav-daemon:
|# freshclam 
|ClamAV update process started at Fri May  6 23:41:31 2016
|WARNING: Your ClamAV installation is OUTDATED!
|WARNING: Local version: 0.99 Recommended version: 0.99.2
|DON'T PANIC! Read http://www.clamav.net/support/faq
|main.cvd is up to date (version: 57, sigs: 4218790, f-level: 60, builder: amishhammer)
|WARNING: getfile: daily-21517.cdiff not found on remote server (IP: 2620:121:0:23::67)
|WARNING: getpatch: Can't download daily-21517.cdiff from db.ipv6.clamav.net
|Downloading daily-21517.cdiff [100%]
|daily.cld updated (version: 21517, sigs: 98748, f-level: 63, builder: neo)
|bytecode.cld is up to date (version: 277, sigs: 47, f-level: 63, builder: neo)
|Database updated (4317585 signatures) from db.ipv6.clamav.net (IP: 2001:41d0:2:9aba::1)
|Clamd successfully notified about the update.

As you see, it failed to download the file from 2620:121:0:23::67.

> Regards
> Simone

Sebastian



More information about the Pkg-clamav-devel mailing list