Comment 5 for bug 292580

Revision history for this message
raphi78 (trance202) wrote : Re: [Bug 292580] Re: clamav-freshclam update dns problem

in the log is a lot of this, no more:

ClamAV update process started at Sun Nov 2 02:00:07 2008
WARNING: Can't query current.cvd.clamav.net
WARNING: Invalid DNS reply. Falling back to HTTP mode.
Reading CVD header (main.cvd): WARNING: Can't get
information about database.clamav.net: Name or service not
known
WARNING: Can't read main.cvd header from
database.clamav.net (IP: )
Trying again in 5 secs...

-------------

here is something what I tried out:

root@xyz:/var/log/clamav# host -t txt database.clamav.net
database.clamav.net is an alias for db.local.clamav.net.
db.local.clamav.net is an alias for db.centraleu.clamav.net.
root@xyz:/var/log/clamav# host -t txt db.local.clamav.net
db.local.clamav.net is an alias for db.centraleu.clamav.net.
root@xyz:/var/log/clamav# host -t txt db.centraleu.clamav.net
db.centraleu.clamav.net has no TXT record
root@xyz:/var/log/clamav# dig db.centraleu.clamav.net

; <<>> DiG 9.5.0-P2 <<>> db.centraleu.clamav.net
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59261
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;db.centraleu.clamav.net. IN A

;; ANSWER SECTION:
db.centraleu.clamav.net. 31 IN A 130.59.10.36
db.centraleu.clamav.net. 31 IN A 212.71.0.71

;; Query time: 13 msec
;; SERVER: 195.186.1.111#53(195.186.1.111)
;; WHEN: Sun Nov 2 17:03:04 2008
;; MSG SIZE rcvd: 73

On 02.Nov 2008 15:32, Scott Kitterman wrote:
> Please provide the log file information from /var/log/clamav/freshclam.0
> that shows the failure you are concerned about.
>
> --
> clamav-freshclam update dns problem
> https://bugs.launchpad.net/bugs/292580
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “clamav” source package in Ubuntu: New
>
> Bug description:
> Binary package hint: clamav-freshclam
>
> on Kubuntu 8.10 (newest from archive) it's not possible to update the clamav db with "sudo freshclam".
>
> it allways report, dns resolving don't work. But, with nslookup, dig and host it's possible to resolve the domain-names (like described in the FAQ of clamav.org). I don't have any idea to resolve this... maybe a permission-problem, but it's executed as root. Also the daemon has the same problem of clamav, not only the manual update.
>
> Any idea how to do more exactly debugging?
> thanks.
>
> exact output:
> ClamAV update process started at Sun Nov 2 13:02:14 2008
> WARNING: Can't query current.cvd.clamav.net
> WARNING: Invalid DNS reply. Falling back to HTTP mode.
> Reading CVD header (main.cvd): WARNING: Can't get information about database.clamav.net: Name or service not known
> WARNING: Can't read main.cvd header from database.clamav.net (IP: )
> Trying again in 5 secs...
>