When trying to start ConfD one could encounter this error message (quoting the Advanced Topics -
- "ConfD Fails to Start" chapter in the user guide:
"Exit code 15 means that A.cdb or C.cdb is corrupt in a non-recoverable way. Remove the files and re-start using a backup or init files."
If ConfD crashes/is killed during a write to one of the journal files it should be OK, but if a disk/hard drive failure occurs happens during a schema upgrade of the C.cdb file it is likely that it will become corrupted since not all changes made to the schema could not be written to that file. In this case one need to apply a backup (which one of course created before starting the upgrade). If one have the CDB files at hand one can use the following command to see what ConfD thinks is corrupt:
# confd --cdb-debug-dump Directory
Print a lot of information about the CDB files in Directory to stdout. This is a completely stand-alone feature and the only thing needed is the .cdb files (no running ConfD daemon or .fxs files etc).
If '--cdb-debug-dump' works fine the CDB files should be OK.