Bitcoin Forum
April 18, 2024, 06:56:53 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Wallet.dat  (Read 2500 times)
couchinator (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
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
You get merit points when someone likes your post enough to give you some. And for every 2 merit points you receive, you can send 1 merit point to someone else!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713466613
Hero Member
*
Offline Offline

Posts: 1713466613

View Profile Personal Message (Offline)

Ignore
1713466613
Reply with quote  #2

1713466613
Report to moderator
1713466613
Hero Member
*
Offline Offline

Posts: 1713466613

View Profile Personal Message (Offline)

Ignore
1713466613
Reply with quote  #2

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

Activity: 140
Merit: 100



View Profile WWW
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 (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
May 17, 2011, 03:35:12 AM
 #3

Tried that, still crashes
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5166
Merit: 12864


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

Does debug.log say anything about it?

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
couchinator (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
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
Legendary
*
Offline Offline

Activity: 5166
Merit: 12864


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

Does Bitcoin actually die, or does it just hang?

Did you change Bitcoin versions?

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
couchinator (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
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: 20
Merit: 10


View Profile
May 17, 2011, 01:04:45 PM
 #8

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

Activity: 15
Merit: 0


View Profile
May 17, 2011, 01:58:55 PM
 #9

Both installs were 64.
couchinator (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
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:  

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