Forum: CFEngine Help
Subject: Anyone automating health of Cfengine databases?
Author: msvob...@linkedin.com
Link to topic: https://cfengine.com/forum/read.php?3,23792,23792#msg-23792

I just opened this bug a few minutes ago:
https://cfengine.com/bugtracker/view.php?id=845

I'm seeing clients on 3.2.0 with malfunctioning cf_lock.tcdb, and other Tokyo 
cabinet database related problems.

Removing the files and allowing cf-agent to rebuild them solves the problem in 
an intermediate step, but, its not ideal.  Has anyone implemented some sort of 
automation (I'm guessing through a cron script) that can verify the health of 
these database files?

if their corruption causes cf-agent to segfault, I can't rely on Cfengine 
execution to automate their recovery.

I suppose the easiest workaround would be to grep for these errors in 
/var/cfengine/outputs/previous and remove them, but I'm just curious if someone 
has a utility that can be ran from the command line which validates the 
databases health.


Thanks
Mike

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to