Hello,
I get the following error a few times a day for a while, so I thought I
would look into it.
I am using mimedefang to send mail to clamd and it works fine, but at
random point of the day I get the error:
mimedefang.pl[26234]: xAD8PbeZ009878: Timeout reading from clamd daemon
at /var/spool/MIMEDefang/clamd.sock
mimedefang.pl[26234]: xAD8PbeZ009878: Problem running virus scanner:
code=999, category=cannot-execute,
The problem is clamd has not being sent any other mails so don't see it
is a queuing problem.
For example I added a debug in mimedefang when it sends data to clamd:
mail 1) Nov 13 08:19:10 mimedefang send data to clamd
mail 1) Nov 13 08:19:11 mimedefang receives an answer
mail 2) Nov 13 08:25:38 mimedefang send data to clamd
mail 2) Nov 13 08:26:38 Timeout reading from clamd daemon at
/var/spool/MIMEDefang/clamd.sock YES! 60 seconds
mail 2) Nov 13 08:26:38 mimedefang tries again
mail 2) Nov 13 08:26:38 mimedefang gets error: Problem running virus
scanner: code=999, category=cannot-execute, action=tempfail
mail 3) Nov 13 08:28:21 works again
So, my question is there any tracing I can put in place so that I can
see what clamd is doing at this time. I looked at clamdtop but that show
live information so no good. At this time the email it breaks on is
randon and small.
Thanks,
Andrew
--
Andrew Watkins * Birkbeck, University of London * Computer Science *
* http://notallmicrosoft.blogspot.com *
* UKOUG Systems *
* UKOUG Tech committee *
* tel: 020 7631 6720 *
::e-mails are only read & actioned between 0900 and 1730 hours (Monday - Friday)
_______________________________________________
clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml