From owner-freebsd-questions@FreeBSD.ORG Thu Apr 17 20:56:58 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 534FB106566C for ; Thu, 17 Apr 2008 20:56:58 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out4.apple.com (mail-out4.apple.com [17.254.13.23]) by mx1.freebsd.org (Postfix) with ESMTP id 38DD48FC1E for ; Thu, 17 Apr 2008 20:56:58 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay11.apple.com (relay11.apple.com [17.128.113.48]) by mail-out4.apple.com (Postfix) with ESMTP id 0F6AC29B67FF; Thu, 17 Apr 2008 13:56:58 -0700 (PDT) Received: from relay11.apple.com (unknown [127.0.0.1]) by relay11.apple.com (Symantec Mail Security) with ESMTP id EE0A928083; Thu, 17 Apr 2008 13:56:57 -0700 (PDT) X-AuditID: 11807130-ac395bb000000ead-5b-4807b9991c7b Received: from cswiger1.apple.com (cswiger1.apple.com [17.214.13.96]) by relay11.apple.com (Apple SCV relay) with ESMTP id D459B2802F; Thu, 17 Apr 2008 13:56:57 -0700 (PDT) Message-Id: <474484CB-265A-4010-BABA-65B214C315D2@mac.com> From: Chuck Swiger To: Juergen Fiedler In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Thu, 17 Apr 2008 13:56:57 -0700 References: X-Mailer: Apple Mail (2.919.2) X-Brightmail-Tracker: AAAAAA== Cc: freebsd-questions@freebsd.org Subject: Re: ClamAV 0.93 on FreeBSD 4.11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2008 20:56:58 -0000 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