Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: D4CH on August 30, 2012, 10:13:17 AM



Title: bitcoin-qt on Ubuntu 12.04 LTS "Runaway exception"
Post by: D4CH on August 30, 2012, 10:13:17 AM
I installed bitcoin via
Code:
sudo apt-add-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install bitcoin-qt

And this when running bitcoin-qt via terminal this show up:

Quote
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


I'm a complete linux noob. So can anyone help me?


Title: Re: bitcoin-qt on Ubuntu 12.04 LTS "Runaway exception"
Post by: wumpus on September 08, 2012, 12:31:02 PM
I installed bitcoin via
Code:
sudo apt-add-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install bitcoin-qt

And this when running bitcoin-qt via terminal this show up:

Quote
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


I'm a complete linux noob. So can anyone help me?
Delete everything from ~/.bitcoin except for wallet.dat.


Title: Re: bitcoin-qt on Ubuntu 12.04 LTS "Runaway exception"
Post by: Raoul Duke on September 08, 2012, 03:48:44 PM
You may try to only delete the file named addr.dat first and see if it fixes it ;)