Bitcoin Forum
June 17, 2019, 05:51:41 AM *
News: Latest Bitcoin Core release: 0.18.0 [Torrent] (New!)
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin will not start up after upgrade to 0.5.2  (Read 1854 times)
GideonGono
Hero Member
*****
Offline Offline

Activity: 896
Merit: 500



View Profile
January 19, 2012, 08:38:21 PM
 #1

I downloaded bitcoin 0.5.2 yesterday replacing 0.5.0rc7 which I was using before. The blockchain updated as normal and I exited. Today, I tried opening bitcoin-qt from terminal and it showed the loading screen but it quickly disappeared and the following error was left in the terminal window:

Code:
ubuntu@ubuntu-desktop:~/$ bitcoin-qt


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

terminate called after throwing an instance of 'DbRunRecoveryException'
  what():  DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery
Aborted
ubuntu@ubuntu-desktop:~/$


Now bitcoin will not start and neither will the headless daemon. I have a backup of my wallet. How do I fix this?

BTW I use Ubuntu 10.04

           ▄▄███████████▄▄▄
        ███            ▀▀█████▄
      ██                   ▀█████▄
    ██                       ▀█████
   █          ██  ██           █████
  █           ██  ██            █████
 █        ▄▄███████████          █████
 █        █████████████           ████▌
█         █████                   █████
█         █████                   █▀ ▀█
█         ████████████              ▄ 
█         ████████████            ▄███▄
█         █████                   █████
 █        █████                   ████▌
 █        █████████████          █████
  █       ▀▀███████████         █████
   █▄         ██  ██          ▄████▀
    ▀█        ██  ██        ▄████▀
      ▀█▄                 ▄████▀
         ▀▀█▄▄▄▄▄▄▄▄▄▄▄███▀▀▀
██
██  ██  ██
██
██  ██  ██
██  ██  ██
██  ██  ██
██  ██  ██
██  ██  ██
██  ██  ██
██  ██  ██
██
██  ██  ██
██
██
██  ██  ██
██
██  ██  ██
██  ██  ██
██  ██  ██
██  ██  ██
██  ██  ██
██  ██  ██
██  ██  ██
██
██  ██  ██
██
▄███▄
███████████████████████
██                   ██
██ ░███████████████░ ██
██                   ██
▀███ ░███████████████░ ███▀
▄  ▀█                   █▀  ▄
██▄    ███████████████    ▄██
████▄                   ▄████
██████▄               ▄██████
████████             ████████
██████▀  ▄██▄   ▄██▄  ▀██████
████▀  ▄██████▄██████▄  ▀████
██▀  ▄█████████████████▄  ▀██

WHITEPAPER
.▒██████████████████████▒
▒████████████████████████▒
▒████████████████████████▒
▒██▄     ███████     ▄███▒
▒████     █████     █████▒
▒████ ▌    ███▌     █████▒
▒████ █     █▌ ▐    █████▒
▒████ ██      ▐█    █████▒
▒████ ███    ▐██    █████▒
▒███▀ ▀███   ███    █████▒
▒█▀     ▀██ ██▀      ▀███▒
▒████████████████████████▒
.▒██████████████████████▒
.▒██████████████████████▒
▒████████████████████████▒
▒█████████████▀    ▀█████▒
▒██░▀████████▌      ▀████▒
▒██░   ▀████▀        ▀███▒
▒██                 █████▒
▒███                █████▒
▒█████              █████▒
▒██████           ▄██████▒
▒█████▀         ▄████████▒
▒███▄▄      ▄▄███████████▒
▒████████████████████████▒
 ▒██████████████████████▒
.▒██████████████████████▒
▒████████████████████████▒
▒████████████████████████▒
▒████████████▀▀    ▓█████▒
▒███████▀▀     ▄▀  ▓█████▒
▒███▀▀       ▄▀    ██████▒
▒██░       ▄▀░░    ██████▒
▒████▄▄  ▄▀       ███████▒
▒████████▄░       ███████▒
▒█████████        ███████▒
▒██████████ ██▄▄ ████████▒
▒████████████████████████▒
 ▒██████████████████████▒
1560750701
Hero Member
*
Offline Offline

Posts: 1560750701

View Profile Personal Message (Offline)

Ignore
1560750701
Reply with quote  #2

1560750701
Report to moderator
1560750701
Hero Member
*
Offline Offline

Posts: 1560750701

View Profile Personal Message (Offline)

Ignore
1560750701
Reply with quote  #2

1560750701
Report to moderator
Try The Brand New Ethereum Game
50 Last Players Also Win The Bank
Works On Any iOS/Android Device With Standard Browser
Join Us On Telegram To Get Notified When You Can Win
COLOR PIXELS
AND WIN
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1560750701
Hero Member
*
Offline Offline

Posts: 1560750701

View Profile Personal Message (Offline)

Ignore
1560750701
Reply with quote  #2

1560750701
Report to moderator
1560750701
Hero Member
*
Offline Offline

Posts: 1560750701

View Profile Personal Message (Offline)

Ignore
1560750701
Reply with quote  #2

1560750701
Report to moderator
1560750701
Hero Member
*
Offline Offline

Posts: 1560750701

View Profile Personal Message (Offline)

Ignore
1560750701
Reply with quote  #2

1560750701
Report to moderator
jake262144
Full Member
***
Offline Offline

Activity: 210
Merit: 100


View Profile
January 21, 2012, 02:57:35 PM
 #2

One of the databases(1) (either the block chain or the wallet) got corrupt.

Move the block chain data (addr.dat, blk0001.dat, blkindex.dat) into a temporary sub-directory so bitcoin-qt can't find them.
If any of those files were damaged, bitcoin-qt will now launch and start downloading the whole block chain from scratch.
If bitcoin-qt still fails, put the block chain files where they belong and deploy your backed-up wallet.

Notes:
(1) Actually, I should have said "At least one" but an event resulting in damage both to the block chain data and wallet is very unlikely.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!