From owner-freebsd-ports@FreeBSD.ORG Thu Jul 3 16:50:59 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B6231065673 for ; Thu, 3 Jul 2008 16:50:59 +0000 (UTC) (envelope-from jrhett@netconsonance.com) Received: from mail.netconsonance.com (mail.netconsonance.com [198.207.204.4]) by mx1.freebsd.org (Postfix) with ESMTP id BAC098FC1E for ; Thu, 3 Jul 2008 16:50:58 +0000 (UTC) (envelope-from jrhett@netconsonance.com) Received: from [172.16.12.8] (covad-jrhett.meer.net [209.157.140.144]) (authenticated bits=0) by mail.netconsonance.com (8.14.1/8.14.1) with ESMTP id m63GoRiJ096936; Thu, 3 Jul 2008 09:50:28 -0700 (PDT) (envelope-from jrhett@netconsonance.com) X-Virus-Scanned: amavisd-new at netconsonance.com X-Spam-Flag: NO X-Spam-Score: -3.083 X-Spam-Level: X-Spam-Status: No, score=-3.083 tagged_above=-999 required=3.5 tests=[ALL_TRUSTED=-1.44, AWL=-1.643] Message-Id: From: Jo Rhett To: EVERS ROB 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 v924) Date: Thu, 3 Jul 2008 09:50:27 -0700 References: X-Mailer: Apple Mail (2.924) Cc: ports@freebsd.org Subject: Re: cfengine fatal error X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2008 16:50:59 -0000 Well it works fine outside of a jail. Are you using the ldd command inside the jail, or outside of it? You need to make sure all of those libraries are available inside the jail... On Jul 2, 2008, at 5:25 PM, EVERS ROB wrote: > Hi Sergei, > > > > > > When running cfengine 2.2.7 (and before that 2.2.3) (in a jail) on my > FreeBSD 6.3 box the cfservd crashes after client connect. > > > > Sys version > > FreeBSD cfengine.debank.tv 6.3-STABLE FreeBSD 6.3-STABLE #0: Wed > Jun 4 > 05:22:14 CEST 2008 root@flappie.debank.tv:/usr/obj/usr/src/sys/ > FLAPPIE > amd64 > > > > > > Last piece of cfservd -d1 output: > > > > LastSeen(cvs.debank.tv) reg > > IPV4 address > > sockaddr_ntop(192.168.1.33) > > Found address (192.168.1.33) for host cvs.debank.tv > > GetMacroValue(server,LastSeenExpireAfter) > > GetMacroValue(server,LastSeenExpireAfter): using scope 'server' for > variable > 'LastSeenExpireAfter' > > READ -192.168.1.33 > > WriteDB => -192.168.1.33 > > WriteDB => Thu:Hr02:Min10_15 > > Transmission empty or timed out... > > Transaction Receive [][] > > RecvSocketStream(0) > > cfservd terminating NULL transmission! > > Terminating thread... > > ***Closing socket 5 from 192.168.1.26 > > Fatal error 'kse_exit() failed for system scope thread' at line 1215 > in file > /usr/src/lib/libpthread/thread/thr_kern.c (errno = 22) > > > > > > root@cfengine:~#ldd `which cfservd` > > /usr/local/sbin/cfservd: > > libdb-4.6.so.0 => /usr/local/lib/libdb-4.6.so.0 (0x8006bd000) > > libpthread.so.2 => /usr/lib/libpthread.so.2 (0x8008ef000) > > libcrypto.so.4 => /lib/libcrypto.so.4 (0x800a1a000) > > libm.so.4 => /lib/libm.so.4 (0x800c61000) > > libc.so.6 => /lib/libc.so.6 (0x800d7d000) > > libpthread.so.2 => /lib/libpthread.so.2 (0x800f8f000) > > > > It looks like a threading error but I can't seem to figure out what > exactly > goes wrong ( a ktrace doesn't reveal anything), any ideas on this or > what > debugging do I need to provide to make it more clear. > > > > Thanks, > > Rob Evers > > > > P.S. please cc me as I'm not on ports@ > -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness