For a few hours now, freshclam has been unable to update my database.

It is configured with two server names:
>DatabaseMirror db.dk.clamav.net
>DatabaseMirror database.clamav.net

But when I run it with -v, it turns out that it tries the same IP
address over and over, regardless of which of the two names it looks up
(see output at the end of this message).

This seems a bit strange, since db.dk.clamav.net is a CNAME for
db.northeu.clamav.net, which has 7 A records with different IP addresses
(and database.clamav.net is an alias for the same, through a different
CNAME chain).

Is the round robin possibly not working?

Freshclam -v output:

>cla...@nuser:/$  freshclam -v
>Current working dir is /usr/local/share/clamav
>Max retries == 3
>ClamAV update process started at Fri Dec 12 19:10:00 2008
>Using IPv6 aware code
>Querying current.cvd.clamav.net
>TTL: 781
>Software version from DNS: 0.94.2
>main.cvd version from DNS: 49
>main.cvd is up to date (version: 49, sigs: 437972, f-level: 35, builder: sven)
>daily.cvd version from DNS: 8749
>Retrieving http://db.dk.clamav.net/daily-8749.cdiff
>Trying to download http://db.dk.clamav.net/daily-8749.cdiff (IP: 
>62.236.254.228)
>WARNING: getfile: daily-8749.cdiff not found on remote server (IP: 
>62.236.254.228)
>WARNING: getpatch: Can't download daily-8749.cdiff from db.dk.clamav.net
>Retrieving http://db.dk.clamav.net/daily-8749.cdiff
>Trying to download http://db.dk.clamav.net/daily-8749.cdiff (IP: 
>62.236.254.228)
>WARNING: getfile: daily-8749.cdiff not found on remote server (IP: 
>62.236.254.228)
>WARNING: getpatch: Can't download daily-8749.cdiff from db.dk.clamav.net
>Retrieving http://db.dk.clamav.net/daily-8749.cdiff
>Trying to download http://db.dk.clamav.net/daily-8749.cdiff (IP: 
>62.236.254.228)
>WARNING: getfile: daily-8749.cdiff not found on remote server (IP: 
>62.236.254.228)
>WARNING: getpatch: Can't download daily-8749.cdiff from db.dk.clamav.net
>WARNING: Incremental update failed, trying to download daily.cvd
>Retrieving http://db.dk.clamav.net/daily.cvd
>Trying to download http://db.dk.clamav.net/daily.cvd (IP: 62.236.254.228)
>Downloading daily.cvd [100%]
>WARNING: Mirror 62.236.254.228 is not synchronized.
>Trying again in 5 secs...
>ClamAV update process started at Fri Dec 12 19:10:07 2008
>Using IPv6 aware code
>Querying current.cvd.clamav.net
>TTL: 774
>Software version from DNS: 0.94.2
>main.cvd version from DNS: 49
>main.cvd is up to date (version: 49, sigs: 437972, f-level: 35, builder: sven)
>daily.cvd version from DNS: 8749
>Retrieving http://db.dk.clamav.net/daily-8749.cdiff
>Trying to download http://db.dk.clamav.net/daily-8749.cdiff (IP: 
>62.236.254.228)
>WARNING: getfile: daily-8749.cdiff not found on remote server (IP: 
>62.236.254.228)
>WARNING: getpatch: Can't download daily-8749.cdiff from db.dk.clamav.net
>Retrieving http://db.dk.clamav.net/daily-8749.cdiff
>Trying to download http://db.dk.clamav.net/daily-8749.cdiff (IP: 
>62.236.254.228)
>WARNING: getfile: daily-8749.cdiff not found on remote server (IP: 
>62.236.254.228)
>WARNING: getpatch: Can't download daily-8749.cdiff from db.dk.clamav.net
>Retrieving http://db.dk.clamav.net/daily-8749.cdiff
>Trying to download http://db.dk.clamav.net/daily-8749.cdiff (IP: 
>62.236.254.228)
>WARNING: getfile: daily-8749.cdiff not found on remote server (IP: 
>62.236.254.228)
>WARNING: getpatch: Can't download daily-8749.cdiff from db.dk.clamav.net
>WARNING: Incremental update failed, trying to download daily.cvd
>Retrieving http://db.dk.clamav.net/daily.cvd
>Trying to download http://db.dk.clamav.net/daily.cvd (IP: 62.236.254.228)
>Downloading daily.cvd [100%]
>WARNING: Mirror 62.236.254.228 is not synchronized.
>Trying again in 5 secs...
>ClamAV update process started at Fri Dec 12 19:10:15 2008
>Using IPv6 aware code
>Querying current.cvd.clamav.net
>TTL: 766
>Software version from DNS: 0.94.2
>main.cvd version from DNS: 49
>main.cvd is up to date (version: 49, sigs: 437972, f-level: 35, builder: sven)
>daily.cvd version from DNS: 8749
>Retrieving http://db.dk.clamav.net/daily-8749.cdiff
>Trying to download http://db.dk.clamav.net/daily-8749.cdiff (IP: 
>62.236.254.228)
>WARNING: getfile: daily-8749.cdiff not found on remote server (IP: 
>62.236.254.228)
>WARNING: getpatch: Can't download daily-8749.cdiff from db.dk.clamav.net
>Retrieving http://db.dk.clamav.net/daily-8749.cdiff
>Trying to download http://db.dk.clamav.net/daily-8749.cdiff (IP: 
>62.236.254.228)
>WARNING: getfile: daily-8749.cdiff not found on remote server (IP: 
>62.236.254.228)
>WARNING: getpatch: Can't download daily-8749.cdiff from db.dk.clamav.net
>Retrieving http://db.dk.clamav.net/daily-8749.cdiff
>Trying to download http://db.dk.clamav.net/daily-8749.cdiff (IP: 
>62.236.254.228)
>WARNING: getfile: daily-8749.cdiff not found on remote server (IP: 
>62.236.254.228)
>ERROR: getpatch: Can't download daily-8749.cdiff from db.dk.clamav.net
>WARNING: Incremental update failed, trying to download daily.cvd
>Retrieving http://db.dk.clamav.net/daily.cvd
>Trying to download http://db.dk.clamav.net/daily.cvd (IP: 62.236.254.228)
>Downloading daily.cvd [100%]
>WARNING: Mirror 62.236.254.228 is not synchronized.
>Giving up on db.dk.clamav.net...
>ClamAV update process started at Fri Dec 12 19:10:17 2008
>Using IPv6 aware code
>Querying current.cvd.clamav.net
>TTL: 764
>Software version from DNS: 0.94.2
>main.cvd version from DNS: 49
>main.cvd is up to date (version: 49, sigs: 437972, f-level: 35, builder: sven)
>daily.cvd version from DNS: 8749
>Retrieving http://database.clamav.net/daily-8749.cdiff
>Trying to download http://database.clamav.net/daily-8749.cdiff (IP: 
>62.236.254.228)
>WARNING: getfile: daily-8749.cdiff not found on remote server (IP: 
>62.236.254.228)
>WARNING: getpatch: Can't download daily-8749.cdiff from database.clamav.net
>Retrieving http://database.clamav.net/daily-8749.cdiff
>Trying to download http://database.clamav.net/daily-8749.cdiff (IP: 
>62.236.254.228)
>WARNING: getfile: daily-8749.cdiff not found on remote server (IP: 
>62.236.254.228)
>WARNING: getpatch: Can't download daily-8749.cdiff from database.clamav.net
>Retrieving http://database.clamav.net/daily-8749.cdiff
>Trying to download http://database.clamav.net/daily-8749.cdiff (IP: 
>62.236.254.228)
>WARNING: getfile: daily-8749.cdiff not found on remote server (IP: 
>62.236.254.228)
>WARNING: getpatch: Can't download daily-8749.cdiff from database.clamav.net
>WARNING: Incremental update failed, trying to download daily.cvd
>Retrieving http://database.clamav.net/daily.cvd
>Trying to download http://database.clamav.net/daily.cvd (IP: 62.236.254.228)
>Downloading daily.cvd [100%]
>WARNING: Mirror 62.236.254.228 is not synchronized.
>Trying again in 5 secs...
>ClamAV update process started at Fri Dec 12 19:10:25 2008
>Using IPv6 aware code
>Querying current.cvd.clamav.net
>TTL: 756
>Software version from DNS: 0.94.2
>main.cvd version from DNS: 49
>main.cvd is up to date (version: 49, sigs: 437972, f-level: 35, builder: sven)
>daily.cvd version from DNS: 8749
>Retrieving http://database.clamav.net/daily-8749.cdiff
>Trying to download http://database.clamav.net/daily-8749.cdiff (IP: 
>62.236.254.228)
>WARNING: getfile: daily-8749.cdiff not found on remote server (IP: 
>62.236.254.228)
>WARNING: getpatch: Can't download daily-8749.cdiff from database.clamav.net
>Retrieving http://database.clamav.net/daily-8749.cdiff
>Trying to download http://database.clamav.net/daily-8749.cdiff (IP: 
>62.236.254.228)
>WARNING: getfile: daily-8749.cdiff not found on remote server (IP: 
>62.236.254.228)
>WARNING: getpatch: Can't download daily-8749.cdiff from database.clamav.net
>Retrieving http://database.clamav.net/daily-8749.cdiff
>Trying to download http://database.clamav.net/daily-8749.cdiff (IP: 
>62.236.254.228)
>WARNING: getfile: daily-8749.cdiff not found on remote server (IP: 
>62.236.254.228)
>WARNING: getpatch: Can't download daily-8749.cdiff from database.clamav.net
>WARNING: Incremental update failed, trying to download daily.cvd
>Retrieving http://database.clamav.net/daily.cvd
>Trying to download http://database.clamav.net/daily.cvd (IP: 62.236.254.228)
>Downloading daily.cvd [100%]
>WARNING: Mirror 62.236.254.228 is not synchronized.
>Trying again in 5 secs...
>ClamAV update process started at Fri Dec 12 19:10:32 2008
>Using IPv6 aware code
>Querying current.cvd.clamav.net
>TTL: 749
>Software version from DNS: 0.94.2
>main.cvd version from DNS: 49
>main.cvd is up to date (version: 49, sigs: 437972, f-level: 35, builder: sven)
>daily.cvd version from DNS: 8749
>Retrieving http://database.clamav.net/daily-8749.cdiff
>Trying to download http://database.clamav.net/daily-8749.cdiff (IP: 
>62.236.254.228)
>WARNING: getfile: daily-8749.cdiff not found on remote server (IP: 
>62.236.254.228)
>WARNING: getpatch: Can't download daily-8749.cdiff from database.clamav.net
>Retrieving http://database.clamav.net/daily-8749.cdiff
>Trying to download http://database.clamav.net/daily-8749.cdiff (IP: 
>62.236.254.228)
>WARNING: getfile: daily-8749.cdiff not found on remote server (IP: 
>62.236.254.228)
>WARNING: getpatch: Can't download daily-8749.cdiff from database.clamav.net
>Retrieving http://database.clamav.net/daily-8749.cdiff
>Trying to download http://database.clamav.net/daily-8749.cdiff (IP: 
>62.236.254.228)
>WARNING: getfile: daily-8749.cdiff not found on remote server (IP: 
>62.236.254.228)
>ERROR: getpatch: Can't download daily-8749.cdiff from database.clamav.net
>WARNING: Incremental update failed, trying to download daily.cvd
>Retrieving http://database.clamav.net/daily.cvd
>Trying to download http://database.clamav.net/daily.cvd (IP: 62.236.254.228)
>Downloading daily.cvd [100%]
>WARNING: Mirror 62.236.254.228 is not synchronized.
>Giving up on database.clamav.net...
>Update failed. Your network may be down or none of the mirrors listed in 
>/usr/local/etc/freshclam.conf is working. Check 
>http://www.clamav.net/support/mirror-problem for possible reasons.

-- 
Jesper Dybdal, Denmark.
http://www.dybdal.dk (in Danish).
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to