Hi there I have been attempting to get clamav (clamdscan via clamd to be precise) running on our corporate mail server for several months now, but every time, it runs fine for a few hours and then dies horribly. And I turn it off again :-(
I have tested it just last week with 0.67 with the same failure under RH8. clamd is run as a supervise script via: -- #!/bin/sh rm -f /var/spool/qmailscan/clamd exec /usr/local/bin/softlimit -a 20000000 /usr/local/sbin/clamd > /var/log/clamd.log 2>&1 -- And is called by "clamdscan -r --disable-summary --max-recursion=10 --max-space=1000000 dirname/" The clamd.log file reports this when it goes belly-up: --- Thu Feb 19 12:43:32 2004 -> SelfCheck: Database status OK. Thu Feb 19 12:53:38 2004 -> SelfCheck: Database status OK. Thu Feb 19 12:54:44 2004 -> ERROR: Session(1) did not start. Dropping connection.Thu Feb 19 12:54:44 2004 -> ERROR: Session(1) did not start. Dropping connection.Thu Feb 19 12:54:44 2004 -> ERROR: Session(0) did not start. Dropping connection.Thu Feb 19 12:54:44 2004 -> ERROR: Session(0) did not start. Dropping connection.Thu Feb 19 12:54:44 2004 -> ERROR: Session(0) did not start. Dropping connection.Thu Feb 19 12:54:44 2004 -> ERROR: Session(0) did not start. Dropping connection.Thu Feb 19 12:54:44 2004 -> ERROR: Session(1) did not start. Dropping connection.Thu Feb 19 12:54:44 2004 -> ERROR: Session(1) did not start. Dropping connection.Thu Feb 19 12:54:44 2004 -> ERROR: Session(1) did not start. Dropping connection.Thu Feb 19 13:01:23 2004 -> ERROR: Session(0) did not start. Dropping connection.Thu Feb 19 13:01:23 2004 -> ERROR: Session(0) did not start. Dropping connection.Thu Feb 19 13:01:24 2004 -> ERROR: Session(1) did not start. Dropping connection.Thu Feb 19 13:03:44 2004 -> SelfCheck: Database status OK. Thu Feb 19 13:12:36 2004 -> Session 1 stopped due to timeout. Thu Feb 19 13:13:25 2004 -> Session 0 stopped due to timeout. Thu Feb 19 13:13:50 2004 -> SelfCheck: Database status OK. --- BTW: No EOLs were removed in the making of that cut-n-paste... What happens is that clamd just goes unresponsive. clamdscan connects but never hears back from clamd. As this is a mail server, all sorts of rubbishy SPAM or whatever is flowing through it - maybe some type of that triggers a bug - I don't know. I haven't seen much mention of this via Google, so maybe it isn't known? -- Cheers Jason Haar Information Security Manager, Trimble Navigation Ltd. Phone: +64 3 9635 377 Fax: +64 3 9635 417 PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1 ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
