Bitcoin Forum
November 11, 2024, 03:35:49 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin recovery error - won't open  (Read 1306 times)
ilan354 (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
July 25, 2011, 04:50:11 AM
 #1

Hello,
So last night I left my MBP running Snow Leopard on for the night for it to download some blocks. Bitcoin was the only thing running. This morning the power plug had fallen out and the computer was off. I turned it on and started bitcoin but it had an error and then when I clicked ok another error. It would not start. Here is the part of the debug.log where it has the errors.

Code:
Bitcoin version 0.3.24-beta
OS version Mac OS X (Darwin 10.7.0 i386)
System default language is 69 en_NZ
Language file locale/en_NZ/LC_MESSAGES/bitcoin.mo (English (New Zealand))
Default data directory /Users/mac/Library/Application Support/Bitcoin
Bound to port 8333
Loading addresses...
dbenv.open strLogDir=/Users/mac/Library/Application Support/Bitcoin/database strErrorFile=/Users/mac/Library/Application Support/Bitcoin/db.log


************************
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()

My question is, if I save my current wallet.dat and delete everything to do with bitcoin (application support etc.,) and then download it again, will it work and will my wallet.dat still have my money in it?
Thanks
Smalleyster
Member
**
Offline Offline

Activity: 84
Merit: 10


I yam what I yam. - Popeye


View Profile WWW
July 25, 2011, 04:59:30 AM
 #2

Yes it will, at least it has for me and many others. While it *might* be possible I have yet to hear of a corrupted wallet.dat file. Copy it to a few places just to be sure before you fool around.

Good luck!

Feel like investing in a Miner?:
http://bitcointalk.org/index.php?topic=30044.msg377773#msg377773
A soup to nuts newbee system for a secure, portable USB wallet (free instructions):
NoobHowTo: http://bitcointalk.org/index.php?topic=27088.msg341387#msg341387
cuddlefish
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250


View Profile
July 25, 2011, 05:07:33 AM
 #3

http://pybsddb.sourceforge.net/utility/db_recover.html
ilan354 (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
July 25, 2011, 05:11:05 AM
 #4

Well I deleted the bitcoin app support folder, bitcoin app folder, installed it again, opened it, had a new address, closed it, copied wallet to app support, opened it, it was mine and it said there was a pending deposit but it had made a new address and when I tried to change addresses it crashed. Whenever I open my addresses and click on one it crashes.
Smalleyster
Member
**
Offline Offline

Activity: 84
Merit: 10


I yam what I yam. - Popeye


View Profile WWW
July 25, 2011, 05:30:21 AM
 #5

Well I deleted the bitcoin app support folder, bitcoin app folder, installed it again, opened it, had a new address, closed it, copied wallet to app support, opened it, it was mine and it said there was a pending deposit but it had made a new address and when I tried to change addresses it crashed. Whenever I open my addresses and click on one it crashes.

Don't worry it makes new addresses all the time. It keeps the old ones too. Do it again and leave it alone this time.

Bitcoin *demands* that one learns patience.  8^)

Feel like investing in a Miner?:
http://bitcointalk.org/index.php?topic=30044.msg377773#msg377773
A soup to nuts newbee system for a secure, portable USB wallet (free instructions):
NoobHowTo: http://bitcointalk.org/index.php?topic=27088.msg341387#msg341387
ilan354 (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
July 25, 2011, 05:34:31 AM
 #6

Yeah but I can't change to my old addresses
Smalleyster
Member
**
Offline Offline

Activity: 84
Merit: 10


I yam what I yam. - Popeye


View Profile WWW
July 25, 2011, 05:43:53 AM
 #7

Yeah but I can't change to my old addresses

You are obsessing on nothing. Get the bitoins into the wallet *before* you go picking any more buttons as you seem to be crashing it.

You will have plenty of time later to understand how multiple input addresses work.

Start over and leave it alone as it rebuilds the block chain.

Feel like investing in a Miner?:
http://bitcointalk.org/index.php?topic=30044.msg377773#msg377773
A soup to nuts newbee system for a secure, portable USB wallet (free instructions):
NoobHowTo: http://bitcointalk.org/index.php?topic=27088.msg341387#msg341387
ilan354 (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
July 25, 2011, 05:45:05 AM
 #8

Alright thanks I'll do that Smiley
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!