Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: shadylane318 on October 24, 2013, 05:04:17 PM



Title: Bitcoin Wallet Crashing
Post by: shadylane318 on October 24, 2013, 05:04:17 PM
I recently upgraded to Mavericks on my Mac and now Bitcoin-QT has stopped functioning.

At first, the application would crash on startup so I decided to take out every file out of application support/bitcoin but I'm now getting a "system error: can't open database file wallet.dat error 30974"

Any ideas?


Title: Re: Bitcoin Wallet Crashing
Post by: deepceleron on October 25, 2013, 11:34:24 AM
error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery

There are log files that must not be touched in the database subdirectory. Put them back. Back up wallet.dat. You especially should not be modifying anything in that directory if Bitcoin is running; it can continue to run for a minute after you close it and the UI is gone.

You can rebuild your wallet.dat if this file is present but you were unable to restore other files. Bitcoin-qt -salvagewallet

We hope you didn't remove the file wallet.dat from the directory of course - if you deleted that and have no backup, any bitcoins you had in your wallet are GONE along with use of any addresses you had.


Title: Re: Bitcoin Wallet Crashing
Post by: shadylane318 on October 25, 2013, 04:47:42 PM
I haven't deleted any files. I have only moved them out. I was going to try to rebuild a new Bitcoin Wallet and then import the wallet.dat file.

Not a good idea? I can put the files back and then run that command in terminal