On 9/14/10 8:07 AM, Oliver Schinagl wrote:
> Hello all,
>
> I'm running amavisd-new-2.6.3-r2 with clamav-0.96.1 on a 64bit hardened
> Gentoo Base System release 1.12.13 (without SELinux) and going through
> postfix-2.6.6.
>
> Amavisd-new however is unable to connect to clamav's socket, according
> to the logs.
>
> Sep 14 13:03:30 7of9 amavis[16718]: (16718-07) (!!)ClamAV-clamd
> av-scanner FAILED: run_av error: Too many retries to talk to
> /var/run/clamav/clamd.sock (Can't connect to UNIX socket
> /var/run/clamav/clamd.sock: Connection refused) at (eval 99) line 326.\n
> Sep 14 13:03:30 7of9 amavis[16718]: (16718-07) (!!)WARN: all primary
> virus scanners failed, considering backups
try generic access:
clamdscan -V
if that works, check scanner:
cd to /tmp
make a file there (any file) that is world readable.
clamdscan {that file name}
if that doesn't work, go back to clamav group.
if it does:
now, check perms:
cd to amavisd home/tmp dir.
hopefully, there is something left there.
clamdscan {that dir}
if you can't scan it, its permissions.
--
Michael Scheidell, CTO
o: 561-999-5000
d: 561-948-2259
ISN: 1259*1300
> *| *SECNAP Network Security Corporation
* Certified SNORT Integrator
* 2008-9 Hot Company Award Winner, World Executive Alliance
* Five-Star Partner Program 2009, VARBusiness
* Best in Email Security,2010: Network Products Guide
* King of Spam Filters, SC Magazine 2008
______________________________________________________________________
This email has been scanned and certified safe by SpammerTrap(r).
For Information please see http://www.secnap.com/products/spammertrap/
______________________________________________________________________
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
Please visit http://www.ijs.si/software/amavisd/ regularly
For administrativa requests please send email to rainer at openantivirus dot
org