Error after reindex

2

Hello after I got an db error.. I try to reindex my db. But I got this error:

ERROR: ReadBlockFromDisk: Errors in block header at FlatFilePos(nFile=75, nPos=117947311)

So what can I do to fix it ?

System: 4 cores 2 GB RAM 500GB ISCI Storage

Pixxelcrasher

Posted 2019-08-06T14:32:13.177

Reputation: 21

1

The db error was that: https://throwbitcoins.blogspot.com/2018/11/exception-15dbwrappererror.html Also no idea to fix it ;)

Pixxelcrasher 2019-08-06T14:33:30.223

I think this is an error caused a file blk corrupt, try to resincronize the bircoin corevincenzopalazzo 2019-08-06T18:33:29.987

Now I got these: 2019-08-07T05:26:28Z ERROR: ReadBlockFromDisk: Deserialize or I/O error - ReadCompactSize(): size too large: iostream error at FlatFilePos(nFile=68, nPos=64215124) 2019-08-07T05:26:28Z *** Failed to read block 2019-08-07T05:26:28Z Error: A fatal internal error occurred, see debug.log for details 2019-08-07T05:26:28Z Failed to connect best block (Failed to read block (code 0)) Please HelpPixxelcrasher 2019-08-07T05:32:06.813

The error persists, This line ReadBlockFromDisk: Deserialize or I/O error - ReadCompactSize() confirmed my thesis on the persistent file corrupt. Try to resynchronize directory with another location. Your file blk are downloaded with bitcoin core node or you downloaded it with another mode (an example torrent)vincenzopalazzo 2019-08-07T08:02:17.890

Answers

1

Your blockchain is corrupted. In Bitcoin Core's datadir, go to the blocks folder. Delete the file named blk0075.dat and ever blk*.dat file with a higher number. Also delete rev0075.dat and every rev*.dat file with a higher number. Start Bitcoin Core, it will need to reindex. At this point, it should begin building the block databases, and it will then download the blocks that you deleted once it gets to that point.

Andrew Chow

Posted 2019-08-06T14:32:13.177

Reputation: 40 910

1If he deletes block files corresponding to already active blocks, he'll need a reindex from scratch anyway.Pieter Wuille 2019-08-09T02:53:33.297