hi i had the same problem on the same rig ... try to recompile the clamav without Enable JIT Bytecode compiler enabled, that solved mine problem.
t bsd-8 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 > > >>From what I can tell nothing differs on this server than on couple of other server I have… > Only difference is that this server is using an SQL lookup as such : > > @lookup_sql_dsn = > ( ['DBI:Pg:host=ns1.X.y.z;dbname=regitao;port=5432','amavis','not_4_u'] > ); > > $sql_select_policy = 'SELECT *,users.id FROM users,policy'. > ' WHERE (users.policy_id=policy.id) AND (users.email IN (%k))'. > ' ORDER BY users.priority DESC'; > > $sql_select_white_black_list = 'SELECT wb FROM wblist,mailaddr'. > ' WHERE (wblist.rid=?) AND (wblist.sid=mailaddr.id)'. > ' AND (mailaddr.email IN (%k))'. > ' ORDER BY mailaddr.priority DESC'; > > > > > Any clue ? > > ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ > Gregober ---> PGP ID --> 0x1BA3C2FD > bsd @at@ todoo.biz > ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ > > > > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > 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 > > -- View this message in context: http://old.nabble.com/Virus-filter-not-working-%28clamd%29-tp29606089p29611993.html Sent from the Amavis mailing list archive at Nabble.com. ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ 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