LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   CLAMAV Update - Fails Ubuntu 9.04 (https://www.linuxquestions.org/questions/linux-newbie-8/clamav-update-fails-ubuntu-9-04-a-718201/)

Paul Langdon 04-10-2009 08:50 AM

CLAMAV Update - Fails Ubuntu 9.04
 
Hello,
I have succeeded in setting up Ubuntu 9.04(64) onto my new PC. The process has gone well and is in marked contrast to the last time I tried Linux (few years back).
System details: ASUS P5Q PRO Mother Board (Gb LAN 8-ch HD Audio Crossfire)
Intel® Core™2 Quad Q8200 Quad Core 4x2.33GH CPU,Western Digital Black Caviar 500GB SATA Hard Drive.WD5001AALS.

The issue I have is that I have been having difficulty updating the ClamAV database and not suere I have succeeded. I have tried through the GUI route and I get 'Update failed'.
I have then gone the route of using the terminal with the command and results below:

psas@psas-desktop:~$ sudo freshclam
ClamAV update process started at Fri Apr 10 14:28:16 2009
WARNING: Can't query current.cvd.clamav.net
WARNING: Invalid DNS reply. Falling back to HTTP mode.
Reading CVD header (main.cvd): Ignoring mirror 193.1.193.64 (due to previous errors)
Ignoring mirror 217.135.32.99 (due to previous errors)
WARNING: Unknown response from remote server
WARNING: Can't read main.cvd header from db.local.clamav.net (IP: 80.82.245.8)
Trying again in 5 secs...
ClamAV update process started at Fri Apr 10 14:29:01 2009
WARNING: Can't query current.cvd.clamav.net
WARNING: Invalid DNS reply. Falling back to HTTP mode.
Reading CVD header (main.cvd): Ignoring mirror 193.1.193.64 (due to previous errors)
Ignoring mirror 217.135.32.99 (due to previous errors)
WARNING: Unknown response from remote server
WARNING: Can't read main.cvd header from db.local.clamav.net (IP: 80.82.245.8)
Trying again in 5 secs...
ClamAV update process started at Fri Apr 10 14:29:46 2009
WARNING: Can't query current.cvd.clamav.net
WARNING: Invalid DNS reply. Falling back to HTTP mode.
Reading CVD header (main.cvd): Ignoring mirror 193.1.193.64 (due to previous errors)
Ignoring mirror 217.135.32.99 (due to previous errors)
WARNING: Unknown response from remote server
WARNING: Can't read main.cvd header from db.local.clamav.net (IP: 80.82.245.8)
Trying again in 5 secs...
ClamAV update process started at Fri Apr 10 14:30:32 2009
WARNING: Can't query current.cvd.clamav.net
WARNING: Invalid DNS reply. Falling back to HTTP mode.
Reading CVD header (main.cvd): Ignoring mirror 193.1.193.64 (due to previous errors)
Ignoring mirror 217.135.32.99 (due to previous errors)
WARNING: Unknown response from remote server
WARNING: Can't read main.cvd header from db.local.clamav.net (IP: 80.82.245.8)
Trying again in 5 secs...
ClamAV update process started at Fri Apr 10 14:31:17 2009
WARNING: Can't query current.cvd.clamav.net
WARNING: Invalid DNS reply. Falling back to HTTP mode.
Reading CVD header (main.cvd): Ignoring mirror 217.135.32.99 (due to previous errors)
Ignoring mirror 193.1.193.64 (due to previous errors)
Trying host db.local.clamav.net (80.82.245.8)...
ERROR: Unknown response from remote server
WARNING: Can't read main.cvd header from db.local.clamav.net (IP: 80.82.245.8)
Giving up on db.local.clamav.net...
ClamAV update process started at Fri Apr 10 14:31:57 2009
WARNING: Can't query current.cvd.clamav.net
WARNING: Invalid DNS reply. Falling back to HTTP mode.
Reading CVD header (main.cvd): Ignoring mirror 193.1.193.64 (due to previous errors)
Ignoring mirror 217.135.32.99 (due to previous errors)
WARNING: Unknown response from remote server
WARNING: Can't read main.cvd header from database.clamav.net (IP: 80.82.245.8)
Trying again in 5 secs...
ClamAV update process started at Fri Apr 10 14:32:42 2009
WARNING: Can't query current.cvd.clamav.net
WARNING: Invalid DNS reply. Falling back to HTTP mode.
Reading CVD header (main.cvd): Ignoring mirror 193.1.193.64 (due to previous errors)
Ignoring mirror 217.135.32.99 (due to previous errors)
WARNING: Unknown response from remote server
WARNING: Can't read main.cvd header from database.clamav.net (IP: 80.82.245.8)
Trying again in 5 secs...
ClamAV update process started at Fri Apr 10 14:33:28 2009
WARNING: Can't query current.cvd.clamav.net
WARNING: Invalid DNS reply. Falling back to HTTP mode.
Reading CVD header (main.cvd): Ignoring mirror 193.1.193.64 (due to previous errors)
Ignoring mirror 217.135.32.99 (due to previous errors)
WARNING: Unknown response from remote server
WARNING: Can't read main.cvd header from database.clamav.net (IP: 80.82.245.8)
Trying again in 5 secs...
ClamAV update process started at Fri Apr 10 14:34:14 2009
WARNING: Can't query current.cvd.clamav.net
WARNING: Invalid DNS reply. Falling back to HTTP mode.
Reading CVD header (main.cvd): Ignoring mirror 193.1.193.64 (due to previous errors)
Ignoring mirror 217.135.32.99 (due to previous errors)
WARNING: Unknown response from remote server
WARNING: Can't read main.cvd header from database.clamav.net (IP: 80.82.245.8)
Trying again in 5 secs...
ClamAV update process started at Fri Apr 10 14:34:59 2009
WARNING: Can't query current.cvd.clamav.net
WARNING: Invalid DNS reply. Falling back to HTTP mode.
Reading CVD header (main.cvd): Ignoring mirror 193.1.193.64 (due to previous errors)
OK (IMS)
main.cvd is up to date (version: 50, sigs: 500667, f-level: 38, builder: sven)
Reading CVD header (daily.cvd): OK
Downloading daily-9221.cdiff [100%]
daily.cld updated (version: 9221, sigs: 38665, f-level: 42, builder: edwin)
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Current functionality level = 41, recommended = 42
DON'T PANIC! Read http://www.clamav.net/support/faq
Database updated (539332 signatures) from database.clamav.net (IP: 130.59.10.36)
WARNING: Ignoring deprecated option ArchiveLimitMemoryUsage at line 12
WARNING: Clamd was NOT notified: Can't connect to clamd through /var/run/clamav/clamd.ctl
connect(): No such file or directory
psas@psas-desktop:~$


It LOOKS like I have succeeded. not sure what these last warnings are telling me:

WARNING: Your ClamAV installation is OUTDATED!
WARNING: Current functionality level = 41, recommended = 42
DON'T PANIC! Read http://www.clamav.net/support/faq
Database updated (539332 signatures) from database.clamav.net (IP: 130.59.10.36)
WARNING: Ignoring deprecated option ArchiveLimitMemoryUsage at line 12
WARNING: Clamd was NOT notified: Can't connect to clamd through /var/run/clamav/clamd.ctl
connect(): No such file or directory
psas@psas-desktop:~$


Can anyone assure me that I have updated. And any explanation on these warnings and how much I need to worry much appreciated. And finally anything I can do to improve things........

Kind Regards,
Paul

Paul Langdon 04-10-2009 09:23 AM

OK apologies.Having succeeded in connecting to ClamTK link the issue is known and the answer is below. In case anyone needs it.
======================================================================
Are you using Ubuntu? You probably noticed you can no longer manually update signatures as an end user. This is because of apparmor. A bug report has already been filed and it will be fixed soon. In the meanwhile, you can either use the system-wide antivirus signatures, or temporarily disable apparmor:

sudo /etc/init.d/apparmor stop

(update your signatures manually)

sudo /etc/init.d/apparmor start

Ubuntu (8.10) has version 3.11 and not the new 4.x series. Try the 4.x series *.deb file - it was built on Debian but works on Ubuntu as well.
======================================================================
Kind Regards,
Paul


All times are GMT -5. The time now is 01:17 AM.