LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-10-2009, 08:50 AM   #1
Paul Langdon
LQ Newbie
 
Registered: Mar 2009
Posts: 16

Rep: Reputation: 0
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
 
Old 04-10-2009, 09:23 AM   #2
Paul Langdon
LQ Newbie
 
Registered: Mar 2009
Posts: 16

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
update manager fails in Ubuntu 8.10 kirkb Linux - Newbie 0 04-02-2009 01:08 PM
Unable to upgrade to ubuntu 7.10, update manager fails to update.... jonbvgood Linux - Software 2 02-05-2008 03:58 PM
How can I update ClamAV? clpl1980 Fedora 2 03-27-2007 07:01 AM
cannot update clamAV izquierdista Linux - Security 3 06-10-2005 08:34 AM
ClamAV wont update m3kgt Linux - Software 3 07-19-2004 02:15 PM


All times are GMT -5. The time now is 06:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration