Bitcoin Forum
April 27, 2024, 04:13:22 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Can't sync Bitcoin Core  (Read 262 times)
Don911 (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 8


View Profile
June 20, 2020, 03:44:58 PM
Merited by LoyceV (2), hugeblack (2), ABCbits (1)
 #1

I'm running Bitcoin Core 0.20.0 on MacOS 10.14.6. Yesterday when I started it, it synced for a while but then got stuck on block 634126. Then I got an error saying "Error reading database, shutting down". I also got a message from "DiskWarrior Hardware Test Notice" that there were bad blocks on the external SSD I use to store the Bitcoin core data. After rebooting, now Bitcoin Core is still stuck on block 634126. For about 20-30 min it said "Connecting to Peers". The "Syncing Headers" for another 10-15 min with 0 active peers. Then I had 4 active peers but still no syncing. And now 2 active connections and still stuck. I usually always have 8 active connections and syncing is fast. Any idea what's going on?

I'm not totally convinced that there is something wrong with the SSD. It seems to work fine accessing all kinds of other files. And it has happened to me a few times in the past that I have gotten reports of errors on external disks when they were in fact OK. Particular with Drive Genius and Drive Pulse. However, this is the first time I have gotten a "DiskWarrior Hardware Test Notice" message. SoftRAID XT says the disk is OK. I have 6 external drives attached via Thunderbolt 3.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714191202
Hero Member
*
Offline Offline

Posts: 1714191202

View Profile Personal Message (Offline)

Ignore
1714191202
Reply with quote  #2

1714191202
Report to moderator
1714191202
Hero Member
*
Offline Offline

Posts: 1714191202

View Profile Personal Message (Offline)

Ignore
1714191202
Reply with quote  #2

1714191202
Report to moderator
1714191202
Hero Member
*
Offline Offline

Posts: 1714191202

View Profile Personal Message (Offline)

Ignore
1714191202
Reply with quote  #2

1714191202
Report to moderator
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
June 20, 2020, 03:52:22 PM
 #2

You could try to read out the S.M.A.R.T. values of your Hard drive to check whether there is something wrong with it.

This is probably the fastest and easiest first step to troubleshoot.

Don911 (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 8


View Profile
June 20, 2020, 04:38:56 PM
 #3

You could try to read out the S.M.A.R.T. values of your Hard drive to check whether there is something wrong with it.

What do you mean by "read out the S.M.A.R.T. values"? The drive has passed the S.M.A.R.T. test in both Drive Pulse (Drive Genius 5) and SoftRAID XT. So I assume that is correct. Also, since the drive is APFS, and DiskWarrior does not support APFS, I can easily think the error was reported due to a 'glitch'. Also the SSD is a brand new 2TB Crucial MX500, so I doubt there is actually anything wrong with it.

So I think my Bitcoin Core problem is due to somethings else. But I could be wrong, obviously.
ranochigo
Legendary
*
Offline Offline

Activity: 2954
Merit: 4165


View Profile
June 20, 2020, 04:54:38 PM
Merited by ABCbits (1)
 #4

Are you resynchronizing the client? I find that my client doesn't want to connect to peers if I don't completely delete the data directory after a corrupted block. If you want to try, you can try deleting the data directory after backing up your wallet.dat first.

When you try to resync the client, disable anything that could probe your Bitcoin related files for the moment. If possible, try to create an exclusion for the directory. It is possible that your programs was the source of the corruption.

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

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

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

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

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

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











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











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

Activity: 15
Merit: 8


View Profile
June 20, 2020, 07:06:41 PM
Merited by LFC_Bitcoin (1)
 #5

Are you resynchronizing the client?

Thanks for the suggestion. I overwrote the data folder with a backup from 10 days ago, and now it synced properly. So it must have been a corrupted file blocking the sync from going forward.
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!