On Wed, Oct 01, 2003 at 12:14:56PM -0700, Kelsey Cummings wrote: > On Wed, Oct 01, 2003 at 03:09:30PM -0400, Flinn Mueller wrote: > > uncomment Foreground in clamav.conf > > Ah, I was worried that was it. When I do this on FreeBSD 4.8 with the > latest build from the port's tree it appears to startup properly, stay in > foreground, but doesn't appear to actually function. (Doesn't accept > connections on the domain sock.) > > I'll do some more troubleshooting.
Okay, it's binding to the socket: root clamd 22888 6 stream /var/spool/MIMEDefang/clamd.sock But Mimedefang is unable to connect to it: .... Could not connect to clamd daemon at /var/spool/MIMEDefang/clamd.sock Clamd doesn't report any problems in it's logs. attaching to the running process with strace reports that it's awake in a pool loop: poll([{fd=3, events=POLLRDNORM}, {fd=6, events=POLLRDNORM}], 2, 1000) = 0 gettimeofday({1065037786, 684959}, NULL) = 0 gettimeofday({1065037786, 686007}, NULL) = 0 gettimeofday({1065037786, 687604}, NULL) = 0 poll([{fd=6, events=POLLRDNORM}], 1, 0) = 0 when started under strace it appears to fork into the background, or perhaps it's something with threading that I don't understand. ktrace and truss report similar results to strace when attached to the running process. Running it again with foreground commented out and everything works as expected. Any clues? Anything other information I can collect to help squash the bug? -- Kelsey Cummings - [EMAIL PROTECTED] sonic.net, inc. System Administrator 2260 Apollo Way 707.522.1000 (Voice) Santa Rosa, CA 95407 707.547.2199 (Fax) http://www.sonic.net/ Fingerprint = D5F9 667F 5D32 7347 0B79 8DB7 2B42 86B6 4E2C 3896 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users