On Thursday 27 Oct 2005 16:17, Dave Filchak wrote:
> Hi,
>
> Just want to verify that this is the correct way to do this: (Yes I know
> this has been discussed before but I can't find the exact info in the
> archives so was hoping someone would take pity on me;-)
>
> I seem to have an old install of ClamAV somewhere because I have
> installed the latest version but I am still receiving a warning from
> LogWatch in my morning email. It is:
>
>    WARNING: Local version: 0.86.2 Recommended version: 0.87: 2 Time(s)
>    WARNING: Your ClamAV installation is OUTDATED!: 4 Time(s)
>    DON'T PANIC! Read http://www.clamav.net/faq.html: 4 Time(s)
>    WARNING: Current functionality level = 5, recommended = 6: 2 Time(s)
>
> I have run the command locate clamav and have come up with the following:
>
> /usr/local/bin/clamav-config
> /usr/local/etc/clamav.conf
> /usr/local/etc/clamav.conf.101704
> /usr/local/include/clamav.h
> /usr/local/lib/libclamav.so.1.0.4
> /usr/local/lib/libclamav.so.1
> /usr/local/lib/libclamav.so
> /usr/local/lib/libclamav.la
> /usr/local/lib/libclamav.a
> /usr/local/lib/pkgconfig/libclamav.pc
> /usr/local/lib/libclamav.so.1.0.8
> /usr/local/lib/libclamav.so.1.0.12
> /usr/local/lib/libclamav.so.1.0.16
> /usr/local/share/clamav
> /usr/local/share/clamav/main.cvd
> /usr/local/share/clamav/daily.cvd
> /usr/local/share/clamav/clamav-adab5a7718754b5e
> /usr/local/share/clamav/clamav-e0c80242c1c5f276
> /usr/local/share/clamav/clamav-3a11f4732d664a86
> /usr/local/share/clamav/clamav-515588a02c94d8dc
> /usr/local/share/clamav/clamav-ccb9d4e36ec6a807
> /usr/local/share/clamav/clamav-c09bb90eb4c15d89
> /usr/local/share/clamav/clamav-27c109e8578c2b63
> /usr/local/man/man5/clamav.conf.5
> /usr/local/man/man8/clamav-milter.8
> /etc/log.d/conf/services/clamav-milter.conf
> /etc/log.d/conf/services/clamav.conf
> /etc/log.d/scripts/services/clamav-milter
> /etc/log.d/scripts/services/clamav
>
> I want to clean out any of the old stuff and re-install the latest version
> so I know what I have and get rid of the error. Should I just delete
> anything from /usr/local/lib to do with clamav? Any other suggestions?

This looks like a stock compile to me, backup the stuff in /usr/local/etc, 
unpack the tarball in /usr/local/src, cd into the clamav source tree, run
./configure
make
stop clamav and freshclam
make install
start clamav and freshclam

Check your logs for any problems. Shovel EICAR through it.
stuff gets installed in /usr/local/bin etc include share man lib, so check the 
datestamps to see what got upgraded, which should be everything except 
the .conf file in etc and the old .so files in lib. There should be a symlink 
to the latest .so, I just leave the old ones there.

You will probably find that you are still running on the old config files, so 
compare them with the new ones, there are some new config items in 0.87 
freshclam.conf

cd /usr/local
diff -u etc/clamav.conf src/clamav-0.87/etc/clamav.conf
diff -u etc/freshclam.conf src/clamav-0.87/etc/freshclam.conf

Then when you have the install sussed, script it so that next time you only 
need to change the version number in the script, upload the new tarball, run 
the script and your upgrade is done, 5 minutes max. 

HTH
-- 
-----------------
Bob Hutchinson
Midwales dot com
-----------------
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to