Re: ClamAV 0.93 on FreeBSD 4.11
On Apr 17, 2008, at 1:34 PM, Juergen Fiedler wrote: It compiles now, but clamd doesn't work properly: It starts, but doesn't respond to anything. clamdscan just sits around forever trying to communicate with clamd, and when I switch to TCP sockets, I can telnet to port 3310 but even a simple PING remains unanswered indefinitely. Hmm, you seem to be right about that. I have a low-volume mailserver which failed over to using clamscan rather than going through the daemon. For my circumstances, this is OK, but it's not ideal. Using gdb attach suggests the clamd is stuck waiting for accept() to return: (gdb) bt #0 0x281af05c in __sys_accept () from /usr/lib/libc_r.so.4 #1 0x281a4960 in _accept () from /usr/lib/libc_r.so.4 #2 0x281a4a12 in accept () from /usr/lib/libc_r.so.4 #3 0x804f8db in acceptloop_th () #4 0x804dd46 in main () #5 0x804a47e in _start () -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ClamAV 0.93 on FreeBSD 4.11
On Thu, 17 Apr 2008 16:34:16 -0400 "Juergen Fiedler" <[EMAIL PROTECTED]> wrote: [snip] > Maybe it's really time for 7.0. I would think so. At the very least, there are no doubt several security fixes in place now that were/are not readily available for 4.x versions. Besides, it will give you an opportunity to discard useless crud that has no doubt been accumulating on your system. -- Gerard [EMAIL PROTECTED] Regards, /\_/\ "All dogs go to heaven." [EMAIL PROTECTED] (0 0) http://www.alphaque.com/ +==oOO--(_)--OOo==+ | for a in past present future; do| | for b in clients employers associates relatives neighbors pets; do| | echo "The opinions here in no way reflect the opinions of my $a $b." | | done; done | +=+ signature.asc Description: PGP signature
Re: ClamAV 0.93 on FreeBSD 4.11
On Thu, 17 Apr 2008 12:14:24 -0700 Chuck Swiger <[EMAIL PROTECTED]> wrote: > Hi, Juergen-- > > On Apr 17, 2008, at 9:49 AM, Juergen Fiedler wrote: > > I am trying to install ClamAV 0.93 on a FreeBSD 4.11 > (i386) > > system. I have downloaded and untarred the port, but > when I > > try to install it, I get an error message indicating > that > > my gcc can't build executables. > > This diff to the FreeBSD port Makefile was discussed on > the ClamAV- users mailing list: [...] > Regards, > -- > -Chuck It compiles now, but clamd doesn't work properly: It starts, but doesn't respond to anything. clamdscan just sits around forever trying to communicate with clamd, and when I switch to TCP sockets, I can telnet to port 3310 but even a simple PING remains unanswered indefinitely. Maybe it's really time for 7.0. Thanks, -Juergen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ClamAV 0.93 on FreeBSD 4.11
Hi, Juergen-- On Apr 17, 2008, at 9:49 AM, Juergen Fiedler wrote: I am trying to install ClamAV 0.93 on a FreeBSD 4.11 (i386) system. I have downloaded and untarred the port, but when I try to install it, I get an error message indicating that my gcc can't build executables. This diff to the FreeBSD port Makefile was discussed on the ClamAV- users mailing list: --- Makefile.orig Wed Apr 16 10:59:51 2008 +++ MakefileWed Apr 16 11:37:41 2008 @@ -108,7 +108,7 @@ .if ${OSVERSION} >= 601000 PTHREAD_LIBS= -lthr .else -PTHREAD_LIBS= -lpthread +PTHREAD_LIBS= -pthread .endif .if defined(WITH_ARC) ...and it seems to work fine for 4.11: +++ Started at Wed Apr 16 14:20:06 2008 clamd daemon 0.93 (OS: freebsd4.11, ARCH: i386, CPU: i386) Regards, -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ClamAV 0.93 on FreeBSD 4.11
Juergen Fiedler wrote: Hello, I am trying to install ClamAV 0.93 on a FreeBSD 4.11 (i386) system. I have downloaded and untarred the port, but when I try to install it, I get an error message indicating that my gcc can't build executables. The section of config.log that I believe to be relevant looks like this: /usr/libexec/elf/ld: cannot find -lpthread You should either upgrade your FreeBSD or build ClamAV without pthread support (you won't get the daemon then). I don't think 4.11 supports pthreads. Peter -- http://www.boosten.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"