Title: client won't start Post by: flaxceed on December 31, 2011, 05:06:54 AM I can't get my client to load- it just gives me errors. My debug log says:
EXCEPTION: 22DbRunRecoveryException DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery C:\Program Files\Bitcoin\bitcoin.exe in AppInit() and EXCEPTION: 11DbException Dbc::get: Bad address C:\Program Files\Bitcoin\bitcoin-qt.exe in Runaway exception and EXCEPTION: 11DbException Dbc::get: Bad address C:\Documents and Settings\netbook\Desktop\bitcoin-0.5.1-win32\bitcoin-qt.exe in Runaway exception Can anyone clue me in to what is going on? It happened out of the blue. Title: Re: client won't start Post by: terrytibbs on December 31, 2011, 05:08:02 AM Your wallet is corrupt
Title: Re: client won't start Post by: flaxceed on December 31, 2011, 05:12:25 AM Thank you tt. Can you suggest a good next step?
Title: Re: client won't start Post by: fred0 on December 31, 2011, 05:31:41 AM I have never done this but restarting bitcoin-qt using the --rescan option is supposed to repair the db.
-or- I have done this: 1. Make sure you have a backup of the wallet.dat 2. delete all files except wallet.dat from the APPDATA\bitcoin directory (not using windows, but I think you should be able to find it) 3. start bitcoin-qt.exe then wait for the block chain to download..a few hours if I recall correctly Title: Re: client won't start Post by: terrytibbs on December 31, 2011, 05:38:56 AM I have never done this but restarting bitcoin-qt using the --rescan option is supposed to repair the db. this isn't trueTitle: Re: client won't start Post by: flaxceed on December 31, 2011, 06:11:43 AM Hey Fred- I did as you said (using %APPDATA%\Bitcoin to see the folder contents) but do I also delete the database folder? It looks like there are just two log files there. Thanks a million for your help!
Title: Re: client won't start Post by: flaxceed on December 31, 2011, 06:37:02 AM OK I just ignored the database folder and put the old wallet back in and started the client and it worked perfectly and is now synchronizing with the network. Thanks a bunch guys I appreciate your willingness to help!
Title: Re: client won't start Post by: fred0 on December 31, 2011, 10:51:47 AM I have never done this but restarting bitcoin-qt using the --rescan option is supposed to repair the db. this isn't trueTitle: Re: client won't start Post by: fred0 on December 31, 2011, 11:08:49 AM Hey Fred- I did as you said (using %APPDATA%\Bitcoin to see the folder contents) but do I also delete the database folder? It looks like there are just two log files there. Thanks a million for your help! Sure, you could have deleted the database folder.Just remember to always preserve the wallet.dat. If you lose that, you will lose your bitcoins from that wallet. Glad everything worked out. |