Has anyone managed to get cfengine 2 running on SLES11 SP1? Leaving aside that
I really should have moved to cfengine 3 by now, I'd like to get cfengine
working on SLES11, but it crashes and dumps core immediately. This is cfengine
2.2.8. cfagent backtrace looks like this:
(gdb) where
#0 0x00007f7d413c2ef9 in __db_get_lorder () from /usr/lib64/libdb-4.5.so
#1 0x0000000000454b82 in InitializeLocks () at locks.c:200
#2 0x0000000000455e95 in GetLockTime (name=0x75d080
"last.cfagent_conf.sles11-admin.directories._var_cfengine_inputs_2374") at
locks.c:684
#3 0x00000000004557c7 in GetLastLock () at locks.c:474
#4 0x0000000000454fb6 in GetLock (operator=0x6c2580 "directories",
operand=0x6c0580 "_var_cfengine_inputs", ifelapsed=1, expireafter=120,
host=0x766c00 "sles11-admin", now=1285002538) at locks.c:285
#5 0x0000000000409514 in DirectoriesWrapper (dir=0x7ffff00e9c30
"/var/cfengine/inputs", vp=0x7ba560) at wrapper.c:347
#6 0x0000000000412eea in ExpandWildCardsAndDo (wildpath=0x7ffff00da9f7 "",
buffer=0x7ffff00e9c30 "/var/cfengine/inputs", function=0x409277
<DirectoriesWrapper>,
argptr=0x7ba560) at do.c:3698
#7 0x0000000000412f9d in ExpandWildCardsAndDo (wildpath=0x7ffff00dfaf9
"/inputs", buffer=0x7ffff00e9c30 "/var/cfengine/inputs",
function=0x409277 <DirectoriesWrapper>, argptr=0x7ba560) at do.c:3712
#8 0x0000000000412f9d in ExpandWildCardsAndDo (wildpath=0x7ffff00e4bf4
"/cfengine/inputs", buffer=0x7ffff00e9c30 "/var/cfengine/inputs",
function=0x409277 <DirectoriesWrapper>, argptr=0x7ba560) at do.c:3712
#9 0x0000000000412f9d in ExpandWildCardsAndDo (wildpath=0x7ba620
"/var/cfengine/inputs", buffer=0x7ffff00e9c30 "/var/cfengine/inputs",
function=0x409277 <DirectoriesWrapper>, argptr=0x7ba560) at do.c:3712
#10 0x000000000040a1e6 in MakePaths () at do.c:364
#11 0x00000000004070bb in DoTree (passes=2, info=0x47fd7a "Update") at
cfagent.c:1257
#12 0x00000000004049f4 in main (argc=5, argv=0x7ffff00ecda8) at cfagent.c:167
Any clues?
Thanks (and sorry this isn't the new-and-shiny cfengine3...)
Tim
--
The Wellcome Trust Sanger Institute is operated by Genome Research
Limited, a charity registered in England with number 1021457 and a
company registered in England with number 2742969, whose registered
office is 215 Euston Road, London, NW1 2BE.
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine