Bug 462050

Summary: db_recover may be required on data directory after broker is killed (or crashes)
Product: Red Hat Enterprise MRG Reporter: Gordon Sim <gsim>
Component: Release_NotesAssignee: Lana Brindley <lbrindle>
Status: CLOSED CURRENTRELEASE QA Contact: Kim van der Riet <kim.vdriet>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: mhideo
Target Milestone: 1.0.1Keywords: Documentation
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-09-30 00:19:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Gordon Sim 2008-09-12 08:15:33 UTC
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.