win7 x64 problem:
i had a fresh install of the wallet, started syncing and used the initial address for mining @ 1gh. the wallet got stuck at some "trie" stuff (for over 6h) so I restarted the qt-wallet. Now it says my wallet.dat is corrupted, and can't be repaired. the wallet.dat file is getting renamed and a new one is created. all my mined coins are gone. there are generally a lot of runtime exceptions and messages when operating the wallet.
how can I get my coins back? looks like there is no checkwallet/repairwallet implemented.
Page 0: metadata page corrupted
Page 0: could not check metadata page
wallet.dat: DB_VERIFY_BAD: Database verification failed
file unknown has LSN 1/3132, past end of log at 1/1076
Commonly caused by moving a database from one database environment
to another without clearing the database LSNs, or by removing all of
the log files from a database environment
looks like a critical bug in the QT wallet which kills the wallet.dat
Edit: salvagewallet did not work either
i'm still looking for a solution. lost around 120 coins that way. i don't want to think about someone losing thousands due to that bug.
All you need is the private key of your receiving address.
You can try the following. ALWAYS keep a backup of your wallet.
1. Take a note of your address.
2. Go to 'help > debug > console'
3. Type:
dumpprivkey YOURRECEIVINGADDRESS
4. Store the private key in a safe location.
5. Repeat for all your receiving addresses (if you have more than one)
Now, do whatever you want with the wallets. As soon as you have a working wallet, import your private key for each of your receiving addresses with the command:
importprivkey YOURPRIVATEKEYFORADDRESS "My Address Label"
Hope this helps.
I can't do that, as I can't load the wallet.dat file. One second after starting the QT wallet with the corrupted wallet.dat file, it says the wallet.dat is corrupted. and then the wallet.dat file is beeing renamed. I'll post more debug messages in a min.