Bitcoin Forum
May 25, 2024, 10:04:46 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: client won't start  (Read 2469 times)
flaxceed (OP)
Sr. Member
****
Offline Offline

Activity: 389
Merit: 250


>>Note new email flaxceed@tormail.org<<


View Profile
December 31, 2011, 05:06:54 AM
 #1

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.

//////////////////////////////////////////////
>>>>>>flaxceed@tormail.org<<<<<<
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\


>>>  NOTE:  This is a new email address.  It is now tormail.org, and no longer tormail.net!  <<<

terrytibbs
Hero Member
*****
Offline Offline

Activity: 560
Merit: 501



View Profile
December 31, 2011, 05:08:02 AM
 #2

Your wallet is corrupt
flaxceed (OP)
Sr. Member
****
Offline Offline

Activity: 389
Merit: 250


>>Note new email flaxceed@tormail.org<<


View Profile
December 31, 2011, 05:12:25 AM
 #3

Thank you tt.  Can you suggest a good next step?

//////////////////////////////////////////////
>>>>>>flaxceed@tormail.org<<<<<<
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\


>>>  NOTE:  This is a new email address.  It is now tormail.org, and no longer tormail.net!  <<<

fred0
Sr. Member
****
Offline Offline

Activity: 349
Merit: 250


View Profile
December 31, 2011, 05:31:41 AM
 #4

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
terrytibbs
Hero Member
*****
Offline Offline

Activity: 560
Merit: 501



View Profile
December 31, 2011, 05:38:56 AM
 #5

I have never done this but restarting bitcoin-qt using the --rescan option is supposed to repair the db.
this isn't true
flaxceed (OP)
Sr. Member
****
Offline Offline

Activity: 389
Merit: 250


>>Note new email flaxceed@tormail.org<<


View Profile
December 31, 2011, 06:11:43 AM
 #6

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!

//////////////////////////////////////////////
>>>>>>flaxceed@tormail.org<<<<<<
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\


>>>  NOTE:  This is a new email address.  It is now tormail.org, and no longer tormail.net!  <<<

flaxceed (OP)
Sr. Member
****
Offline Offline

Activity: 389
Merit: 250


>>Note new email flaxceed@tormail.org<<


View Profile
December 31, 2011, 06:37:02 AM
 #7

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!

//////////////////////////////////////////////
>>>>>>flaxceed@tormail.org<<<<<<
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\


>>>  NOTE:  This is a new email address.  It is now tormail.org, and no longer tormail.net!  <<<

fred0
Sr. Member
****
Offline Offline

Activity: 349
Merit: 250


View Profile
December 31, 2011, 10:51:47 AM
 #8

I have never done this but restarting bitcoin-qt using the --rescan option is supposed to repair the db.
this isn't true
I wasn't sure, hence the alternative method, the one I knew would work.

fred0
Sr. Member
****
Offline Offline

Activity: 349
Merit: 250


View Profile
December 31, 2011, 11:08:49 AM
 #9

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.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!