Hello,

We are having some troubles with freshclam. Following a server crash, we
reinstalled ClamAV (on a Gentoo box). Seems to work properly, but
freshclam has bee spitting the same error ever since (see below).

Mirrors are db.fr.clamav.net, db.de.clamav.net and database.clamav.net
(in this order).

What we do not understand is
- why requesting daily-21972.diff
- when the last version from the DNS query is 23067
- and, of course, where does daily-21972 come from ?

$ freshclam -v
Current working dir is /var/lib/clamav
Max retries == 2
ClamAV update process started at Wed Feb 15 16:14:36 2017
Using IPv6 aware code
Querying current.cvd.clamav.net
TTL: 1468
Software version from DNS: 0.99.2
main.cvd version from DNS: 57
main.cvd is up to date (version: 57, sigs: 4218790, f-level: 60,
builder: amishhammer)
daily.cvd version from DNS: 23067
Retrieving http://db.fr.clamav.net/daily-21972.cdiff
Trying to download http://db.fr.clamav.net/daily-21972.cdiff
nonblock_recv: recv timing out (30 secs)
WARNING: getfile: Error while reading database from db.fr.clamav.net:
Operation now in progress
WARNING: getpatch: Can't download daily-21972.cdiff from db.fr.clamav.net
Querying daily.21972.82.0.0.C0A85302.ping.clamav.net
Retrieving http://db.fr.clamav.net/daily-21972.cdiff
Trying to download http://db.fr.clamav.net/daily-21972.cdiff
nonblock_recv: recv timing out (30 secs)
WARNING: getfile: Error while reading database from db.fr.clamav.net:
Operation now in progress
WARNING: getpatch: Can't download daily-21972.cdiff from db.fr.clamav.net
Querying daily.21972.82.0.0.C0A85302.ping.clamav.net
WARNING: Incremental update failed, trying to download daily.cvd
Whitelisting short-term blacklisted mirrors
Retrieving http://db.fr.clamav.net/daily.cvd
Trying to download http://db.fr.clamav.net/daily.cvd
Downloading daily.cvd [100%]
WARNING: Mirror 192.168.83.2 is not synchronized.
Querying daily.0.82.0.0.C0A85302.ping.clamav.net
Trying again in 5 secs...
ClamAV update process started at Wed Feb 15 16:15:49 2017
Using IPv6 aware code
Querying current.cvd.clamav.net
TTL: 1395
Software version from DNS: 0.99.2
main.cvd version from DNS: 57
main.cvd is up to date (version: 57, sigs: 4218790, f-level: 60,
builder: amishhammer)
daily.cvd version from DNS: 23067
Retrieving http://db.fr.clamav.net/daily-21972.cdiff
Trying to download http://db.fr.clamav.net/daily-21972.cdiff
WARNING: getfile: daily-21972.cdiff not found on db.fr.clamav.net
WARNING: getpatch: Can't download daily-21972.cdiff from db.fr.clamav.net
Querying daily.21972.82.0.0.C0A85302.ping.clamav.net
Retrieving http://db.fr.clamav.net/daily-21972.cdiff
Trying to download http://db.fr.clamav.net/daily-21972.cdiff
WARNING: getfile: daily-21972.cdiff not found on db.fr.clamav.net
ERROR: getpatch: Can't download daily-21972.cdiff from db.fr.clamav.net
Querying daily.21972.82.0.0.C0A85302.ping.clamav.net
WARNING: Incremental update failed, trying to download daily.cvd
Whitelisting short-term blacklisted mirrors
Retrieving http://db.fr.clamav.net/daily.cvd
Trying to download http://db.fr.clamav.net/daily.cvd
Downloading daily.cvd [100%]
WARNING: Mirror 192.168.83.2 is not synchronized.
Querying daily.0.82.0.0.C0A85302.ping.clamav.net
Giving up on db.fr.clamav.net...
ClamAV update process started at Wed Feb 15 16:15:58 2017
Using IPv6 aware code
Querying current.cvd.clamav.net
TTL: 1386
Software version from DNS: 0.99.2
main.cvd version from DNS: 57
main.cvd is up to date (version: 57, sigs: 4218790, f-level: 60,
builder: amishhammer)
daily.cvd version from DNS: 23067
Retrieving http://db.de.clamav.net/daily-21972.cdiff
Trying to download http://db.de.clamav.net/daily-21972.cdiff
WARNING: getfile: daily-21972.cdiff not found on db.de.clamav.net
WARNING: getpatch: Can't download daily-21972.cdiff from db.de.clamav.net
Querying daily.21972.82.0.0.C0A85302.ping.clamav.net
Retrieving http://db.de.clamav.net/daily-21972.cdiff
Trying to download http://db.de.clamav.net/daily-21972.cdiff
WARNING: getfile: daily-21972.cdiff not found on db.de.clamav.net
ERROR: getpatch: Can't download daily-21972.cdiff from db.de.clamav.net
Querying daily.21972.82.0.0.C0A85302.ping.clamav.net
WARNING: Incremental update failed, trying to download daily.cvd
Whitelisting short-term blacklisted mirrors
Retrieving http://db.de.clamav.net/daily.cvd
Trying to download http://db.de.clamav.net/daily.cvd
Downloading daily.cvd [100%]
WARNING: Mirror 192.168.83.2 is not synchronized.
Querying daily.0.82.0.0.C0A85302.ping.clamav.net
Giving up on db.de.clamav.net...
ClamAV update process started at Wed Feb 15 16:16:09 2017
Using IPv6 aware code
Querying current.cvd.clamav.net
TTL: 1375
Software version from DNS: 0.99.2
main.cvd version from DNS: 57
main.cvd is up to date (version: 57, sigs: 4218790, f-level: 60,
builder: amishhammer)
daily.cvd version from DNS: 23067
Retrieving http://database.clamav.net/daily-21972.cdiff
Trying to download http://database.clamav.net/daily-21972.cdiff
WARNING: getfile: daily-21972.cdiff not found on database.clamav.net
WARNING: getpatch: Can't download daily-21972.cdiff from database.clamav.net
Querying daily.21972.82.0.0.C0A85302.ping.clamav.net
Retrieving http://database.clamav.net/daily-21972.cdiff
Trying to download http://database.clamav.net/daily-21972.cdiff
WARNING: getfile: daily-21972.cdiff not found on database.clamav.net
ERROR: getpatch: Can't download daily-21972.cdiff from database.clamav.net
Querying daily.21972.82.0.0.C0A85302.ping.clamav.net
WARNING: Incremental update failed, trying to download daily.cvd
Whitelisting short-term blacklisted mirrors
Retrieving http://database.clamav.net/daily.cvd
Trying to download http://database.clamav.net/daily.cvd
Downloading daily.cvd [100%]
WARNING: Mirror 192.168.83.2 is not synchronized.
Querying daily.0.82.0.0.C0A85302.ping.clamav.net
Giving up on database.clamav.net...
ClamAV update process started at Wed Feb 15 16:16:12 2017
Using IPv6 aware code
Querying current.cvd.clamav.net
TTL: 1372
Software version from DNS: 0.99.2
main.cvd version from DNS: 57
main.cvd is up to date (version: 57, sigs: 4218790, f-level: 60,
builder: amishhammer)
daily.cvd version from DNS: 23067
Retrieving http://database.clamav.net/daily-21972.cdiff
Trying to download http://database.clamav.net/daily-21972.cdiff
WARNING: getfile: daily-21972.cdiff not found on database.clamav.net
WARNING: getpatch: Can't download daily-21972.cdiff from database.clamav.net
Querying daily.21972.82.0.0.C0A85302.ping.clamav.net
Retrieving http://database.clamav.net/daily-21972.cdiff
Trying to download http://database.clamav.net/daily-21972.cdiff
WARNING: getfile: daily-21972.cdiff not found on database.clamav.net
ERROR: getpatch: Can't download daily-21972.cdiff from database.clamav.net
Querying daily.21972.82.0.0.C0A85302.ping.clamav.net
WARNING: Incremental update failed, trying to download daily.cvd
Whitelisting short-term blacklisted mirrors
Retrieving http://database.clamav.net/daily.cvd
Trying to download http://database.clamav.net/daily.cvd
Downloading daily.cvd [100%]
WARNING: Mirror 192.168.83.2 is not synchronized.
Querying daily.0.82.0.0.C0A85302.ping.clamav.net
Giving up on database.clamav.net...
Update failed. Your network may be down or none of the mirrors listed in
/etc/freshclam.conf is working. Check
http://www.clamav.net/doc/mirrors-faq.html for possible reasons.

-- 
B&A Consultants - Sécurité informatique - Conseils et audits
www.ba-consultants.fr
Tél : (0) 563 277 241 - Fax : (0) 567 737 829
_______________________________________________
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to