Bitcoin Forum
April 25, 2024, 06:47:24 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Error: Error reading from database  (Read 297 times)
SubaruSteve (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
February 27, 2020, 12:00:45 PM
 #1

Version: 0.19.0.1
OS: Windows 10 Pro

It has redownloaded the blockchain multiple times all with the same result.
Litecoin has done the same thing.
seems to have been caused by running Potcoin core and either one of Bitcoin Core or Litecoin Core at the same time.
Remember that Bitcoin is still beta software. Don't put all of your money into BTC!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714027644
Hero Member
*
Offline Offline

Posts: 1714027644

View Profile Personal Message (Offline)

Ignore
1714027644
Reply with quote  #2

1714027644
Report to moderator
1714027644
Hero Member
*
Offline Offline

Posts: 1714027644

View Profile Personal Message (Offline)

Ignore
1714027644
Reply with quote  #2

1714027644
Report to moderator
1714027644
Hero Member
*
Offline Offline

Posts: 1714027644

View Profile Personal Message (Offline)

Ignore
1714027644
Reply with quote  #2

1714027644
Report to moderator
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
February 27, 2020, 12:07:21 PM
 #2

Try renaming the last blk file in the blocks directory of the data dir for bitcoin core and try again.

What is the default directory for potcoin? Bitcoin and litecoin use different data dirs so it might be a hardware issue if the above doesn't resolve it.
SubaruSteve (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
February 28, 2020, 04:15:40 AM
Last edit: February 28, 2020, 04:26:20 AM by SubaruSteve
 #3

Potcoin data: C:\Users\-user-\AppData\Roaming\Potcoin

Does it make any difference that I'm running it in pruned mode?
SubaruSteve (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
February 29, 2020, 01:13:27 PM
 #4

2020-02-27T12:26:00Z Pre-allocating up to position 0xf00000 in rev00012.dat
2020-02-27T12:26:00Z UpdateTip: new best=00000000000009355e499cd32cdcd379c16867c4d86cf2d6e7f0342fa3abbfd9 height=184315 version=0x00000001 log2_work=68.258847 tx=3999207 date='2012-06-13T07:22:19Z' progress=0.007853 cache=11.7MiB(39606txo)
2020-02-27T12:26:01Z UpdateTip: new best=00000000000008e029f1ac69c5440b6734dad4549b99b8f6def47eaa4139d118 height=184316 version=0x00000001 log2_work=68.258874 tx=3999773 date='2012-06-13T07:30:37Z' progress=0.007854 cache=11.8MiB(39863txo)
2020-02-27T12:26:01Z UpdateTip: new best=00000000000002da90afaff5201347378dfcf984ee36256f8f240d1345377fe4 height=184317 version=0x00000001 log2_work=68.258902 tx=4000428 date='2012-06-13T07:39:30Z' progress=0.007855 cache=11.8MiB(40151txo)
2020-02-27T12:26:01Z UpdateTip: new best=0000000000000888d480b1a5d8bcb3e03a9891dbffccb8b1ceb90c22650b239c height=184318 version=0x00000001 log2_work=68.25893 tx=4000583 date='2012-06-13T08:18:57Z' progress=0.007856 cache=11.8MiB(40432txo)
2020-02-27T12:26:01Z UpdateTip: new best=00000000000007bda3618e1e1e4072167a55586c465e4d356a9dfd9f075c70f0 height=184319 version=0x00000001 log2_work=68.258958 tx=4001278 date='2012-06-13T08:48:24Z' progress=0.007857 cache=11.9MiB(40933txo)
2020-02-27T12:26:01Z UpdateTip: new best=00000000000004aa3df9d37fa3dd4a439c083caa52736754118964b46a22a591 height=184320 version=0x00000001 log2_work=68.258986 tx=4001288 date='2012-06-13T08:48:18Z' progress=0.007857 cache=11.9MiB(40941txo)
2020-02-27T12:26:01Z UpdateTip: new best=0000000000000a2619d9773adadb80b7446fa8e79ee29bc5ec43c8651133de72 height=184321 version=0x00000001 log2_work=68.259013 tx=4001944 date='2012-06-13T08:50:24Z' progress=0.007858 cache=11.9MiB(41202txo)
2020-02-27T12:26:01Z UpdateTip: new best=0000000000000769153fdd41ff0df8e34a42b750c3a9fa9912df99d6c961a31c height=184322 version=0x00000001 log2_work=68.259041 tx=4001988 date='2012-06-13T08:59:59Z' progress=0.007858 cache=11.9MiB(41293txo)
2020-02-27T12:26:01Z UpdateTip: new best=00000000000002c8d62007c996d3869df1e12398ce22c8655e8cccae5c2db912 height=184323 version=0x00000001 log2_work=68.259069 tx=4002525 date='2012-06-13T09:14:17Z' progress=0.007859 cache=11.9MiB(40941txo)
2020-02-27T12:26:01Z UpdateTip: new best=000000000000064902d85dc989aec685b4d815267fe124db5803df61d220972c height=184324 version=0x00000001 log2_work=68.259097 tx=4003237 date='2012-06-13T09:23:19Z' progress=0.007861 cache=11.9MiB(41329txo)
2020-02-27T12:26:01Z UpdateTip: new best=000000000000010024d2079e7b3555d4808a89edb17f6a8b486239f8065e58d4 height=184325 version=0x00000001 log2_work=68.259124 tx=4003870 date='2012-06-13T09:23:09Z' progress=0.007862 cache=11.9MiB(40908txo)
2020-02-27T12:26:01Z UpdateTip: new best=000000000000054af17d11c5a861c5b0e6a7faa92c5498df6927784cf9dd1813 height=184326 version=0x00000001 log2_work=68.259152 tx=4004339 date='2012-06-13T09:32:43Z' progress=0.007863 cache=11.9MiB(40778txo)
2020-02-27T12:26:01Z UpdateTip: new best=000000000000032c80327f394a7cb20b86190bc6699b6f6fdf513ff51a832d3c height=184327 version=0x00000001 log2_work=68.25918 tx=4004473 date='2012-06-13T09:41:00Z' progress=0.007863 cache=11.9MiB(40893txo)
2020-02-27T12:26:01Z UpdateTip: new best=00000000000001f0d47fe13a8e5e181daa5b7af4ef2736675c694a18888dec3e height=184328 version=0x00000001 log2_work=68.259208 tx=4005040 date='2012-06-13T09:49:09Z' progress=0.007864 cache=11.9MiB(41040txo)
2020-02-27T12:26:01Z UpdateTip: new best=000000000000016abbf93ac902023889f538e3beb8f59052c582dcbd4ea85a37 height=184329 version=0x00000001 log2_work=68.259235 tx=4005168 date='2012-06-13T09:57:06Z' progress=0.007865 cache=11.9MiB(41100txo)
2020-02-27T12:26:01Z UpdateTip: new best=00000000000005f798953f8a268f28cfe417382aeed235cb586cec4f5f936617 height=184330 version=0x00000001 log2_work=68.259263 tx=4005295 date='2012-06-13T10:06:22Z' progress=0.007865 cache=11.9MiB(41176txo)
2020-02-27T12:26:01Z UpdateTip: new best=00000000000001a4e8e6573c552d93533ce13f89f6cf2007ff3b5a906ef3a78f height=184331 version=0x00000001 log2_work=68.259291 tx=4005865 date='2012-06-13T10:08:07Z' progress=0.007866 cache=12.0MiB(41586txo)
2020-02-27T12:26:01Z UpdateTip: new best=0000000000000a3e987f144e8742e12921d10dd18b441798192a0551d7463ea3 height=184332 version=0x00000001 log2_work=68.259319 tx=4006456 date='2012-06-13T10:12:10Z' progress=0.007867 cache=12.0MiB(41720txo)
2020-02-27T12:26:01Z UpdateTip: new best=0000000000000a103854d311c75db4e7021cfd7c3ca75ee515493dd120946e4d height=184333 version=0x00000001 log2_work=68.259347 tx=4006951 date='2012-06-13T10:13:33Z' progress=0.007868 cache=12.0MiB(41895txo)
2020-02-27T12:26:01Z UpdateTip: new best=0000000000000105662f4c86dfec6639c77fdb8a9369c6f7091dabd61806c30d height=184334 version=0x00000001 log2_work=68.259374 tx=4007463 date='2012-06-13T10:16:47Z' progress=0.007869 cache=12.0MiB(41816txo)
2020-02-27T12:26:01Z UpdateTip: new best=00000000000000b06ff9da5369167e0f1e0aaff4042e5b1ad392bee1ada4b407 height=184335 version=0x00000001 log2_work=68.259402 tx=4007489 date='2012-06-13T10:25:07Z' progress=0.007869 cache=12.0MiB(41866txo)
2020-02-27T12:26:02Z UpdateTip: new best=000000000000091dfb3fabe24391162c4ea8fac12d2f1faf818a85cb5449cda1 height=184336 version=0x00000001 log2_work=68.25943 tx=4007745 date='2012-06-13T10:25:48Z' progress=0.007870 cache=12.0MiB(42095txo)
2020-02-27T12:26:02Z UpdateTip: new best=0000000000000209067a006d85de52804c56bc8075b83083190815a48e31923b height=184337 version=0x00000001 log2_work=68.259458 tx=4007883 date='2012-06-13T10:38:48Z' progress=0.007870 cache=12.1MiB(42236txo)
2020-02-27T12:26:02Z UpdateTip: new best=0000000000000665f1254eabf8336e89f785d6197e35acff81476b2af5748ed3 height=184338 version=0x00000001 log2_work=68.259485 tx=4007957 date='2012-06-13T10:39:42Z' progress=0.007870 cache=12.0MiB(42133txo)
2020-02-27T12:26:02Z UpdateTip: new best=00000000000004f65516df495cbd87b3e8e414bd6f0b927af5912da95da3321b height=184339 version=0x00000001 log2_work=68.259513 tx=4007968 date='2012-06-13T11:00:27Z' progress=0.007870 cache=12.0MiB(42160txo)
2020-02-27T12:26:02Z UpdateTip: new best=00000000000004d975045375e51e5d486ad66ea816eebd897db076b052e70a40 height=184340 version=0x00000001 log2_work=68.259541 tx=4008566 date='2012-06-13T11:35:37Z' progress=0.007871 cache=12.1MiB(42902txo)
2020-02-27T12:26:02Z UpdateTip: new best=000000000000033ddb6ef4f2aff640e24ff90f733cb05c1f41a41731b3158615 height=184341 version=0x00000001 log2_work=68.259569 tx=4009421 date='2012-06-13T11:42:41Z' progress=0.007873 cache=12.2MiB(43563txo)
2020-02-27T12:26:02Z UpdateTip: new best=000000000000041f93a6de9dff64fccda5d218e3a45529d5316a3faf295ee1ba height=184342 version=0x00000001 log2_work=68.259596 tx=4010129 date='2012-06-13T11:46:28Z' progress=0.007874 cache=12.3MiB(44140txo)
2020-02-27T12:26:02Z UpdateTip: new best=0000000000000216cfe07cec7837d1a3907e06067c53828851a2e4f8b182c3d5 height=184343 version=0x00000001 log2_work=68.259624 tx=4010707 date='2012-06-13T11:59:13Z' progress=0.007876 cache=12.4MiB(44850txo)
2020-02-27T12:26:02Z UpdateTip: new best=000000000000045365972b7c598fd0f9d5443a15bff2afa588e8bc1bfa9a332c height=184344 version=0x00000001 log2_work=68.259652 tx=4011731 date='2012-06-13T12:10:25Z' progress=0.007878 cache=12.5MiB(45522txo)
2020-02-27T12:26:02Z UpdateTip: new best=00000000000009d374c98a6afe248b8e394dcb154b3c799eaf8202758700fa0d height=184345 version=0x00000001 log2_work=68.25968 tx=4012281 date='2012-06-13T12:16:35Z' progress=0.007879 cache=12.5MiB(45915txo)
2020-02-27T12:26:02Z UpdateTip: new best=000000000000015c084e3bfbb559a3664279c62fcb471ef173def042ccc5a36e height=184346 version=0x00000001 log2_work=68.259707 tx=4012897 date='2012-06-13T12:27:29Z' progress=0.007880 cache=12.5MiB(46063txo)
2020-02-27T12:26:02Z UpdateTip: new best=0000000000000854bb29a47aba382fc4930867efcfc2ca1c2b6ec6a7eba20621 height=184347 version=0x00000001 log2_work=68.259735 tx=4013597 date='2012-06-13T12:35:39Z' progress=0.007881 cache=12.6MiB(46628txo)
2020-02-27T12:26:02Z UpdateTip: new best=00000000000006c8b78a2fbdaaf2304feb2a5b98186be74bf7d89eba606ca09d height=184348 version=0x00000001 log2_work=68.259763 tx=4014264 date='2012-06-13T12:40:38Z' progress=0.007883 cache=12.6MiB(46958txo)
2020-02-27T12:26:02Z UpdateTip: new best=00000000000000f23766450f0441ebd3f4eaec3560cf3ba62ca269f740e29661 height=184349 version=0x00000001 log2_work=68.259791 tx=4014402 date='2012-06-13T12:49:37Z' progress=0.007883 cache=12.6MiB(47040txo)
2020-02-27T12:26:02Z UpdateTip: new best=00000000000003ca6c6cf857d7d4817e937407dc66d57e9769ea433a005d9738 height=184350 version=0x00000001 log2_work=68.259819 tx=4015088 date='2012-06-13T13:05:43Z' progress=0.007884 cache=12.7MiB(47591txo)
2020-02-27T12:26:02Z UpdateTip: new best=00000000000003144851969fcac6b3ce9aba32ac74abea897cf94663035e0446 height=184351 version=0x00000001 log2_work=68.259846 tx=4015100 date='2012-06-13T13:22:05Z' progress=0.007884 cache=12.7MiB(47624txo)
2020-02-27T12:26:02Z Pre-allocating up to position 0x1000000 in rev00012.dat
2020-02-27T12:26:02Z UpdateTip: new best=00000000000005bffb8284527a531232e33c4b93920f63d0f293e2b7bf2cc559 height=184352 version=0x00000001 log2_work=68.259874 tx=4015608 date='2012-06-13T13:20:54Z' progress=0.007885 cache=12.7MiB(47882txo)
2020-02-27T12:26:02Z UpdateTip: new best=0000000000000354688cd51355724e2a85ec3f3a32e2c1457ec64ebde42f2fc1 height=184353 version=0x00000001 log2_work=68.259902 tx=4016236 date='2012-06-13T13:26:45Z' progress=0.007886 cache=12.8MiB(48437txo)
2020-02-27T12:26:02Z UpdateTip: new best=000000000000056e25c16d7f2846ea8c6c489f3cb4b7b10069a2687befd2f919 height=184354 version=0x00000001 log2_work=68.25993 tx=4016245 date='2012-06-13T13:33:17Z' progress=0.007886 cache=12.8MiB(48449txo)
2020-02-27T12:26:02Z tor: Thread interrupt
2020-02-27T12:26:02Z opencon thread exit
2020-02-27T12:26:02Z Shutdown: In progress...
2020-02-27T12:26:02Z torcontrol thread exit
2020-02-27T12:26:02Z addcon thread exit
2020-02-27T12:26:02Z UpdateTip: new best=000000000000091c46ff011219a805d39e69ce51a4ea4f417aa0ab760cf1f2fe height=184355 version=0x00000001 log2_work=68.259957 tx=4016939 date='2012-06-13T13:38:56Z' progress=0.007888 cache=12.9MiB(49133txo)
2020-02-27T12:26:02Z msghand thread exit
2020-02-27T12:26:02Z net thread exit
2020-02-27T12:26:03Z scheduler thread interrupt
2020-02-27T12:26:03Z Dumped mempool: 0s to copy, 0.004996s to dump
2020-02-27T12:26:03Z [default wallet] Releasing wallet
2020-02-27T12:26:03Z Shutdown: done
SubaruSteve (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
March 01, 2020, 11:10:08 AM
 #5

I tried again, and it went past the last failure point then failed again.
excerpt from the log:

2020-03-01T11:06:00Z UpdateTip: new best=0000000000000000077b34d7356678c93395cdc8be50db6615ac0f499e3c6b0d height=349381 version=0x00000002 log2_work=82.505503 tx=63571178 date='2015-03-26T21:24:23Z' progress=0.124595 cache=68.3MiB(501197txo)
2020-03-01T11:06:00Z UpdateTip: new best=000000000000000002d1f57765e4f5e665ebd67465ea224823881874679225d3 height=349382 version=0x00000002 log2_work=82.505545 tx=63572600 date='2015-03-26T21:34:19Z' progress=0.124598 cache=68.4MiB(501909txo)
2020-03-01T11:06:00Z Pre-allocating up to position 0x1200000 in rev00247.dat
2020-03-01T11:06:00Z UpdateTip: new best=0000000000000000026675aa55e8b1d14a4627d1cd1f5c90bf40adfb86dc7547 height=349383 version=0x00000002 log2_work=82.505587 tx=63574106 date='2015-03-26T21:48:51Z' progress=0.124601 cache=68.8MiB(504739txo)
2020-03-01T11:06:01Z UpdateTip: new best=000000000000000013095668738d2de09fec79729e3fada058e734eed017f777 height=349384 version=0x00000002 log2_work=82.505629 tx=63575484 date='2015-03-26T22:04:31Z' progress=0.124603 cache=69.0MiB(506609txo)
2020-03-01T11:06:01Z UpdateTip: new best=000000000000000002ee1f5bad5ee33b13caa31ce0ff8ab2d03808de26fff18f height=349385 version=0x00000002 log2_work=82.505671 tx=63576876 date='2015-03-26T22:24:59Z' progress=0.124606 cache=69.1MiB(507399txo)
2020-03-01T11:06:01Z UpdateTip: new best=00000000000000000e6e6c5b8d5b0bc233c199fe2fd42574d729befb9da10225 height=349386 version=0x00000002 log2_work=82.505713 tx=63577968 date='2015-03-26T22:44:11Z' progress=0.124608 cache=69.9MiB(513913txo)
2020-03-01T11:06:01Z UpdateTip: new best=000000000000000008020a94f3bd6da2d726ea64dd3c6b992033f6d28867a7da height=349387 version=0x00000002 log2_work=82.505755 tx=63579493 date='2015-03-26T23:07:56Z' progress=0.124611 cache=70.0MiB(515275txo)
2020-03-01T11:06:01Z LevelDB read failure: Corruption: block checksum mismatch: C:\Users\Michael\AppData\Roaming\Bitcoin\chainstate\060915.ldb
2020-03-01T11:06:01Z Fatal LevelDB error: Corruption: block checksum mismatch: C:\Users\Michael\AppData\Roaming\Bitcoin\chainstate\060915.ldb
2020-03-01T11:06:01Z You can use -debug=leveldb to get more complete diagnostic messages
2020-03-01T11:06:01Z Error: Error reading from database, shutting down.
2020-03-01T11:06:09Z Error reading from database: Fatal LevelDB error: Corruption: block checksum mismatch: C:\Users\Michael\AppData\Roaming\Bitcoin\chainstate\060915.ldb
SubaruSteve (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
March 01, 2020, 12:34:45 PM
 #6

Try renaming the last blk file in the blocks directory of the data dir for bitcoin core and try again.

What is the default directory for potcoin? Bitcoin and litecoin use different data dirs so it might be a hardware issue if the above doesn't resolve it.

Now it keeps crashing.
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
March 01, 2020, 01:15:57 PM
 #7

Try renaming the last blk file in the blocks directory of the data dir for bitcoin core and try again.

What is the default directory for potcoin? Bitcoin and litecoin use different data dirs so it might be a hardware issue if the above doesn't resolve it.

Now it keeps crashing.

What does, bitcoin core? Did you run it with reindex?
SubaruSteve (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
March 02, 2020, 10:33:00 AM
 #8

2020-03-01T11:06:01Z LevelDB read failure: Corruption: block checksum mismatch: C:\Users\Michael\AppData\Roaming\Bitcoin\chainstate\060915.ldb
2020-03-01T11:06:01Z Fatal LevelDB error: Corruption: block checksum mismatch: C:\Users\Michael\AppData\Roaming\Bitcoin\chainstate\060915.ldb
2020-03-01T11:06:01Z You can use -debug=leveldb to get more complete diagnostic messages
2020-03-01T11:06:01Z Error: Error reading from database, shutting down.
2020-03-01T11:06:09Z Error reading from database: Fatal LevelDB error: Corruption: block checksum mismatch: C:\Users\Michael\AppData\Roaming\Bitcoin\chainstate\060915.ldb

Most common reason are faulty RAM, failing HDD/SDD or broken SATA cable.

Download crystaldiskinfo and see if there are any warning/caution for your HDD/SSD. If there are any warning/caution, it might be the reason.
I don't see any problem.

Try renaming the last blk file in the blocks directory of the data dir for bitcoin core and try again.

What is the default directory for potcoin? Bitcoin and litecoin use different data dirs so it might be a hardware issue if the above doesn't resolve it.

Now it keeps crashing.

Did you same error message (Fatal LevelDB error: Corruption: block checksum mismatch) on debug.log on time when it crashed?

I'll search for "error" from top to bottom:
retults:
Quote
log2_work=80.273193 tx=44940232 date='2014-08-20T05:21:35Z' progress=0.088082 cache=17.0MiB(82447txo)
2020-03-01T10:18:49Z Pre-allocating up to position 0x8000000 in blk00167.dat
2020-03-01T10:18:50Z Leaving block file 167: CBlockFileInfo(blocks=582, size=133910908, heights=316253...316970, time=2014-08-18...2014-08-22)
2020-03-01T10:18:50Z Pre-allocating up to position 0x1000000 in blk00168.dat
2020-03-01T10:18:51Z socket recv error An existing connection was forcibly closed by the remote host.  (10054)
2020-03-01T10:18:52Z Pre-allocating up to position 0x100000 in rev00168.dat
2020-03-01T10:18:52Z UpdateTip: new
best=00000000000000002871f2e4366c02acd79e368c384f27ecda8251d70437f6cd height=316572 version=0x00000002 log2_work=80.273294 tx=44941619 date='2014-08-20T05:52:00Z' progress=0.088084 cache=17.4MiB(85227txo)

Quote
best=000000000000000008020a94f3bd6da2d726ea64dd3c6b992033f6d28867a7da height=349387 version=0x00000002 log2_work=82.505755 tx=63579493 date='2015-03-26T23:07:56Z' progress=0.124611 cache=70.0MiB(515275txo)
2020-03-01T11:06:01Z LevelDB read failure: Corruption: block checksum mismatch: C:\Users\Michael\AppData\Roaming\Bitcoin\chainstate\060915.ldb
2020-03-01T11:06:01Z Fatal LevelDB error: Corruption: block checksum mismatch: C:\Users\Michael\AppData\Roaming\Bitcoin\chainstate\060915.ldb
2020-03-01T11:06:01Z You can use -debug=leveldb to get more complete diagnostic messages
2020-03-01T11:06:01Z Error: Error reading from database, shutting down.
2020-03-01T11:06:09Z Error reading from database: Fatal LevelDB error: Corruption: block checksum mismatch: C:\Users\Michael\AppData\Roaming\Bitcoin\chainstate\060915.ldb
Quote
2020-03-01T11:11:46Z UpdateTip: new best=00000000000000001746e2713c1a67c5f3bd58c640bfe457e91c8041d2f6a18a height=349084 version=0x00000002 log2_work=82.492924 tx=63383760 date='2015-03-24T23:30:00Z' progress=0.124227 cache=35.3MiB(260851txo)
2020-03-01T11:11:46Z LevelDB read failure: Corruption: block checksum mismatch: C:\Users\Michael\AppData\Roaming\Bitcoin\chainstate\060915.ldb
2020-03-01T11:11:46Z Fatal LevelDB error: Corruption: block checksum mismatch: C:\Users\Michael\AppData\Roaming\Bitcoin\chainstate\060915.ldb
2020-03-01T11:11:46Z You can use -debug=leveldb to get more complete diagnostic messages
2020-03-01T11:11:46Z Error: Error reading from database, shutting down.
2020-03-01T11:11:46Z Loading addresses from DNS seed seed.btc.petertodd.org
2020-03-01T11:11:58Z Loading addresses from DNS seed seed.bitcoin.sipa.be
2020-03-01T11:12:00Z Loading addresses from DNS seed seed.bitcoin.jonasschnelli.ch
2020-03-01T11:12:01Z Loading addresses from DNS seed seed.bitcoin.sprovoost.nl
2020-03-01T11:12:13Z Loading addresses from DNS seed dnsseed.bluematt.me
2020-03-01T11:12:13Z Loading addresses from DNS seed seed.bitcoinstats.com
2020-03-01T11:12:14Z 282 addresses found from DNS seeds
2020-03-01T11:12:14Z dnsseed thread exit
Quote
2020-03-01T11:33:01Z UpdateTip: new best=00000000000000001746e2713c1a67c5f3bd58c640bfe457e91c8041d2f6a18a height=349084 version=0x00000002 log2_work=82.492924 tx=63383760 date='2015-03-24T23:30:00Z' progress=0.124226 cache=35.3MiB(260851txo)
2020-03-01T11:33:01Z LevelDB read failure: Corruption: block checksum mismatch: C:\Users\Michael\AppData\Roaming\Bitcoin\chainstate\060915.ldb
2020-03-01T11:33:01Z Fatal LevelDB error: Corruption: block checksum mismatch: C:\Users\Michael\AppData\Roaming\Bitcoin\chainstate\060915.ldb
2020-03-01T11:33:01Z You can use -debug=leveldb to get more complete diagnostic messages
2020-03-01T11:33:01Z Error: Error reading from database, shutting down.
2020-03-01T11:33:08Z P2P peers available. Skipped DNS seeding.
2020-03-01T11:33:08Z dnsseed thread exit
2020-03-01T11:34:18Z Error reading from database: Fatal LevelDB error: Corruption: block checksum mismatch: C:\Users\Michael\AppData\Roaming\Bitcoin\chainstate\060915.ldb
Quote
2020-03-01T11:46:15Z UpdateTip: new best=00000000000000001746e2713c1a67c5f3bd58c640bfe457e91c8041d2f6a18a height=349084 version=0x00000002 log2_work=82.492924 tx=63383760 date='2015-03-24T23:30:00Z' progress=0.124225 cache=35.3MiB(260851txo)
2020-03-01T11:46:15Z LevelDB read failure: Corruption: block checksum mismatch: C:\Users\Michael\AppData\Roaming\Bitcoin\chainstate\060915.ldb
2020-03-01T11:46:15Z Fatal LevelDB error: Corruption: block checksum mismatch: C:\Users\Michael\AppData\Roaming\Bitcoin\chainstate\060915.ldb
2020-03-01T11:46:15Z You can use -debug=leveldb to get more complete diagnostic messages
2020-03-01T11:46:15Z Error: Error reading from database, shutting down.
Quote
2020-03-01T12:11:54Z UpdateTip: new best=00000000000000001746e2713c1a67c5f3bd58c640bfe457e91c8041d2f6a18a height=349084 version=0x00000002 log2_work=82.492924 tx=63383760 date='2015-03-24T23:30:00Z' progress=0.124224 cache=35.3MiB(260851txo)
2020-03-01T12:11:54Z LevelDB read failure: Corruption: block checksum mismatch: C:\Users\Michael\AppData\Roaming\Bitcoin\chainstate\060915.ldb
2020-03-01T12:11:54Z Fatal LevelDB error: Corruption: block checksum mismatch: C:\Users\Michael\AppData\Roaming\Bitcoin\chainstate\060915.ldb
2020-03-01T12:11:54Z You can use -debug=leveldb to get more complete diagnostic messages
2020-03-01T12:11:54Z Error: Error reading from database, shutting down.
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
March 02, 2020, 07:29:30 PM
Merited by nc50lc (1)
 #9

What does - leveldb=debug return? Looks like it's suggesting that at the bottom to pinpoint the error.

You might want to *try* renaming the last chaindtate but I haven't seen it work before but it could be the sticker if that file is corrupted and it just wants to delete it but can't at an io level.
nc50lc
Legendary
*
Offline Offline

Activity: 2394
Merit: 5531


Self-proclaimed Genius


View Profile
March 03, 2020, 03:20:49 AM
 #10

Just a reminder to OP: Do not do anything to the data directory unless Bitcoin Core was properly shutdown.
I'll introduce more issues if you delete/rename those files while core is running.

As for the issue, the log says it all, you can follow jackg's reply delete/rename "060915.ldb" and it should work unless there's a hardware issue.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
SubaruSteve (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
March 04, 2020, 10:14:50 AM
 #11

What does - leveldb=debug return? Looks like it's suggesting that at the bottom to pinpoint the error.

You might want to *try* renaming the last chaindtate but I haven't seen it work before but it could be the sticker if that file is corrupted and it just wants to delete it but can't at an io level.
leveldb=debug ??
I cannot find a reference to it..
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
March 04, 2020, 10:35:07 AM
 #12

It's in your debug above, are you used to launching core from the command line?

If not you'll want to hit start+r and type cmd and hit enter...
Then find where you open bitcoin core from (start menu or desktop). Right click the icon and click properties. And copy and paste the target value into the command line. Follow it by a space and add -debug=leveldb to the end and hit enter.
SubaruSteve (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
March 06, 2020, 04:00:33 AM
 #13

Just a reminder to OP: Do not do anything to the data directory unless Bitcoin Core was properly shutdown.
I'll introduce more issues if you delete/rename those files while core is running.

As for the issue, the log says it all, you can follow jackg's reply delete/rename "060915.ldb" and it should work unless there's a hardware issue.
Tried it, and it happened again.
2020-03-05T09:53:42Z UpdateTip: new best=00000000000000063354501938ef92e43215c3933a07d564bd8883118c080292 height=271764 version=0x00000002 log2_work=74.267491 tx=27961792 date='2013-11-27T11:38:09Z' progress=0.054665 cache=43.4MiB(299083txo)
2020-03-05T09:53:42Z Pre-allocating up to position 0x500000 in rev00096.dat
2020-03-05T09:53:42Z Prune: UnlinkPrunedFiles deleted blk/rev (00093)
2020-03-05T09:53:42Z Fatal LevelDB error: Corruption: block checksum mismatch: C:\Users\Michael\AppData\Roaming\Bitcoin\chainstate\012593.ldb
2020-03-05T09:53:42Z You can use -debug=leveldb to get more complete diagnostic messages
2020-03-05T09:53:42Z *** System error while flushing: Fatal LevelDB error: Corruption: block checksum mismatch: C:\Users\Michael\AppData\Roaming\Bitcoin\chainstate\012593.ldb
2020-03-05T09:53:42Z Error: A fatal internal error occurred, see debug.log for details
2020-03-05T09:53:59Z ERROR: ProcessNewBlock: ActivateBestChain failed (System error while flushing: Fatal LevelDB error: Corruption: block checksum mismatch: C:\Users\Michael\AppData\Roaming\Bitcoin\chainstate\012593.ldb (code 0))
nc50lc
Legendary
*
Offline Offline

Activity: 2394
Merit: 5531


Self-proclaimed Genius


View Profile
March 06, 2020, 08:44:48 AM
 #14

Now a different file in the chainstate folder is corrupted.

You can delete that particular file and restart but...
Check your HDD for hardware issues like bad sectors first so you wont lose more time on deleting corrupted files and trying over and over.
You can use HDDScan, Hard Disk Sentinel or other disk check-up tool online (most of them work with SSD too).

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
SubaruSteve (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
March 06, 2020, 12:29:20 PM
 #15

2020-03-01T11:06:01Z LevelDB read failure: Corruption: block checksum mismatch: C:\Users\Michael\AppData\Roaming\Bitcoin\chainstate\060915.ldb
2020-03-01T11:06:01Z Fatal LevelDB error: Corruption: block checksum mismatch: C:\Users\Michael\AppData\Roaming\Bitcoin\chainstate\060915.ldb
2020-03-01T11:06:01Z You can use -debug=leveldb to get more complete diagnostic messages
2020-03-01T11:06:01Z Error: Error reading from database, shutting down.
2020-03-01T11:06:09Z Error reading from database: Fatal LevelDB error: Corruption: block checksum mismatch: C:\Users\Michael\AppData\Roaming\Bitcoin\chainstate\060915.ldb

Most common reason are faulty RAM, failing HDD/SDD or broken SATA cable.

Download crystaldiskinfo and see if there are any warning/caution for your HDD/SSD. If there are any warning/caution, it might be the reason.


Crystaldiskinfo says: 96% Good

-- S.M.A.R.T. --------------------------------------------------------------
ID Cur Wor Thr RawValues(6) Attribute Name
01 100 100 __0 000000000000 Raw Read Error Rate
05 100 100 _10 000000000000 Reallocated NAND Blocks
09 100 100 __0 0000000002C6 Power On Hours
0C 100 100 __0 0000000005E9 Power Cycle Count
AB 100 100 __0 000000000000 Program Fail Count
AC 100 100 __0 000000000000 Erase Fail Count
AD _96 _96 __0 000000000048 Average Block-Erase Count
AE 100 100 __0 00000000001A Unexpected Power Loss Count
B4 __0 __0 __0 000000000025 Unused Reserve NAND Blocks
B7 100 100 __0 000000000000 SATA Interface Downshift
B8 100 100 __0 000000000000 Error Correction Count
BB 100 100 __0 000000000000 Reported Uncorrectable Errors
C2 _51 _32 __0 004400000031 Temperature
C4 100 100 __0 000000000000 Reallocation Event Count
C5 100 100 __0 000000000000 Current Pending Sector Count
C6 100 100 __0 000000000000 Smart Off-line Scan Uncorrectable Error Count
C7 100 100 __0 000000000000 Ultra DMA CRC Error Rate
CA _96 _96 __1 000000000004 Percent Lifetime Used
CE 100 100 __0 000000000000 Write Error Rate
D2 100 100 __0 000000000000 Successful RAIN Recovery Count
F6 100 100 __0 0007AE3B8434 Total Host Sector Writes
F7 100 100 __0 00002038057F Host Program Page Count
F8 100 100 __0 00004F0D845D Background Program Page Count

-- IDENTIFY_DEVICE ---------------------------------------------------------
        0    1    2    3    4    5    6    7    8    9
000: 0040 3FFF C837 0010 0000 0000 003F 0000 0000 0000
010: 3138 3436 4531 4436 4136 3233 2020 2020 2020 2020
020: 0000 0000 0000 4D33 4352 3032 3320 4354 3130 3030
030: 4D58 3530 3053 5344 3120 2020 2020 2020 2020 2020
040: 2020 2020 2020 2020 2020 2020 2020 8001 4001 2F00
050: 4001 0000 0000 0006 3FFF 0010 003F FC10 00FB BD01
060: FFFF 0FFF 0000 0007 0003 0078 0078 0078 0078 0D98
070: 0000 0000 0000 0000 0000 001F 850E 0086 014C 0000
080: 07F0 006D 706B 7409 4163 7069 B409 4163 207F 0001
090: 0001 00FE FFFE 0000 0000 0000 0000 0000 0000 0000
100: 6DB0 7470 0000 0000 0000 0008 6003 0000 500A 0751
110: E1D6 A623 0000 0000 0000 0000 0000 0000 0000 411C
120: 401C 0000 0000 0000 0000 0000 0000 0000 0029 4372
130: 7563 6961 6C00 0000 0000 0000 0000 0000 0000 0000
140: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
150: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
160: 0000 0000 0000 0000 0000 0000 0000 0000 0003 0001
170: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
180: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
190: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
200: 0000 0000 0000 0000 0000 0000 0031 0000 0000 4000
210: 0000 0000 0000 0000 0000 0000 0000 0001 0000 0000
220: 0000 0000 11FF 0000 0000 0000 0000 0000 0000 0000
230: 6DB0 7470 0000 0000 0001 0200 0000 0000 0000 0000
240: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
250: 0000 0000 0000 0000 0000 ACA5

-- SMART_READ_DATA ---------------------------------------------------------
     +0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +A +B +C +D +E +F
000: 10 00 01 2F 00 64 64 00 00 00 00 00 00 00 05 32
010: 00 64 64 00 00 00 00 00 00 00 09 32 00 64 64 C6
020: 02 00 00 00 00 00 0C 32 00 64 64 E9 05 00 00 00
030: 00 00 AB 32 00 64 64 00 00 00 00 00 00 00 AC 32
040: 00 64 64 00 00 00 00 00 00 00 AD 32 00 60 60 48
050: 00 00 00 00 00 00 AE 32 00 64 64 1A 00 00 00 00
060: 00 00 B4 33 00 00 00 25 00 00 00 00 00 00 B7 32
070: 00 64 64 00 00 00 00 00 00 00 B8 32 00 64 64 00
080: 00 00 00 00 00 00 BB 32 00 64 64 00 00 00 00 00
090: 00 00 C2 22 00 33 20 31 00 00 00 44 00 00 C4 32
0A0: 00 64 64 00 00 00 00 00 00 00 C5 32 00 64 64 00
0B0: 00 00 00 00 00 00 C6 30 00 64 64 00 00 00 00 00
0C0: 00 00 C7 32 00 64 64 00 00 00 00 00 00 00 CA 30
0D0: 00 60 60 04 00 00 00 00 00 00 CE 0E 00 64 64 00
0E0: 00 00 00 00 00 00 D2 32 00 64 64 00 00 00 00 00
0F0: 00 00 F6 32 00 64 64 34 84 3B AE 07 00 00 F7 32
100: 00 64 64 7F 05 38 20 00 00 00 F8 32 00 64 64 5D
110: 84 0D 4F 00 00 00 00 00 00 00 00 00 00 00 00 00
120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
140: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
160: 00 00 00 00 00 00 00 00 00 00 80 00 00 00 00 7B
170: 03 00 01 00 02 1E 02 00 00 00 00 00 00 00 00 00
180: 00 00 4D 33 43 52 30 32 33 20 00 00 00 00 00 00
190: 53 4D 32 32 35 38 42 31 36 41 52 00 00 00 00 00
1A0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1B0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1C0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20

-- SMART_READ_THRESHOLD ----------------------------------------------------
     +0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +A +B +C +D +E +F
000: 01 00 01 00 00 00 00 00 00 00 00 00 00 00 05 0A
010: 00 00 00 00 00 00 00 00 00 00 09 00 00 00 00 00
020: 00 00 00 00 00 00 0C 00 00 00 00 00 00 00 00 00
030: 00 00 AB 00 00 00 00 00 00 00 00 00 00 00 AC 00
040: 00 00 00 00 00 00 00 00 00 00 AD 00 00 00 00 00
050: 00 00 00 00 00 00 AE 00 00 00 00 00 00 00 00 00
060: 00 00 B4 00 00 00 00 00 00 00 00 00 00 00 B7 00
070: 00 00 00 00 00 00 00 00 00 00 B8 00 00 00 00 00
080: 00 00 00 00 00 00 BB 00 00 00 00 00 00 00 00 00
090: 00 00 C2 00 00 00 00 00 00 00 00 00 00 00 C4 00
0A0: 00 00 00 00 00 00 00 00 00 00 C5 00 00 00 00 00
0B0: 00 00 00 00 00 00 C6 00 00 00 00 00 00 00 00 00
0C0: 00 00 C7 00 00 00 00 00 00 00 00 00 00 00 CA 01
0D0: 00 00 00 00 00 00 00 00 00 00 CE 00 00 00 00 00
0E0: 00 00 00 00 00 00 D2 00 00 00 00 00 00 00 00 00
0F0: 00 00 F6 00 00 00 00 00 00 00 00 00 00 00 F7 00
100: 00 00 00 00 00 00 00 00 00 00 F8 00 00 00 00 00
110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
140: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1A0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1B0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1C0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 22

SubaruSteve (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
March 06, 2020, 12:38:02 PM
 #16

Now a different file in the chainstate folder is corrupted.

You can delete that particular file and restart but...
Check your HDD for hardware issues like bad sectors first so you wont lose more time on deleting corrupted files and trying over and over.
You can use HDDScan, Hard Disk Sentinel or other disk check-up tool online (most of them work with SSD too).

Hard Disk Sentinel's output:

The status of the solid state disk is PERFECT. Problematic or weak sectors were not found.
The TRIM feature of the SSD is supported and enabled for optimal performance.
The health is determined by SSD specific S.M.A.R.T. attribute(s):  #202 Percentage Of The Rated Lifetime Used

No actions needed.
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
March 06, 2020, 06:09:20 PM
 #17

You'll have to do as nc50lc suggests.

If that doesn't work and there's another file corruption, you'll be better off reindexing to a new folder if you have enough space an dpotentiallu move your current data dir off the drive (you can keep the main parent and just move the blocks and chainstate if you do that).
Pages: [1]
  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!