On Thu, 2 Sep 2010 17:12:11 +0200
bsd <[email protected]> wrote:

> Hello, 
> 
> I am trying to have clamd working (socket connect) through amavisd 
> And It looks like something weired is going on… 
> 
> System : FBSD 7.1-RELEASE-p13
> Clamd : ClamAV 0.96.2/11780/Thu Sep  2 10:41:04 2010
> Amavisd : amavisd-new-2.6.4_7,1
> 
> 
> From what I can tell : 
> 
> • Daemon clamd starts without problem 
> • Daemon can not be stopped normally
> (/usr/local/etc/rc.d/clamav-clamd stop • Daemon has to be killed -9
> to be stopped • Amavisd issues a timeout while trying to connect to
> socket 
> 
> 
> Sep  2 16:03:15 mail amavis[85261]: Using primary internal av scanner
> code for ClamAV-clamd Sep  2 16:03:15 mail amavis[85261]: Found
> secondary av scanner ClamAV-clamscan at /usr/local/bin/clamscan Sep
> 2 16:08:53 mail amavis-sasl[85262]: (85262-01) (!)ClamAV-clamd: timed
> out, retrying (2) Sep  2 16:09:09 mail amavis-sasl[85262]: (85262-01)
> (!)ClamAV-clamd av-scanner FAILED: run_av error: ask_daemon_internal:
> Exceeded allowed time at (eval 118) line 372.\n
> 
> 
> I have been trying everything possible with no luck !! 
> 
> 
> Any clue ? 

This looks like:
https://wwws.clamav.net/bugzilla/show_bug.cgi?id=2235

Apparently this only occurs on FreeBSD 7.1, and not 7.3 or newer.
Can you run clamscan --debug as instructed in that bugreport and paste
the output?

Best regards,
--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to