cfengine fatal error

EVERS ROB Rob.Evers at alcatel-lucent.co.nz
Thu Jul 3 22:19:50 UTC 2008



> 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 at 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 at 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@
>

-----Original Message-----
From: Jo Rhett [mailto:jrhett at netconsonance.com] 
Sent: Friday, 4 July 2008 4:50 AM
To: EVERS ROB
Cc: ports at freebsd.org
Subject: Re: cfengine fatal error

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...


Jo,

Thank you for your response,

The ldd is performed inside of the jail, the jail is a full or fat jail
managed with ezjail so I have a complete copy of the base system available.

Rob Evers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 6751 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20080703/20444fcd/smime.bin


More information about the freebsd-ports mailing list