This discussion is archived
1 Reply Latest reply: Nov 2, 2013 6:36 AM by userBDBDMS RSS

open environment failure "DB_RUNRECOVERY"

4246bac3-3a09-4031-8891-51bb8a451ffc Newbie
Currently Being Moderated

Hi BDB experts,

 

This a HA master environment, for some reason unknown, now open environment always returned DB_RUNRECOVERY. The environment was open with flag:

DB_INIT_TXN |   DB_INIT_LOCK |  DB_INIT_LOG |   DB_REGISTER |   DB_RECOVER |    DB_INIT_MPOOL | DB_THREAD |     DB_INIT_REP;

 

In this case, can the enviroment be recovered? What can be done for this error?

 

Could you tell me the causes of error "DB_RUNRECOVERY"?

 

Thanks,

Min

  • 1. Re: open environment failure "DB_RUNRECOVERY"
    userBDBDMS Guru Moderator
    Currently Being Moderated

    DB_RUNRECOVERY gets returned when there is a suspected issue in the database.      You need to run recovery.    Chap 11 of BDB Programmers Reference covers the procedures for running recovery.      In this case, I would suggest running the db_recover utility.    When you run the utility you should ensure that there are no processes connected to the environment and it is closed.

     

    possible causes -- memory errors, disk errors, hw errors, application errors, power failures, cpu errors, human errors    There are many paths in the code that can throw this particular error.    To figure out the exact trigger for your case, this is something that Oracle support handles.  Have you purchased a support contract for BDB?

     

    thanks

    mike

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points