We have a test box that is a local update server (that our other
boxes get the dbs from) that I just upgraded to 0.93. The upgrade
works well on my personal workstation, but fails on this box. Any
pointers on getting this updating will be appreciated. It was
updating ok before the upgrade. Trying to retrieve the daily db
via wget resolves the host but hangs before returning any data.

Running freshclam -v, I get the following:

# freshclam -v
Current working dir is /var/lib/clamav
Max retries == 3
ClamAV update process started at Wed May  7 15:20:29 2008
Querying current.cvd.clamav.net
TTL: 300
Software version from DNS: 0.93
Retrieving http://db.us.clamav.net/main.cvd
Trying to download http://db.us.clamav.net/main.cvd (IP: 64.246.44.108)
WARNING: getfile: main.cvd not found on remote server (IP: 64.246.44.108)
WARNING: Can't download main.cvd from db.us.clamav.net
Trying again in 5 secs...
ClamAV update process started at Wed May  7 15:20:35 2008
Querying current.cvd.clamav.net
TTL: 295
Software version from DNS: 0.93
Retrieving http://db.us.clamav.net/main.cvd
Trying to download http://db.us.clamav.net/main.cvd (IP: 128.121.60.235)
nonblock_recv: recv timing out (30 secs)
WARNING: getfile: Error while reading database from db.us.clamav.net
(IP: 128.121.60.235)
WARNING: Can't download main.cvd from db.us.clamav.net
Trying again in 5 secs...
ClamAV update process started at Wed May  7 15:21:10 2008
Querying current.cvd.clamav.net
TTL: 260
Software version from DNS: 0.93
Retrieving http://db.us.clamav.net/main.cvd
nonblock_connect: connect timing out (30 secs)
Can't connect to port 80 of host db.us.clamav.net (IP: 209.170.150.7)
Trying host db.us.clamav.net (64.142.100.50)...
Trying to download http://db.us.clamav.net/main.cvd (IP: 64.142.100.50)
nonblock_recv: recv timing out (30 secs)
Downloading main.cvd [0%]
LibClamAV Error: cli_cvdverify: Can't read CVD header
ERROR: Verification: Broken or not a CVD file
Giving up on db.us.clamav.net...
Update failed. Your network may be down or none of the mirrors listed in
freshclam.conf is working. Check
http://www.clamav.net/support/mirror-problem for possible reasons.

I had blown away all files in /var/lib/clamav prior to running
freshclam. It doesn't seem like a DNS problem, since I can do:

# host db.us.clamav.net
db.us.clamav.net is an alias for db.us.rr.clamav.net.
db.us.rr.clamav.net has address 209.170.150.7
db.us.rr.clamav.net has address 64.142.100.50
db.us.rr.clamav.net has address 64.246.44.108
db.us.rr.clamav.net has address 128.121.60.235
db.us.rr.clamav.net has address 194.47.250.218

Running clamconf gives me:

# clamconf
/etc/freshclam.conf: freshclam directives
------------------------------
LogFileMaxSize = 1048576
LogTime = no
LogVerbose = no
LogSyslog = no
LogFacility = "LOG_LOCAL6"
PidFile = "/var/run/clamav/freshclam.pid"
DatabaseDirectory = "/var/lib/clamav"
Foreground = no
Debug = no
AllowSupplementaryGroups = no
DatabaseOwner = "clamav"
Checks = 12
UpdateLogFile not set
DNSDatabaseInfo = "current.cvd.clamav.net"
DatabaseMirror = "db.us.clamav.net"
MaxAttempts = 3
ScriptedUpdates = yes
CompressLocalDatabase = no
HTTPProxyServer not set
HTTPProxyPort not set
HTTPProxyUsername not set
HTTPProxyPassword not set
HTTPUserAgent not set
NotifyClamd not set
OnUpdateExecute not set
OnErrorExecute not set
OnOutdatedExecute not set
LocalIPAddress not set
ConnectTimeout = 30
ReceiveTimeout = 30

Engine and signature databases
------------------------------
Engine version: 0.93
Database directory: /var/lib/clamav
main db: Not found
daily db: Not found

BTW, on my box that's working okay, clamconf returns the
last line as saying daily db is also not found, when it
really is there. Does clamconf need to be updated to
recognize .cld files?

-- 
Brian Bebeau
Trustwave
http://www.trustwave.com


-- 
Brian Bebeau
Trustwave
http://www.trustwave.com

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to