Getting a fatal error while installing bitcoin core

5 replies 325 views
tony100Member
Posts: 2 · Reputation: 58
#1Jan 16, 2021, 02:07 AM
Hey everyone, I've been trying to install bitcoin core a few times these past few days. Each time I kick off the installation, I make it through the syncing part, but there’s no visible progress. When the progress starts showing up, usually around 5%, I see this in the debug log: 2024-03-16T01:47:08Z *** Found a corrupt block, suggesting possible hardware issues; shutting down 2024-03-16T01:47:08Z Error: A critical internal error occurred, check debug.log for more info 2024-03-16T01:48:50Z ERROR: ConnectTip: ConnectBlock 000000000000000003f7db5e0b08cf5aa220078f8734d7fbe4041e420ee82832 failed, bad-txnmrklroot, hashMerkleRoot mismatch 2024-03-16T01:48:50Z *** Unable to connect the best block (bad-txnmrklroot, hashMerkleRoot mismatch) 2024-03-16T01:48:50Z Error: A critical internal error occurred, check debug.log for more info 2024-03-16T01:48:51Z Imported mempool transactions from disk: 0 succeeded, 0 failed, 0 expired, 0 already there, 0 waiting for initial broadcast 2024-03-16T01:48:51Z initload thread exit 2024-03-16T01:48:51Z tor: Thread interrupt 2024-03-16T01:48:51Z Shutdown: In progress... 2024-03-16T01:48:51Z torcontrol thread exit 2024-03-16T01:48:51Z opencon thread exit 2024-03-16T01:48:51Z addcon thread exit 2024-03-16T01:48:51Z net thread exit 2024-03-16T01:48:51Z msghand thread exit 2024-03-16T01:48:52Z DumpAnchors: Started flushing 2 outbound block-relay-only peer addresses to anchors.dat 2024-03-16T01:48:52Z DumpAnchors: Completed flushing 2 outbound block-relay-only peer addresses to anchors.dat (0.00s) 2024-03-16T01:48:52Z scheduler thread exit 2024-03-16T01:48:52Z Flushed
5 Reply Quote Share
ryan_nodeSenior Member
Posts: 204 · Reputation: 859
#2Jan 16, 2021, 08:19 AM
As the debug.log states, a corrupt block was found on disk, which indicates a potential hardware failure. This could just be a fluke (e.g. a cosmic ray bit flip) and you could try to resolve it by deleting the blocks and chainstate directories so that it will resync from scratch. However, if you do that and continue to have block corruption errors, you probably want to run some diagnostics to check if your hardware is failing.
3 Reply Quote Share
bull_2019Senior Member
Posts: 296 · Reputation: 1992
#3Jan 16, 2021, 01:17 PM
I encountered same error recently and it mostly occurs  when you forcefully shutdown your bitcoin core while it's  writing  the chainstate, that little dialogue box that comes up when you close your bitcoin core or if your sys unexpected shutsdown or a corrupt disk. If the synchronisation process haven't gone far you should just restart the synchronising process from start just as it has been advised by @achow101, or you could perform re-index but I wouldn't  advise that . You could just delete the directory  folder files entirely  and run bitcoin core again  if you have a wallet data you could save it to import it without having to create another one or you could just delete the chainstate and index file [Edt] You can check: https://bitcointalk.org/index.php?topic=5484626.msg63643316#msg63643316 https://bitcointalk.org/index.php?topic=5484626.msg63644201#msg63644201 For reindex : Check Reindex
4 Reply Quote Share
yield_forkFull Member
Posts: 162 · Reputation: 728
#4Jan 16, 2021, 05:18 PM
I saw that you are using Windows to run the bitcoin core node, I have suffered with this several times, but after I started using bitcoin core on Linux, I never had this problem again. As @promise444c5 warned, this happens because you probably forcibly turned off your bitcoin core while it was running, this on Windows corrupts the block files forcing you to download or reindex the blocks from scratch. The best option, if you continue using Windows, is before turning off the computer, close bitcoin core and wait for the dialog window to disappear, doing this drastically reduces the chances of your database being corrupted (don't worry, regardless of the database failing, your coins will always be safe). Easiest solution: use bitcoin core on linux.
0 Reply Quote Share
tony100Member
Posts: 2 · Reputation: 58
#5Jan 16, 2021, 07:23 PM
Thank you it was the problem . Error in in BUS motherboard to USB.  I m try on a different computer and it is work
4 Reply Quote Share
paul2017Senior Member
Posts: 218 · Reputation: 1426
#6Jan 18, 2021, 03:51 AM
This might be related to your situation... The Raspberry Pi 4 is barely capable of powering a USB SSD. I had problems with intermittent disk corruption until I switched to a powered USB hub.
4 Reply Quote Share

Related topics