I'm having two pretty persistent problems with clamav.  The first is that
clamav is complaining about my version being out of date:

WARNING: Your ClamAV installation is OUTDATED - please update immediately!
WARNING: Your ClamAV installation is OUTDATED - please update immediately!
WARNING: Local version: 0.81 Recommended version: 0.83
WARNING: Local version: 0.81 Recommended version: 0.83
ERROR: Can't create new file ./clamav-3bb052c033f23bcf in
ERROR: The database directory must be writable for UID 106 or GID 106
ERROR: Can't download main.cvd from db.us.clamav.net (IP: 216.24.174.245)

I am using FreeBSD and compiling this out of the ports collection.  I have
completely removed clamav, all of its files, configs, databases, etc, etc.
 Remake and reinstall the package, and for a time, it looks okay.  I can
verify that I am in fact running the right version with:
web1# clamd -V
ClamAV 0.83/758/Wed Mar  9 07:03:56 2005

So, I fancy myself as a pretty smary guy and try to get to the bottom of
the problem.  I find that the version number that is compared against is a
constant defined the the source.  I verify that, in fact, that constant is
0.83.  I grep the whole source for 0.81 and find nothing.  I grep strings
out of the binaries and libraries and find no trace of 0.81.
But still it keeps happening! What am I missing?

The second problem is a persistent directory permission error:
ERROR: Can't create new file ./clamav-3bb052c033f23bcf in
ERROR: The database directory must be writable for UID 106 or GID 106
ERROR: Can't download main.cvd from db.us.clamav.net (IP: 216.24.174.245)

The database directory is /var/db/clamav.  The permissions as as such:
drwxrwxr-x    2 clamav    clamav         512 Mar  9 09:01 clamav
where the user and group clamav are uid/gid 106/106.
It looks like the temporary file is trying to be written to somewhere
other than the database directory, or there is something else going on.
Now, the database files don't look that out of date:
-rw-r--r--  1 clamav  clamav    62452 Mar  9 09:00 daily.cvd
-rw-r--r--  1 clamav  clamav  1784802 Mar  7 21:00 main.cvd
Any ideas what is happening here?

Thanks much for the help!

Jerry
http://www.syslog.org

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to