I'm seeing similar symptoms on Solaris 8 and 6, as I reported in the "clamd segfaulting as of about thursday" thread. The rest of this is reposted from that thread:
--------- Post 1 I am not explicity using the -B flag, nor do I believe that I need it. The error is occurring in clamav-milter (I should have been more explicit) using this in sendmail.mc INPUT_MAIL_FILTER(`clmilter', `S=local:/var/clamav/clamav-milter.sock, F=A, T=E:25m; R:90s; S:45s; C:30m') The milter runs for some period of time - the most recent instance was about 18 hours - and then it stops responding soon after an update to the database. Here's the most recent logging: May 3 12:17:00 smtp freshclam[20408]: Daemon started. May 3 12:17:00 smtp freshclam[20408]: ClamAV update process started at Tue May 3 12:17:00 2005 May 3 12:17:00 smtp freshclam[20408]: main.cvd is up to date (version: 31, sigs: 33079, f-level: 4, builder: tkojm) May 3 12:17:02 smtp freshclam[20408]: daily.cvd updated (version: 866, sigs: 1070, f-level: 4, builder: arnaud) May 3 12:17:02 smtp freshclam[20408]: Database updated (34149 signatures) from database.clamav.net (IP: 129.64.99.170) May 3 12:17:02 smtp freshclam[20408]: ERROR: Clamd was NOT notified: Can't connect to clamd through /var/clamav/clamd.sock May 3 12:17:09 smtp clamav-milter[8067]: j43JG2OX019910: /tmp/clamav-c7c0b2a04378f618/msg.ZrCyWp: Worm.Sober.P Intercepted virus from <[EMAIL PROTECTED]> to <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> May 3 12:19:03 smtp clamav-milter[8067]: ClamAv: setsockopt() failed (Invalid argument) May 3 12:19:03 smtp last message repeated 23 times Somehow or other, that -B flag is being set when clamav-milter restarts following the reload. ------------- Post 2 FWIW, the problem is happening on both Solaris 2.8 and 2.6 systems (on the 2.8 system, there are no logged error messages - the milter simply stops responding, and everything needs to be restarted). Both systems are running sendmail 8.13.0 ------------- Back live Here's my clamd.conf, minus the comments: LogFileMaxSize 0 LogTime LogSyslog LogFacility LOG_LOCAL6 PidFile /var/run/clamd.pid TemporaryDirectory /tmp LocalSocket /var/clamav/clamd.sock FixStaleSocket TCPAddr 127.0.0.1 MaxConnectionQueueLength 15 StreamMaxLength 8M MaxThreads 64 ReadTimeout 60 MaxDirectoryRecursion 3 User clamav ScanOLE2 ScanMail ScanHTML ScanArchive ArchiveMaxFileSize 1M ArchiveMaxRecursion 2 ArchiveMaxFiles 25 ArchiveMaxCompressionRatio 100 -- Pete Hanson http://www.well.com/user/wolfy http://www.fotolog.net/wolfy _______________________________________________ http://lurker.clamav.net/list/clamav-users.html
