Hans wrote:

> Hi guys,

> I'm getting this in my logs:

> /usr/sbin/amavisd-new[8729]: (08729-03) ask_av (ClamAV-clamd) FAILED -
> unexpected
> result: /var/lib/amavis/tmp/amavis-20060802T131822-08729/parts: lstat()
> failed. ERROR\n

> I have commented out the relevant section in primary scanners, but it
> still runs for some reason.

> So I have two problems:

> 1.  It doesn't work

> 2.  It tries to run, even though I explicitely disabled it.

Maybe you disabled the secondary scanner?

> I'm running 2.3.2-2 from experimental on Debian Sarge.  I'm running the
> same version on the same OS on other identical boxes, with identical
> setups, without any issues.

> Any ideas?
> Thanks.
> Hans

While testing clamd with a TCPSocket, I received this same error when
the clamav user did not have proper permissions.

http://marc.theaimsgroup.com/?l=amavis-user&m=115410542226428&w=2

So, unless you are running clamd as your amavisd-new user, add the clamav
user to the same group the amavisd-new user belongs to and set
AllowSupplementaryGroups in clamd.conf.

Gary V


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to