Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 19th May 2010, 14:58
vmos vmos is offline
Member
 
Join Date: Nov 2008
Posts: 57
Thanks: 1
Thanked 0 Times in 0 Posts
Default is my clamAV up to date or not?

A few weeks ago we got caught out by the clamav shenannigans (they released an update that broke old versions of clamAV) we patched it at the time but the only way to get it updating again was to do a distro upgrade.

so I upgraded the server from debian sarge to debian etch and then to lenny.
The process mostly went smoothly but the amavis config got mangled and because amavis didn't upgrade, neither would clam.

so I ripped it out and started again but I'm not sure if my clam is now updating. Here's what I get in my freshclam logs

Quote:
Received signal: wake up
ClamAV update process started at Wed May 19 12:11:48 2010
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.94.2 Recommended version: 0.96
DON'T PANIC! Read http://www.clamav.net/support/faq
main.cld is up to date (version: 52, sigs: 704727, f-level: 44, builder: sven)
daily.cld is up to date (version: 11043, sigs: 70858, f-level: 51, builder: ccordes)
To me this says that clamAV is running an old version but the definition files are up to date. However, this is what I get when I do clamscan -V

Quote:
ClamAV 0.96/10677/Wed Mar 31 16:16:29 2010
To me that says that clamAV is running the latest version but with an old definition file.

What's that about? Can anybody clarify this?
Reply With Quote
Sponsored Links
  #2  
Old 19th May 2010, 17:51
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
Default

you mostlikely have updated "clamav-base", but not "clamav-daemon"

you should have these packages up to date:
clamav
clamav-base
clamav-daemon
clamav-freshclam
libclamav6
Reply With Quote
  #3  
Old 19th May 2010, 18:14
vmos vmos is offline
Member
 
Join Date: Nov 2008
Posts: 57
Thanks: 1
Thanked 0 Times in 0 Posts
Default

oh, this confused me because I did have the latest versions but when i tried to install libclamav6 it wouldn't let me because the package didn't exist.
After a bit of head scratching I added this to /etc/apt/sources.list

deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free

ran apt-get update and bam, newer versions of everything plus libclamav6

I now get this in my freshclam logs

Quote:
freshclam daemon 0.96 (OS: linux-gnu, ARCH: i386, CPU: i486)
ClamAV update process started at Wed May 19 16:10:56 2010
main.cld is up to date (version: 52, sigs: 704727, f-level: 44, builder: sven)
daily.cld is up to date (version: 11044, sigs: 70859, f-level: 51, builder: edwin)
Trying host db.local.clamav.net (64.142.100.50)...
Downloading bytecode.cvd [100%]
bytecode.cvd updated (version: 20, sigs: 3, f-level: 51, builder: nervous)
Database updated (775589 signatures) from db.local.clamav.net (IP: 64.142.100.50)
However I still get this when I run clamscan -V

ClamAV 0.96/10677/Wed Mar 31 16:16:29 2010

But I'm tempted to ignore that. What do you reckon?
Reply With Quote
  #4  
Old 20th May 2010, 09:36
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
Default

They rolled out the new clamav (0.96) on the repositories, so i don't see the problem here, everything is updated to 0.96, and that's good ..

AND you don't get the error in freshclam.log anymore .. so what's the problem?
Reply With Quote
  #5  
Old 20th May 2010, 13:26
vmos vmos is offline
Member
 
Join Date: Nov 2008
Posts: 57
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Problem? I still can't play the piano, can you help with that as well?
Reply With Quote
  #6  
Old 20th May 2010, 13:28
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
Default

1. http://www.gopiano.com/

2. you said "But I'm tempted to ignore that. What do you reckon?" .. i reckon nothing
Reply With Quote
  #7  
Old 20th May 2010, 21:37
austingecko austingecko is offline
Junior Member
 
Join Date: May 2010
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Cannot update CLAMAV

Getting a warning when running freshclam as follows:

WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.96 Recommended version: 0.96.1
DON'T PANIC! Read http://www.clamav.net/support/faq

Running ubuntu 10.04 and can't seem to update it with apt-get. When I go to the faq link above I get lost and confused. Can anyone shed some light on how to get this resolved? TIA!
Reply With Quote
  #8  
Old 21st May 2010, 09:34
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
Default

You can ignore that message (it's just a warning, not an error )

It's because the ubuntu repositories don't have the latest version (yet)
Reply With Quote
  #9  
Old 24th May 2010, 21:53
BorderAmigos BorderAmigos is offline
Senior Member
 
Join Date: Apr 2008
Location: San Diego & Tijuana
Posts: 302
Thanks: 26
Thanked 33 Times in 31 Posts
Send a message via MSN to BorderAmigos Send a message via Yahoo to BorderAmigos
Default

You can install the latest version from source (http://www.clamav.net/lang/en/download/sources/) if the message really bothers you. Uninstall the previous version first.

Note: When I installed from source the executables were put in a different place (/usr/local/bin) than the previous version (/usr/bin). Solved by adding a symlink from old to new.
__________________
System6Hosting.com, ISPConfig 3, Debian.
Reply With Quote
  #10  
Old 25th May 2010, 00:08
punk0mi punk0mi is offline
Junior Member
 
Join Date: Jun 2006
Posts: 17
Thanks: 0
Thanked 2 Times in 2 Posts
 
Default

I have to be honest...I've never had good success (meaning, never been left with a cleanly, perfectly working system) using any package manager to update a package like amavis or clam.

On server environments, that is one thing I will always build from sources and customize. I do lose some of the "automatic" feature of a package manager, but at least i know how exactly how it was put in and exactly how to take it out.

But this is just me.

Lastly, you could have two versions of the clam engine running 0.94 and 0.96. Except that 0.94 is the one being utilized by the system. I strongly suggest you totally remove all traces of clam and reinstall.

P.S. - I think a very large amount of people got stung by that little trick the devs at clam did. I know I did.
Reply With Quote
Reply

Bookmarks

Tags
clamav debian lenny

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
squirrelmail and postfix witoszek General 12 1st December 2009 19:07
Email: Login Error furiano Installation/Configuration 6 28th January 2009 03:39
debian etch courier pop3 issue docean Installation/Configuration 6 20th March 2008 16:38
Clamav starting error scherpenzeel Installation/Configuration 3 19th May 2006 15:01
ClamAV for postfix-courier-mysql (Debian - Sarge) toastmaster HOWTO-Related Questions 2 24th February 2006 20:00


All times are GMT +2. The time now is 13:38.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.