Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jul 2008 09:50:27 -0700
From:      Jo Rhett <jrhett@netconsonance.com>
To:        EVERS ROB <Rob.Evers@alcatel-lucent.co.nz>
Cc:        ports@freebsd.org
Subject:   Re: cfengine fatal error
Message-ID:  <B8DFB26B-1624-4895-AB32-1E0CD68406C4@netconsonance.com>
In-Reply-To: <D434F7EE545145439BFA47601F9B2BA3F23664@SGSINSMBS02.ad4.ad.alcatel.com>
References:  <D434F7EE545145439BFA47601F9B2BA3F23664@SGSINSMBS02.ad4.ad.alcatel.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B8DFB26B-1624-4895-AB32-1E0CD68406C4>