Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th October 2007, 13:55
klonos klonos is offline
Member
 
Join Date: Apr 2007
Posts: 78
Thanks: 5
Thanked 3 Times in 3 Posts
Question WARNING: Your ClamAV installation is OUTDATED!

Was just checking the logs of some of my ubuntu mail servers, just to see if all is ok and found this warnign. VirusDBs are updated ok, but clamav needs to be upgraded. Apt-get install says version is already the newest.

Can someone provide step-by-step instuctions of the upgarde process to the latest version?? Do I have to first unistall and then re-isntall new version from sources? Any way this can be automated each time a new version comes up?
__________________
You can support Howtoforge and all the people behind it too. Consider becoming a supporter. It only costs a few and has to offer so much more than it already does. Take a look here
Reply With Quote
Sponsored Links
  #2  
Old 8th October 2007, 15:20
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
Default

Did you check the alternate sources for clamav on the clamav page?
Reply With Quote
  #3  
Old 8th October 2007, 16:55
klonos klonos is offline
Member
 
Join Date: Apr 2007
Posts: 78
Thanks: 5
Thanked 3 Times in 3 Posts
Default

Yes I did, and I saw that there are some debian packages, but being a Linux newcomer and all what I am looking for is step-by-step instructions if they are available. If not, I am going to try one or two things myself, but I am not that confident with linux yet and I am afraid I might mess things up.
__________________
You can support Howtoforge and all the people behind it too. Consider becoming a supporter. It only costs a few and has to offer so much more than it already does. Take a look here
Reply With Quote
  #4  
Old 8th October 2007, 17:38
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
Default

Reading http://www.clamav.org/download/packages/packages-linux
points you to a change in the /etc/apt/sources.list file:

Quote:
deb http://volatile.debian.org/debian-volatile etch/volatile main contrib non-free
Reply With Quote
  #5  
Old 9th October 2007, 00:34
klonos klonos is offline
Member
 
Join Date: Apr 2007
Posts: 78
Thanks: 5
Thanked 3 Times in 3 Posts
Default

Yes I did, and I saw that there are some debian packages, but being a Linux newcomer and all what I am looking for is step-by-step instructions if they are available. If not, I am going to try one or two things myself, but I am not that confident with linux yet and I am afraid I might mess things up.
__________________
You can support Howtoforge and all the people behind it too. Consider becoming a supporter. It only costs a few and has to offer so much more than it already does. Take a look here
Reply With Quote
  #6  
Old 9th October 2007, 11:23
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,495
Thanks: 835
Thanked 5,534 Times in 4,352 Posts
Default

The steps to get the latest clamav are:

1) Edit the file /etc/apt/sources.list

and add the following line at the end of the file:

Code:
deb http://volatile.debian.org/debian-volatile etch/volatile main contrib non-free
2) run the following commands:

apt-get update
apt-get -u upgrade
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 9th October 2007, 13:03
klonos klonos is offline
Member
 
Join Date: Apr 2007
Posts: 78
Thanks: 5
Thanked 3 Times in 3 Posts
Default

Thank you both Ben and Till!

I have already tried what you suggest and it did seem to have worked fine. Apt-get update spit the following:

Quote:
root@mail:~# apt-get update
...
Reading package lists... Done
W: GPG error: http://volatile.debian.org etch/volatile Release:
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EC61E0B0BBE55AB3
W: You may want to run apt-get update to correct these problems
root@mail:~#
Then I did
Quote:
apt-get install clamav clamav-base clamav-freshclam clamav-docs
and it all went ok with some warnings that the sources are not signed or something like that, plus some prompts to accept that this is ok by typing [yes] y. But installation went all the way and I saw latest version numbers being installed (clam 0.92.1) and fleshclam service being stopped and started again.

I have logwatch installed (which was how I found out that clamav virus dbs were being apdated but the engine wasn't upgraded in the first place) and it shows still that version 0.88.7 is installed. Re-runing apt-get says all is already the latest version.

From clamav website faq:

Quote:
I upgraded to the latest stable version but I still get the message Your ClamAV installation is OUTDATED, why?

* Make sure there is really only one version of ClamAV installed on your system:

$ whereis freshclam
$ whereis clamscan

* Also make sure that you haven’t got old libraries (libclamav.so*) lying around your filesystem. You can verify it using: $ ldd `which freshclam`
So:

Quote:
root@mail:# whereis freshclam
freshclam: /usr/bin/freshclam /usr/X11R6/bin/freshclam /usr/bin/X11/freshclam /usr/share/man/man1/freshclam.1.gz
root@mail:# whereis clamscan
clamscan: /usr/bin/clamscan /usr/X11R6/bin/clamscan /usr/bin/X11/clamscan /usr/share/man/man1/clamscan.1.gz
root@mail:# ldd `which freshclam`
linux-gate.so.1 => (0xffffe000)
libclamav.so.2 => /usr/lib/libclamav.so.2 (0xb7e76000)
libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0xb7e60000)
libresolv.so.2 => /lib/tls/i686/cmov/libresolv.so.2 (0xb7e4d000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7e39000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7d05000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7cf1000)
libbz2.so.1.0 => /lib/libbz2.so.1.0 (0xb7ce1000)
libgmp.so.3 => /usr/lib/libgmp.so.3 (0xb7c9d000)
/lib/ld-linux.so.2 (0xb7f09000)
What do you people make out of these? Everything in pace or not??

BTW, how can I find the version of clamav running ??? I did some extra work on my own:

Quote:
root@mail:# ps aux|grep clam
clamav 4504 0.0 4.0 62452 41916 ? Ss Sep06 21:18 /usr/sbin/clamd
clamav 8571 0.0 0.1 3008 1328 ? Ss 00:54 0:00 /usr/bin/freshclam -d --quiet
root 13963 0.0 0.0 2800 764 pts/0 S+ 12:47 0:00 grep clam
plus /etc/clamav/clamav.log shows normal activity. Googling around I came across some post that said I'll have to manually change the version number in a file in some rare cases after upgrading. Unfortunatelly I cannot remember where this post was or the filename... just helping you people in helping me.
__________________
You can support Howtoforge and all the people behind it too. Consider becoming a supporter. It only costs a few and has to offer so much more than it already does. Take a look here
Reply With Quote
  #8  
Old 10th October 2007, 15:20
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

You can try
Code:
/usr/sbin/clamd -v
or
Code:
/usr/sbin/clamd -V
to find out the ClamAV version.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 10th October 2007, 21:28
klonos klonos is offline
Member
 
Join Date: Apr 2007
Posts: 78
Thanks: 5
Thanked 3 Times in 3 Posts
Default

That's exactly my point falco, fleshclam.log stopped complaining about an outdated version after what to me seemed like a succesful upgrade to 0.91.2. But, when I do:

Code:
calmd -V
I get:

Code:
CalmAV 0.88.7
What do you make out of this??
__________________
You can support Howtoforge and all the people behind it too. Consider becoming a supporter. It only costs a few and has to offer so much more than it already does. Take a look here
Reply With Quote
  #10  
Old 11th October 2007, 18:40
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
 
Default

What's the output of
Code:
updatedb
locate clamd
? Maybe you have two ClamAV versions installed at the same time.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

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
postfix problems with smtp linkdeb Server Operation 13 15th March 2014 18:58
Installation Troubles bswinnerton Installation/Configuration 4 29th July 2007 17:56
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 14:29
Ethereal Trouble mcrosby Installation/Configuration 8 25th June 2006 04:50
Installation Big issue OpenVZ VPS jbond007 Installation/Configuration 3 7th March 2006 20:40


All times are GMT +2. The time now is 10:20.


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