Skip to content

DB_RUNRECOVERY: Fatal error #316

@davclark

Description

@davclark

Generate databases in .bitcoin with bitcoin 0.3.20 (as is available in the bitcoind package in debian squeeze). Close that server down, then run the 0.3.23-rc1 (or beta), and you get the following:

************************
EXCEPTION: 22DbRunRecoveryException       
DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery       
bitcoin in AppInit()       



************************
EXCEPTION: 22DbRunRecoveryException       
DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery       
bitcoin in CMyApp::OnUnhandledException()       

terminate called after throwing an instance of 'DbRunRecoveryException'
  what():  DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery
Aborted

I tried db4.7_recover and db4.8_recover, as well as corresponding dump programs, and none were able to parse my blk0001.dat file. So, I think this is the culprit, but I'm not sure where to begin. It's pretty easy to reproduce this problem, though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions