Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: bitbuzzing on July 05, 2015, 09:44:55 AM



Title: Bitcoin QT Database corrupted
Post by: bitbuzzing on July 05, 2015, 09:44:55 AM
Hey itīs me again. The Bitcoin Core 0.10.2 crashes sometimes with this in the debug.log:
Quote
Corruption: block checksum mismatch
*** System error while flushing: Database corrupted
Shutdown: In Progress...
StopNode()
Corruption: block checksum mismatch
*** System error while flushing: Database corrupted
GUI: "registerShutdownBlockReason: Succesfully registered: Bitcoin Core didnīt ytt exit safely

Anyone knows how to fix this? (Windows 8.1 and I got an (online) anti-virus programm - donīt know if thatīs important)
The qt is running right now but it is shutting down from time to time.


Title: Re: Bitcoin QT Database corrupted
Post by: RappelzReborn on July 05, 2015, 09:59:17 AM
You usually get the message "Database Corrupted" on Bitcoin Core when you shutdown PC while Client is running or the little window didn't shutdown yet as far as I know .
But that's gets fixed alone , all you have to do is run your Bitcoin COre once again and let it Reindex or Synchronise with the network once again.


Title: Re: Bitcoin QT Database corrupted
Post by: bitbuzzing on July 05, 2015, 10:07:32 AM
Do I have to reindex the whole Blockchain or is opening the wallet and syncing the rest of the blockchain enough? I opened it and now it is syncing with the blockchain and all seems normal.

EDIT: I didnīt even close the bitcoin qt or the computer, it shut down itself?!


Title: Re: Bitcoin QT Database corrupted
Post by: RappelzReborn on July 05, 2015, 10:58:12 AM
Do I have to reindex the whole Blockchain or is opening the wallet and syncing the rest of the blockchain enough? I opened it and now it is syncing with the blockchain and all seems normal.

EDIT: I didnīt even close the bitcoin qt or the computer, it shut down itself?!

If Blockchain is already downloaded on your PC then once you run the Bitcoin Core wallet , It will start reindexing otherwise It will download the blockchian once again or part of it and show the msg "Sync with the Network" and you will have to wait till it finishs .
Maybe you killed the process or something like that , anyway that message wouldn't show unless the wallet has been closed while sync or reindex before or you didn't wait for the message to dissapear before shutdown the PC .


Title: Re: Bitcoin QT Database corrupted
Post by: achow101 on July 05, 2015, 02:58:31 PM
Do I have to reindex the whole Blockchain or is opening the wallet and syncing the rest of the blockchain enough? I opened it and now it is syncing with the blockchain and all seems normal.

EDIT: I didnīt even close the bitcoin qt or the computer, it shut down itself?!
Just run Bitcoin Core and it will do everything it needs. However, if it constantly shuts itself down, that means that it is detecting an error and you should check the debug.log. Also, that points to a larger problem than with Bitcoin Core itself. This usually means that there is something that is messing with the databases. It could be other software or your hardware. Perhaps disable your antivirus and check your hardware. Such issues could be indications of hardware failures.