I have clamav-daemon running as my my virus scanner on Ubuntu Warty 4.10
(clamav isn't Ubuntu supported software however, it's in their universe
repository).

I'm finding this kind of message in my mail logs:

amavis[29638]: (29638-10) Clam Antivirus-clamd FAILED - unknown status: 
/var/lib/amavis/amavis-amavis-20050119T223637-29880/parts: Can't access the 
file ERROR\n
amavis[29638]: (29638-10) WARN: all primary virus scanners failed, considering 
backups

Now Google very happily tells me that this happens when the clamav user
isn't in the amavis group because of this:

# ls -ld /var/lib/amavis/amavis-20050119T223637-29880/
drwxr-x---  3 amavis amavis 4096 Jan 19 22:36 
/var/lib/amavis/amavis-20050119T223637-29880/
# ls -ld /var/lib/amavis/amavis-20050119T223637-29880/parts/
drwxr-x---  2 amavis amavis 4096 Jan 19 22:36 
/var/lib/amavis/amavis-20050119T223637-29880/parts/

Which is all well and good, except that the clamav user IS in the amavis
group:
# id clamav
uid=104(clamav) gid=104(clamav) groups=104(clamav),105(amavis)

(And I've restarted both amavis and clamav, oh, five or six times just
to be sure that the clamav-daemon process is running with the right
permissions.)

Does anyone know what else I need to do to solve this problem? Should
those directories be group writable? Can I make them group writable?
There's a few new viruses out and about as always, and thus it's a bad
day to have the virus checker down.

-Mary
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to