Red Hat Bugzilla – Bug 462050
db_recover may be required on data directory after broker is killed (or crashes)
Last modified: 2013-10-23 19:08:50 EDT
If qpidd is not cleanly shutdown, the BDB files in which it holds key information required for recovery may require db_recover (from db4-utils pacakge) to be run prioir to recovery.
If on recovery you see:
"Error opening databases (BdbMessageStore.cpp:253): Db::open: Cannot allocate memory"
Run db_recover on the dat directory in the data-dir (or store-dir) location. E.g.
db_recover -v -h /var/lib/qpidd/rhm/dat/
After this recovery should succeed.