• Having problems with freshclam
    1 replies, posted
Before we start, please note that I've spent all morning and most of Friday searching through various newsgroups, threads and IRC chats. When running freshclam, I receive this: [code]ClamAV update process started at Mon Mar 22 15:06:18 2010 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 db.local.clamav.net : Name or service not known WARNING: Can't read main.cvd header from db.local.clamav.net (IP: ) Trying again in 5 secs... ClamAV update process started at Mon Mar 22 15:06:23 2010 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 db.local.clamav.net : Name or service not known WARNING: Can't read main.cvd header from db.local.clamav.net (IP: ) Trying again in 5 secs... ClamAV update process started at Mon Mar 22 15:06:28 2010 WARNING: Can't query current.cvd.clamav.net WARNING: Invalid DNS reply. Falling back to HTTP mode. Reading CVD header (main.cvd): ERROR: Can't get information about db.local.clamav.net : Name or service not known WARNING: Can't read main.cvd header from db.local.clamav.net (IP: ) Giving up on db.local.clamav.net ... ClamAV update process started at Mon Mar 22 15:06:28 2010 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... ClamAV update process started at Mon Mar 22 15:06:33 2010 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... ClamAV update process started at Mon Mar 22 15:06:39 2010 WARNING: Can't query current.cvd.clamav.net WARNING: Invalid DNS reply. Falling back to HTTP mode. Reading CVD header (main.cvd): ERROR: 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: ) 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. [/code] Now when I try to wget [url]http://database.clamav.net/main.cvd[/url], I *am* able to download it. This system has 3 NICs in it. All are static and eth[12] provides a DHCP address, while eth0 is just static. /etc/resolv.conf has chmod 644 and also an apparmor entry, so I don't think it's a permissions issue there. The box does have a rather tight firewall though, are there any ports I need to allow? Everything outgoing is allowed, incoming is locked down somewhat. freshclam version: ClamAV 0.95.3/10607 Distro: Ubuntu 8.04 LTS
Thanks to the guys on #clamav (irc.freenode.net), we established that the config had DOS-style formatting which caused freshclam to go bonkers. Re-saving the file as *nix style solved the problem.
Sorry, you need to Log In to post a reply to this thread.