db_recover failed
306019Mar 1 2009 — edited Mar 2 2009After several attempts to restart the application, it can't open BDB again and the below errors occurred.
Cache Mgr : PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
Cache Mgr : PANIC: fatal region error detected; run recovery
Cache Mgr : PANIC: fatal region error detected; run recovery
So, I've tried to recover BDB using 'db_recover' and 'db_recover -c'. But, it failed always with the following errors:
Starting BDB Recovery.
db_recover: unable to join the environment
Finding last valid log LSN: file: 3957 offset 8442303
recovery 32% completeRecovery starting from [3737][28]
recovery 34% completedb_recover: Recovery function for LSN 3955 7397420 failed on backward pass
db_recover: PANIC: No such file or directory
db_recover: unable to join the environment
db_recover: DB_ENV->open: DB_RUNRECOVERY: Fatal error, run database recovery
What should I do to recover the databases?
Young