Archived
This forum has been archived. Please start a new discussion on GitHub.
Db_runrecovery Error
pradeep
in Help Center
Hi,
I am trying the sample program for freeze given in the Ice Manual. And am receiving an error when i try to execute the following line of code.
connection = Freeze::createConnection(communicator, "db");
Error on my console window is as follows:
"No Such File or directory"
Throws an DataBaseException with message "DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery"
Could you help me out of this.
Thanks & Regards,
Pradeep
I am trying the sample program for freeze given in the Ice Manual. And am receiving an error when i try to execute the following line of code.
connection = Freeze::createConnection(communicator, "db");
Error on my console window is as follows:
"No Such File or directory"
Throws an DataBaseException with message "DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery"
Could you help me out of this.
Thanks & Regards,
Pradeep
0
Comments
-
It does show,these many lines of error
Berkeley DB: DbEnv "db": db: No Such file or directory
Berkeley DB: DbEnv "db": db:\log.00000000001: No Such file or directory
Berkeley DB: DbEnv "db": PANIC: No such file or directory ]
Berkeley DB: DbEnv "db": PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
Berkeley DB: DbEnv "db": db: No Such file or directory0 -
All these error messages indicates that the directory "db" is missing.pradeep wrote: »But I do have the folder named "db" existing where my application exe resides. It is also creating 3 files inside that, but throwing the errors
The directory "db" must exist wherever you start your application. This doesn't necessarily have to be the location of your executable.0
