On Thu, 17 Feb 2005, David Blank-Edelman wrote:

; Hi-
;   Thanks for such a great program and all of the work being put into it. We're
; having a nasty problem with clamd 0.8x (even with 0.83 which we just installed
; yesterday). After running for a while, it will decide to just stop functioning
; and return failures or refuse connect from the MTA. Here are some specifics:
;
; Solaris 9, gcc built, Solaris 9 stock zlib (1.1.4)

I'm running on Solaris 9 here too and haven't seen any problems. It might
be worth trying the 64-bit Solaris 9 package I maintain just to try and
determine whether the problem is related to the build tools
(http://clamav.citrusit.net) although it does seem unlikely. Solaris stock
zlib is fine as long as you have patch 115754-02 or greater.

It is worth tweaking the clamd source code to print the error from the
accept call. Solaris doesn't have strerror_r, which is why clamd isn't
printing it, but strerror() is thread-safe on Solaris.

Change line 502 of clamd/server-th.c from
        logg("!accept() failed\n");
to
        logg("!accept() failed: %d (%s)\n", errno, strerror(errno));

A.

_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

Reply via email to