Author

Topic: Bitcoin-qt crashes, need help exporting my private keys to new wallet (Read 3291 times)

sr. member
Activity: 364
Merit: 250
Try to enter through the Bitcoin RPC

If you don't know how this may help
http://laanwj.github.com/bitcoin-python/doc/bitcoinrpc.connection.html
legendary
Activity: 2506
Merit: 1010
newbie
Activity: 14
Merit: 0
i had the correct password- now when i try to run bitcoin-qt i get this fatal error:

A fatal error occured. Bitcoin can no longer continue safely and will quit.

EXCEPTION: 22DbRunRecoveryException       
DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery       
bitcoin in Runaway exception
legendary
Activity: 2576
Merit: 1186
I know for the 2 cases I've heard of this crash, it turned out to be a rare case where the wrong password was being accepted erroneously, which then led to a crash. So for every good password, there were maybe 0.4% of all wrong passwords that crashed instead of giving an error. Reconsider whether you actually have the right password.
legendary
Activity: 2506
Merit: 1010
I remember someone else had this problem recently but it was resolved after getting a new blockchain or something like that.  [Update: Read luke-jr's suggestion first.]

It wouldn't hurt to try starting the client with -rescan.

If that doesn't fix it, try removing the blk*.dat from your data directory and restart.

Or, for testing purposes a quicker method to get a copy of the blockchain is to download a recent blockchain binary download:
 - http://bitcoin.stackexchange.com/questions/3551

As far as importing into a new wallet, v0.6.x as importprivkey:
 - http://en.bitcoin.it/wiki/Importprivkey
newbie
Activity: 14
Merit: 0
After encrypting my wallet on the Bitcoin client, it started to crash every time i entered the correct passphrase. After upgrading to 0.6.2 I am unable to start bitcoin-qt at all. How can I extract my private keys from the bitcoin client on my computer (wallet.dat?) so I can import them to a new wallet?

 *A thorough explanation of how to find my private keys within my wallet dump would help, as I have dumped my wallet using the web interface of pywallet.py*
 
I'm a relative newbie to Linux and working to familiarize myself with how it works- having a tiny bit of trouble wading through the command line interface. thanks in advance for any help!
Jump to: