Bitcoin Forum

Other => Beginners & Help => Topic started by: bobsmith on April 05, 2012, 07:21:52 PM



Title: ubuntu 11.10 bitcoin says loading addresses then dissapears
Post by: bobsmith on April 05, 2012, 07:21:52 PM
Hi guys,

I am running Ubuntu 11.10 on an eee pc (6 months old). I am a newbie to linux so please give me advice as if it was to your grandmother : ).

I Installed bitcoin today using https://bitcointalk.org/index.php?topic=53791.0 (Thanks for that)
once installed bitcoin i went to the 'dash home' load bitcoin and it says loading addresses then dissapears

I have uninstalled bitcoin and reinstalled three times.
I have deleted the addr.dat file in .bitcoin folder
I have restarted several times
I have left it for a while
In the file I initially downloaded from bitcoin.org the read me file (down at the bottom) said there was a problem with one of the qt programs for the screen so i turned that off(uninstalled)

I have searched around this forum and others + google and can't seem to find an answer

Thanks for your assistance in advance


Title: Re: ubuntu 11.10 bitcoin says loading addresses then dissapears
Post by: bobsmith on April 05, 2012, 07:34:35 PM
Thanks for the quick reply

How much diskspace is required? I have 71 Gb avalible

When i ran the code you gave me i get this.

bob@011235813:~$ tail ~/.bitcoin/debug.log
Default data directory /home/bob/.bitcoin
Loading addresses...
dbenv.open strLogDir=/home/bob/.bitcoin/database strErrorFile=/home/bob/.bitcoin/db.log


************************
EXCEPTION: 22DbRunRecoveryException       
DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery       
bitcoin in Runaway exception   

hopefully that is helpfull

thanks again


Title: Re: ubuntu 11.10 bitcoin says loading addresses then dissapears
Post by: bobsmith on April 05, 2012, 07:49:27 PM
Ok got it working

The debug gave me this '22DbRunRecoveryException' to look up.

apparently 'This is a Berkeley DB version mismatch between the last and current version of bitcoin.

Recovery is:
make sure bitcoin is not running
cd into your .bitcoin directory
rm -rf db* database* .lock *.pid
'

I used this site https://github.com/bitcoin/bitcoin/issues/809 (hope it is ok to post external links)

Thank you for pointing me in the right direction

Thanks from a new bitcoin user