1. Get the current version numbers from the DNS record, i.e. "dig current.cvd.clamav.net txt"
$ dig current.cvd.clamav.net txt ; <<>> DiG 9.3.2 <<>> current.cvd.clamav.net txt ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7784 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;current.cvd.clamav.net. IN TXT ;; ANSWER SECTION: current.cvd.clamav.net. 506 IN TXT "0.88.4:40:1702:1156192141:1" ;; Query time: 15 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Tue Aug 22 06:58:25 2006 ;; MSG SIZE rcvd: 80
2. Get the database if necessary using http, for instance "wget http://db.au.clamav.net/daily.cvd"
$ wget --no-proxy http://db.au.clamav.net/daily.cvd --07:02:07-- http://db.au.clamav.net/daily.cvd => `daily.cvd.3' Resolving db.au.clamav.net... 203.28.142.36, 61.8.0.16, 203.16.234.78 Connecting to db.au.clamav.net|203.28.142.36|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 201,156 (196K) [text/plain] 100%[==================================================================>] 201,156 51.99K/s ETA 00:00 07:02:11 (51.93 KB/s) - `daily.cvd.3' saved [201156/201156] [with proxy] $ wget http://db.au.clamav.net/daily.cvd --07:02:59-- http://db.au.clamav.net/daily.cvd => `daily.cvd' Resolving basement... 192.168.2.40 Connecting to basement|192.168.2.40|:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 201,156 (196K) [text/plain] 100%[==================================================================>] 201,156 --.--K/s 07:02:59 (114.67 MB/s) - `daily.cvd' saved [201156/201156]
Strange, something else must have changed, perhaps you used a proxy and forgot to add it to the configuration file.
I've done this with and without the proxy and it still doesn't work. My logs tell me that I upgraded clamav on August 9, and the error began appearing on August 17. I haven't upgraded any networking-related packages this month. Looking at the README, the only change in version 0.88.4 is a change in libclamav. A bit more info: # cat /etc/clamd.conf LogFile /var/log/clamav/clamd.log LogTime LogSyslog PidFile /var/run/clamav/clamd.pid LocalSocket /var/run/clamav/clamd.sock FixStaleSocket User clamav ScanMail # cat /etc/freshclam.conf LogSyslog PidFile /var/run/clamav/freshclam.pid DatabaseOwner clamav DatabaseMirror db.au.clamav.net DatabaseMirror database.clamav.net I'm at a complete loss here. If all else fails, I could write my own fresclam script using wget. Two questions - how do I verify the files - can I download md5 etc signatures; and how do I get the clamd and clamav-milter daemon to reload the database? I use /var/run/clamav/clamd.sock as a socket. _______________________________________________ http://lurker.clamav.net/list/clamav-users.html