Title: [SOLVED] Getting DB::Open Exception when attempting to run Bitcoin on OSX Post by: mr-sk on July 21, 2011, 01:10:41 PM I upgraded to OSX Lion yesterday but had to rollback my OS because too many applications were broken.
Upon finishing the rollback and attempting to launch bitcoin, I get the following errors: - Bitcoin EXCEPTION: 11DbException Db::open: Invalid Argument bitcoin in AppInit() And - Bitcoin EXCEPTION: 11DbException Db::open Invalid argument bitcion in CMyApp::OnUnhandledException() Those are both pop-up windows. My ~/Library/Application Support/Bitcoin folder is as follows: Code: ironcross:Bitcoin sk$ ls -al Any ideas what could be wrong? I'm thinking the backup version I rolled back was created while bitcoin was running and thus saved the wallet.dat in a bad state? I use time capsule + time machine for automated backups...? Title: Re: Getting DB::Open Exception when attempting to run Bitcoin on OSX Post by: mr-sk on July 21, 2011, 02:38:37 PM I fixed this by:
* Copy my /Bitcoin directory to Bitcoin-bak * Restart the latest version of Bitcoin (this will create the ~/Library/Application Support/Bitcoin directory) * Closed Bitcoin process * Copied my wallet.dat from Bitcoin-bak/ to Bitcoin * Started bitcoin process -- Had to download blocks first but then all the confirmations started coming in for my transactions any my balance is slowly going back to its original state. Title: Re: [SOLVED] Getting DB::Open Exception when attempting to run Bitcoin on OSX Post by: idev on July 31, 2011, 12:28:22 PM what to do if bitcoin is not located in my Application Support directory,
how can i find/save the wallet.dat file ? |