Bitcoin Forum
May 09, 2024, 05:43:55 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Database error: DB_RUNRECOVERY: Fatal error, run database recovery  (Read 18112 times)
RaTTuS
Hero Member
*****
Offline Offline

Activity: 792
Merit: 1000


Bite me


View Profile
September 06, 2011, 11:21:58 AM
 #21

1) JackJack knows what he's talking about
2) stop the client
- make sure the client is stopped and there are no bitcoin processes running
3) backup the .bitcoin directory
4) delete these
blk0001.dat 
blkindex.dat
db.log 
debug.log
__db.001
__db.002
__db.003
__db.004
__db.005
__db.006
5) restart the client with a rescan i.e.
bitcoin -rescan
6) wait until all blocks are downloaded [if you have blk0001.dat and blkindex.dat on another machine this can speed the issue up]

In the Beginning there was CPU , then GPU , then FPGA then ASIC, what next I hear to ask ....

1RaTTuSEN7jJUDiW1EGogHwtek7g9BiEn
The network tries to produce one block per 10 minutes. It does this by automatically adjusting how difficult it is to produce blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715276635
Hero Member
*
Offline Offline

Posts: 1715276635

View Profile Personal Message (Offline)

Ignore
1715276635
Reply with quote  #2

1715276635
Report to moderator
1715276635
Hero Member
*
Offline Offline

Posts: 1715276635

View Profile Personal Message (Offline)

Ignore
1715276635
Reply with quote  #2

1715276635
Report to moderator
haydent
Full Member
***
Offline Offline

Activity: 154
Merit: 100



View Profile
December 12, 2011, 10:34:15 AM
 #22

after upgrading to latest version and restarting a few times i got this error mentioned. reinstalling (without uninstall) worked but only till i restarted the client the next time.

then thought id try deleting the file in database folder, this worked too, and lasts client restarts

also using an older version pre qt worked too, infact i have them both in the saem install as i didnt uninstall pre-qt version b4 installing qt version.

there's something about seeing the confirm numbers ticking over as your block chain updates that i miss from the old client.... ;(

2x Gigabyte 6950 OC @ 920/450 w/ ati tray tools (1 shader modded) - 760Mhs on ozco.in 0% fee aus pool
btc: 1HS5Brzcsh7XkJn566XYbvfpa2JuBRBdss
zveda2000
Member
**
Offline Offline

Activity: 60
Merit: 10


View Profile
December 14, 2011, 06:53:03 AM
 #23

OK I just had this happen to me:

1. Power in house went out causing PC to switch off.
2. When power came back on and I restarted, the bitcoin database was corrupted and caused the machine to completely freeze on the "Loading Addresses" splash screen, since I set my bitcoin-qt to run as PC boots up. I tried restarting about 5-10 times til I realised it was bitcoin-qt that was doing it. It made the machine completely unusable. Couldn't even kill any processes. The log file was saying something about "PANIC" and to do database recovery. Very annoying. I know a corrupted bitcoin database is bad but I don't see why it should break the whole machine. Even ctrl-alt-backspace wouldn't work anymore.

So I deleted all the database files and now bitcoin-qt opens fine and starts syncing. However, if while it is syncing I go into options, don't change anything, and click OK, that causes it to immediately crash for some reason. 

I am running version 0.5.0.1 BTW with Linux Mint 11.

Hope it helps.

haydent
Full Member
***
Offline Offline

Activity: 154
Merit: 100



View Profile
December 14, 2011, 06:54:49 AM
 #24

i spoke too soon, i still get these crashes een with old version though maybe not as much, but deleting the database folder still works for me atleast temporarily.

2x Gigabyte 6950 OC @ 920/450 w/ ati tray tools (1 shader modded) - 760Mhs on ozco.in 0% fee aus pool
btc: 1HS5Brzcsh7XkJn566XYbvfpa2JuBRBdss
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!