Bitcoin Forum
July 04, 2015, 11:49:02 AM *
News: ♦♦♦ If you are using any wallet other than Bitcoin Core 0.10.x or 0.9.5, then you should not trust incoming transactions until they have ~30 confirmations. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Wallet.dat  (Read 1891 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
1436010542
Hero Member
*
Offline Offline

Posts: 1436010542

View Profile Personal Message (Offline)

Ignore
1436010542
Reply with quote  #2

1436010542
Report to moderator
1436010542
Hero Member
*
Offline Offline

Posts: 1436010542

View Profile Personal Message (Offline)

Ignore
1436010542
Reply with quote  #2

1436010542
Report to moderator
COINROYALE BITCOIN CASINO GET UP TO 1 BTC FREE Use Code: FORUM100 PLAY NOW
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1436010542
Hero Member
*
Offline Offline

Posts: 1436010542

View Profile Personal Message (Offline)

Ignore
1436010542
Reply with quote  #2

1436010542
Report to moderator
1436010542
Hero Member
*
Offline Offline

Posts: 1436010542

View Profile Personal Message (Offline)

Ignore
1436010542
Reply with quote  #2

1436010542
Report to moderator
1436010542
Hero Member
*
Offline Offline

Posts: 1436010542

View Profile Personal Message (Offline)

Ignore
1436010542
Reply with quote  #2

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

Activity: 140



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

Activity: 1974


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

Activity: 1974


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!