Jerry Bell said: >> A properly installed new version. Read the archives of this list. > > I've done so, and there are a lot of "what does this mean", and a fair > number of people who have half installed old versions. I don't think that > is the case for me.
Jerry - somewhere in your library path is an earlier version of the clamav library. This is very common. In the bin path of the user that clamav runs as there may even be an old executable. You need to run what ever tools are available to you to locate it/them. In Solaris you can use the ldd command against the binary that is popping up the error. You can expand LD_LIBRARY_PATH (a particularly evil env var) and manually walk that. This needs to be explored as the user your clamav runs as (hence the evil nature of LD_LIBRARY_PATH). Somewhere you are going to find a lib file that is wrong. Early on I built clamav on a dev box and accepted defaults I found bits of it where I did not expect. I don't recall if the Makefile had an uninstall procedure, but from that point on I always manually check with make -n install where the bits are actually going to be placed, and then I manually remove the old parts before an upgrade. Yes - I am a control freak! I can imagine that various rpm builders make decisions ad hoc about placement of components and so things can become messy very quickly. Did I mention that LD_LIBRARY_PATH is evil? Especially so if you provide binaries for others. > > When I start up freshclam, I see this: > freshclam daemon 0.83 (OS: freebsd5.2.1, ARCH: i386, CPU: i386) > ClamAV update process started at Wed Mar 9 10:06:35 2005 > main.cvd is up to date (version: 30, sigs: 31086, f-level: 4, builder: > tkojm) > daily.cvd is up to date (version: 758, sigs: 463, f-level: 4, builder: > trog) > > It shows the right version number. It will do so for a certain time, then > it will start throwing in the "OUTDATED" message when it tries to update > later. > > Here is clamd's start up: > clamd daemon 0.83 (OS: freebsd5.2.1, ARCH: i386, CPU: i386) > Log file size limited to 1048576 bytes. > Running as user clamav (UID 106, GID 106) > Reading databases from /var/db/clamav > Protecting against 31548 viruses. > Unix socket file /var/run/clamav/clamd > Setting connection queue length to 15 > Archive: Archived file size limit set to 10485760 bytes. > Archive: Recursion level limit set to 8. > Archive: Files limit set to 1000. > Archive: Compression ratio limit set to 250. > Archive support enabled. > Archive: RAR support disabled. > Portable Executable support enabled. > Mail files support enabled. > OLE2 support enabled. > HTML support enabled. > Self checking every 1800 seconds. > > It seems clear to me that I've got the right version, but SOMETHING is > telling it that it is 0.81. My real question is what specifically could > be causing that, given that I have attempted to completely uninstall the > old version. > > >> Does it match DatabaseDirectory in {clamd, freshclam}.conf? > web1# grep DatabaseDir /usr/local/etc/clamd.conf > /usr/local/etc/freshclam.conf > /usr/local/etc/clamd.conf:DatabaseDirectory /var/db/clamav > /usr/local/etc/freshclam.conf:DatabaseDirectory /var/db/clamav > I noticed that nothing was defined for TemporaryDirectory in clamd.conf. > I set it to /tmp, but I'm guessing that's not the problem, since it's a > freshclam error, not a clamd error. > > _______________________________________________ > http://lurker.clamav.net/list/clamav-users.html > _______________________________________________ http://lurker.clamav.net/list/clamav-users.html