Re: cf-agent doesnt't exit on solaris 8, test on simple commands promise

2010-04-27 Thread M LZ
Hi, It compiled with the latest revision. The agent looks ok now on simple command promise. Thanks, mlz. On Mon, Apr 26, 2010 at 7:12 PM, Mark Burgess wrote: > > Sorry, this was my fault. Forgot to check in. Try refreshing the svn > checkout. > > M LZ wrote: > > > > Sorry, it was an gcc vers

Re: cf-agent doesnt't exit on solaris 8, test on simple commands promise

2010-04-26 Thread Mark Burgess
Sorry, this was my fault. Forgot to check in. Try refreshing the svn checkout. M LZ wrote: > > Sorry, it was an gcc version issue. However, the compilation didn't get > through: > > > *** No rule to make target `mod_functions.c', needed by > `libpromises_la-mod_functions.lo'. Stop > ..

Re: cf-agent doesnt't exit on solaris 8, test on simple commands promise

2010-04-26 Thread M LZ
Sorry, it was an gcc version issue. However, the compilation didn't get through: *** No rule to make target `mod_functions.c', needed by `libpromises_la-mod_functions.lo'. Stop mod_functions.c doesn't appear to exist at all, although referred to in Makefiles. Thanks, mlz. On Mon,

Re: cf-agent doesnt't exit on solaris 8, test on simple commands promise

2010-04-26 Thread M LZ
Couldn't get compiled latest svn co :( .. generic_agent.c: In function `InitializeGA': generic_agent.c:455: parse error before `char' generic_agent.c:456: `oldLockDb' undeclared (first use in this function) generic_agent.c:456: (Each undeclared identifier is reported only once generic_agent.c

Re: cf-agent doesnt't exit on solaris 8, test on simple commands promise

2010-04-26 Thread Eystein Måløy Stenberg
Hi, Try latest svn, a fix for a similar issue has been applied after 3.0.4. -- Regards, Eystein On Sun, Apr 25, 2010 at 2:44 PM, M LZ wrote: > Gdb bt points to libthread as a  possible  point of  deadlock: > > #0  0xfed29780 in __sigprocmask () from /usr/lib/libthread.so.1 > #1  0xfed1e630 in __

Re: cf-agent doesnt't exit on solaris 8, test on simple commands promise

2010-04-25 Thread M LZ
Gdb bt points to libthread as a possible point of deadlock: #0 0xfed29780 in __sigprocmask () from /usr/lib/libthread.so.1 #1 0xfed1e630 in __bounceself () from /usr/lib/libthread.so.1 #2 0xfed1b160 in _mutex_adaptive_lock () from /usr/lib/libthread.so.1 #3 0xfed1ae88 in _cmutex_lock () fro

Re: cf-agent doesnt't exit on solaris 8, test on simple commands promise

2010-04-23 Thread Mark Burgess
You should try to run it in gdb, and do a backtrace to see where it hangs. See http://www.cfengine.org/pages/troubleshooting M LZ wrote: > > Hi, trying to use cf3 on sparc/solaris8, compiled version 3.0.4. When > testing simple command execution cf-agent hangs. Can anyone help with this? > >

cf-agent doesnt't exit on solaris 8, test on simple commands promise

2010-04-23 Thread M LZ
Hi, trying to use cf3 on sparc/solaris8, compiled version 3.0.4. When testing simple command execution cf-agent hangs. Can anyone help with this? Thanks, mlz > /usr/local/sbin/cf-agent -v -K -f ./test.c . cf3 Verifying SQL table promises is only available with Cfengine Nova or above cf3 -