Bitcoin Forum
May 14, 2024, 03:15:55 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Wallet.dat preventing Bitcoin qt from opening (0.7.0)  (Read 849 times)
alexanderanon (OP)
Full Member
***
Offline Offline

Activity: 210
Merit: 100



View Profile
March 29, 2013, 12:19:05 AM
 #1

So I spent today going through various extraneous wallets I had lying about, consolidating, securing, etc. All was going well, until *ta-da*, bitcoin qt suddenly gets hung up on its initial startup, when using one particular wallet, but is fine on all others.

The wallet doesn't have that much in it, and I have copies of it that *are* working, so no worries. But I am concerned that this happened at all --- I wouldn't want it to happen on a more significant wallet.

It's a 0.7.0 client, and I think I may have renamed wallet.dat in the appdata folder while bitcoin was in the process of closing, in order to switch to a different wallet.dat. Trying to connect via daemon yields a "cannot connect to server" error, while debug lists nothing but load attempts with really long (failed) load times (in ms). Any explanation or indication of the problem is greatly appreciated, any potential solutions too.

Thank you.
1715699755
Hero Member
*
Offline Offline

Posts: 1715699755

View Profile Personal Message (Offline)

Ignore
1715699755
Reply with quote  #2

1715699755
Report to moderator
1715699755
Hero Member
*
Offline Offline

Posts: 1715699755

View Profile Personal Message (Offline)

Ignore
1715699755
Reply with quote  #2

1715699755
Report to moderator
If you see garbage posts (off-topic, trolling, spam, no point, etc.), use the "report to moderator" links. All reports are investigated, though you will rarely be contacted about your reports.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715699755
Hero Member
*
Offline Offline

Posts: 1715699755

View Profile Personal Message (Offline)

Ignore
1715699755
Reply with quote  #2

1715699755
Report to moderator
deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1032



View Profile WWW
March 30, 2013, 08:56:29 AM
 #2

The db.log or debug.log may have information about what errors are happening when the wallet is being accessed.

A preliminary recovery option is to run Bitcoin with the command-line option -salvagewallet.
jackjack
Legendary
*
Offline Offline

Activity: 1176
Merit: 1255


May Bitcoin be touched by his Noodly Appendage


View Profile
March 30, 2013, 09:52:49 AM
 #3

Quote
I may have renamed wallet.dat in the appdata folder while bitcoin was in the process of closing
That definitely can corrupt a wallet

You still can salvage with deepceleron's answer or try pywallet if that doesn't work

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
alexanderanon (OP)
Full Member
***
Offline Offline

Activity: 210
Merit: 100



View Profile
April 03, 2013, 03:06:18 AM
 #4

Thanks for the responses. Again, it isn't that big a deal as I have copies, but it is curious that there are no errors in db or elsewhere, just this endless initialization lag. I'll try the pywallet script, thanks again.
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!