clamav-users August 2009 archive
Main Archive Page > Month Archives  > clamav-users archives
clamav-users: Re: [Clamav-users] Freshclam error

Re: [Clamav-users] Freshclam error

From: Török Edwin <edwintorok_at_nospam>
Date: Tue Aug 25 2009 - 08:27:20 GMT
To: ClamAV users ML <clamav-users@lists.clamav.net>


On 2009-08-24 22:24, Scott Mohnkern wrote:
> root@zambezi:/var/clamav# freshclam -u clamav
> ClamAV update process started at Mon Aug 24 15:23:23 2009
> WARNING: Your ClamAV installation is OUTDATED!
> WARNING: Local version: 0.94.2 Recommended version: 0.95.2
> DON'T PANIC! Read http://www.clamav.net/support/faq
> ERROR: getfile: Can't create new file
> /var/clamav/clamav-d87ce240d56bd3e14a8c61c10aecc45e in /var/clamav
> Hint: The database directory must be writable for UID 441 or GID 204
> WARNING: Can't download main.cvd from db.us.clamav.net
>
> This isn't a box I built, is there a way to check to see if selinux is
> running on it? (That would have this effect).
>
> I'm really only familiar with selinux on RHEL5 boxes.
>
>

Look in dmesg: dmesg | grep -i selinux

Also try running:
strace freshclam 2>log

And look in dmesg for any avc messages.

If you have SELinux try:
ls -lZd /var/clamav
ls -lZ `which freshclam`

Best regards,
--Edwin



Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml