Bitcoin Forum
April 17, 2014, 01:08:28 PM *
News: ♦♦ A bug in OpenSSL, used by Bitcoin-Qt/Bitcoin Core, could allow your bitcoins to be stolen. Immediately updating Bitcoin Core to 0.9.1 is required in some cases, especially if you're using 0.9.0. Download. More info.
The same bug also affected the forum. Changing your forum password is recommended.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Wallet.dat  (Read 1463 times)
couchinator
Newbie
*
Offline Offline

Activity: 15


View Profile

Ignore
May 17, 2011, 02:07:06 AM
 #1

So I reinstalled Windows the other day and transferred my wallet.dat file from my old install to my new one. I placed it into the AppData\Roaming\Bitcoin directory and now Bitcoin crashes when I try to start it up. There are no other files in the folder, although new copies of the rest of the files are generated when I start Bitcoin. I don't see how anything could have happened to the file. There seem to be many other people with a similar problem but I haven't found any answers. I can't figure out how to use the Berkeley DB tools to get the file fixed. Does anyone have any insight as to why the file might just stop working?

Thanks
GAWMiners.com - Buy 4 ASIC Miners get ONE FREE!
Limited 24hr Offer Code: BUY4GET1
Mining Made Easy
For Everyone

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1397740108
Hero Member
*
Offline Offline

Posts: 1397740108

View Profile Personal Message (Offline)

Ignore
1397740108
Reply with quote  #2

1397740108
Report to moderator
1397740108
Hero Member
*
Offline Offline

Posts: 1397740108

View Profile Personal Message (Offline)

Ignore
1397740108
Reply with quote  #2

1397740108
Report to moderator
1397740108
Hero Member
*
Offline Offline

Posts: 1397740108

View Profile Personal Message (Offline)

Ignore
1397740108
Reply with quote  #2

1397740108
Report to moderator
1397740108
Hero Member
*
Offline Offline

Posts: 1397740108

View Profile Personal Message (Offline)

Ignore
1397740108
Reply with quote  #2

1397740108
Report to moderator
Ian Maxwell
Full Member
***
Offline Offline

Activity: 126



View Profile WWW

Ignore
May 17, 2011, 03:13:59 AM
 #2

Try running with the -rescan flag. From the command prompt, in the directory containing Bitcoin, run "bitcoin.exe -rescan"

Ian Maxwell
PGP key | WoT rating
couchinator
Newbie
*
Offline Offline

Activity: 15


View Profile

Ignore
May 17, 2011, 03:35:12 AM
 #3

Tried that, still crashes
theymos
Administrator
Hero Member
*
Offline Offline

Activity: 1526


View Profile
May 17, 2011, 03:57:20 AM
 #4

Does debug.log say anything about it?

couchinator
Newbie
*
Offline Offline

Activity: 15


View Profile

Ignore
May 17, 2011, 04:14:48 AM
 #5

Nope.

Bound to port 8333
Loading addresses...
dbenv.open strLogDir=C:\Users\Couchinator\AppData\Roaming\Bitcoin/database strErrorFile=C:\Users\Couchinator\AppData\Roaming\Bitcoin/db.log
Loaded 19166 addresses
 addresses               200ms
Loading block index...
LoadBlockIndex(): hashBestChain=00000000000003b98eb5  height=124512
 block index            2120ms
Loading wallet...

That's where it ends. It's very annoying to have BTC in the file somewhere but I just can't get to it  Tongue
theymos
Administrator
Hero Member
*
Offline Offline

Activity: 1526


View Profile
May 17, 2011, 04:16:39 AM
 #6

Does Bitcoin actually die, or does it just hang?

Did you change Bitcoin versions?

couchinator
Newbie
*
Offline Offline

Activity: 15


View Profile

Ignore
May 17, 2011, 05:13:02 AM
 #7

It dies. I have tried the new version as well as the older version (0.3.20.2) that the file was created with. No dice.
zrataj
Newbie
*
Offline Offline

Activity: 4


View Profile

Ignore
May 17, 2011, 01:04:45 PM
 #8

Did you reinstall from 64 bit to 32 bit or 32 to 64 bit?
couchinator
Newbie
*
Offline Offline

Activity: 15


View Profile

Ignore
May 17, 2011, 01:58:55 PM
 #9

Both installs were 64.
couchinator
Newbie
*
Offline Offline

Activity: 15


View Profile

Ignore
May 17, 2011, 04:58:03 PM
 #10

Alright, I have read elsewhere that Bitcointools can help, so I tried that as well.

./dbdump.py --wallet
(stack trace)
'DB_RUNRECOVERY: Fatal error, run database recovery -- PANIC: Invalid argument'

Also not helpful.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!