Monday, 22 October 2007

cfengine gotcha

Not strictly gridpp, but posting this here may save an administrator some sanity...

I've just spent the day battling against ubuntu on a lab cluster. The server had successfully upgraded from Feisty (7.04) to Gutsy (7.10) and cfengine refused to work. At all. It was only a minor upgrade in cfengine too - 2.1.20 to 2.1.22.

cfagent -qv -d2 hung - even with debugging on cfservd nothing obvious. Finally got a tip on IRC ( #cfengine) that it's likely to be a Berkeley DB upgrade thats the problem. Blew away all the .db files from state/ (and the __something.db that I found lying around in the cfengine dir too). tada! much stress reduced.