Nobody??? 

It seems that the cpool_get_rand function is returning NULL ( cp->alive == 0 ) 
to nc_connect_rand, which is returning 1 to clamfi_header, which is returning a 
tempfail.

Can anyone tell me why? I've tried moving the socket range for clamd from 
1024->2048 to 30000->3200 with no effect. I've also moved the clamd tempdir to 
one that's not mounted noexec just to be sure.

Any ideas would be gratefully received!

Steve

On Thu, 12 Feb 2009 10:36:24 +1300
Steve Holdoway <st...@greengecko.co.nz> wrote:

> I'm running clamav to clean up my mail sstream, integrating with sendmail 
> using clamav milter. For some reason ( probably the memory limitations of a 
> VPS ), the current 0.94.2 keeps crashing.
> 
> So I'm trying t get the latest subversion stuff up and running.
> 
> clamd starts up no problem: here's an example startup log.
> 
> Thu Feb 12 10:28:21 2009 -> +++ Started at Thu Feb 12 10:28:21 2009
> Thu Feb 12 10:28:21 2009 -> clamd daemon devel-r4741M (OS: linux-gnu, ARCH: 
> i386, CPU: i686)
> Thu Feb 12 10:28:21 2009 -> Running as user clamav (UID 1000, GID 108)
> Thu Feb 12 10:28:21 2009 -> Log file size limited to 1048576 bytes.
> Thu Feb 12 10:28:21 2009 -> Reading databases from /var/lib/clamav
> Thu Feb 12 10:28:21 2009 -> Not loading PUA signatures.
> Thu Feb 12 10:28:22 2009 -> Loaded 513186 signatures.
> Thu Feb 12 10:28:22 2009 -> LOCAL: Unix socket file /var/run/clamav/clamd.sock
> Thu Feb 12 10:28:22 2009 -> LOCAL: Setting connection queue length to 15
> Thu Feb 12 10:28:22 2009 -> Limits: Global size limit set to 104857600 bytes.
> Thu Feb 12 10:28:22 2009 -> Limits: File size limit set to 26214400 bytes.
> Thu Feb 12 10:28:22 2009 -> Limits: Recursion level limit set to 16.
> Thu Feb 12 10:28:22 2009 -> Limits: Files limit set to 10000.
> Thu Feb 12 10:28:22 2009 -> Archive support enabled.
> Thu Feb 12 10:28:22 2009 -> Algorithmic detection enabled.
> Thu Feb 12 10:28:22 2009 -> Portable Executable support enabled.
> Thu Feb 12 10:28:22 2009 -> ELF support enabled.
> Thu Feb 12 10:28:22 2009 -> Mail files support enabled.
> Thu Feb 12 10:28:22 2009 -> OLE2 support enabled.
> Thu Feb 12 10:28:22 2009 -> PDF support enabled.
> Thu Feb 12 10:28:22 2009 -> HTML support enabled.
> Thu Feb 12 10:28:22 2009 -> Self checking every 600 seconds.
> Thu Feb 12 10:28:22 2009 -> Listening daemon: PID: 17565
> 
> So does clamav-milter:Thu Feb 12 10:28:24 2009 -> Local socket 
> unix:/var/run/clamav/clamd.sock added to the pool (slot 1)
> 
> looks great. However, when I send mysqlf a test mail, this is what I see in 
> the clamav-milter log
> Thu Feb 12 10:28:51 2009 -> ERROR: Failed to initiate streaming/fdpassing
> 
> and mail.info
> Feb 12 10:33:14 vps163 clamd[17608]: Failed to initiate streaming/fdpassing 
> Feb 12 10:33:14 vps163 sendmail[28447]: n1BLX6YU028447: Milter: data, 
> reject=451 4.3.2 Please try again later
> Feb 12 10:33:14 vps163 sendmail[28447]: n1BLX6YU028447: 
> to=<st...@greengecko.co.nz>, delay=00:00:00, pri=31113, stat=Please try again 
> later
> 
> ( I think it's actually clamav-milter identifying itself as clamd, judging by 
> the PID ).
> 
> 
> It's a 32 bit debian machine. If you've got any suggestions/requests for 
> further info, please don't hesitate to ask!
> 
> Cheers,
> 
> 
> Steve
> 
> 
> -- 
> Steve Holdoway <st...@greengecko.co.nz>
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://www.clamav.net/support/ml


-- 
Steve Holdoway <st...@greengecko.co.nz>
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to