amavis-user September 2010 archive
Main Archive Page > Month Archives  > amavis-user archives
amavis-user: Re: [AMaViS-user] Amavis-new unable to connect to C

Re: [AMaViS-user] Amavis-new unable to connect to ClamAV.

From: Oliver Schinagl <oliver_at_nospam>
Date: Tue Sep 14 2010 - 13:58:24 GMT
To: amavis-user@lists.sourceforge.net

 On 09/14/10 15:38, Michael Scheidell wrote:
> 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:
7of9 # clamdscan -V
ERROR: Can't connect to clamd: Connection refused
ClamAV 0.96.1

After that, the rest fails obviously too.

Initially, I started at the clamav mailing list. The reason was because
freshclam failed to access the daemon aswell.

WARNING: Clamd was NOT notified: Can't connect to clamd through
/var/run/clamav/clamd.sock

is in my freshclam logs, so any chance you know what's causing this, or
shall I try the clamav list (again)?

Thanks,

Oliver

------------------------------------------------------------------------------
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
AMaViS-user@lists.sourceforge.net
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