<p>I have recently installed Bitcoin Core on my Gentoo system via portage. During the first time setup, the initial download stopped at roughly 30% completion and gave the error "Error reading from database, shutting down". Restarting the program would set the progress back a small amount and restart the download, but it would always fail at the same point. I tried running Bitcoin core with the -reindex flag, and after doing so the download made it farther - to 43.81% - but then gave the same error. As I mentioned before, this is during the first time download of the blockchain; I've never used the program for anything else.</p>

<p>Some points that may be important:</p>

<p>I have more than enough disk space.</p>

<p>I dualboot with Windows, and as such the first time I ran Bitcoin core I had a clock skew. It ran for a minute or so before I realized, closed the program and corrected it. I haven't run it with a clock skew since.</p>

<p>It almost always fails on the same point - in this case, at anywhere from 134577 to 134579 blocks remaining. After restarting, it starts the download at 134609, giving a difference of roughly 40 blocks. (As I mentioned before, however, it failed much earlier before reindexing.)</p>

<p>I installed through portage, and as such I have no reason to believe that any dependencies are missing.</p>

<p>Does this look like a hardware issue? I've yet to do any disk tests other than a simple ram test, which returned no issues. Thank you in advance.</p>

<p>EDIT</p>

<p>Here are some basic specifications for the machine in question.</p>

<p>CPU: Intel core i7 3930K, 6 core</p>

<p>GPU: Nvidia GTX 980 (open source drivers)</p>

<p>16GB of RAM, 8GB of swap</p>

<p>Kernel Version: 4.14.52-gentoo</p>

CC BY-SA 4.0
2019-09-02T21:25:07.167Z
How much RAM do you have on the machine that you're running this on.  Does increasing the swap space on the machine help?
mti2935
CC BY-SA 4.0
2019-09-02T22:07:57.220Z
16GB of RAM, 8gb of swap. I haven't attempted to increase swap size.
Mr. Masterson
<bitcoin-core>
Bitcoin Core gives error "Error reading from database, shutting down" during first time setup
Mr. Masterson
# Bitcoin Core gives error "Error reading from database, shutting down" during first time setup

(Asked by: username_0 on 2019-09-02)

I have recently installed Bitcoin Core on my Gentoo system via portage. During the first time setup, the initial download stopped at roughly 30% completion and gave the error "Error reading from database, shutting down". Restarting the program would set the progress back a small amount and restart the download, but it would always fail at the same point. I tried running Bitcoin core with the -reindex flag, and after doing so the download made it farther - to 43.81% - but then gave the same error. As I mentioned before, this is during the first time download of the blockchain; I've never used the program for anything else.

Some points that may be important:

I have more than enough disk space.

I dualboot with Windows, and as such the first time I ran Bitcoin core I had a clock skew. It ran for a minute or so before I realized, closed the program and corrected it. I haven't run it with a clock skew since.

It almost always fails on the same point - in this case, at anywhere from 134577 to 134579 blocks remaining. After restarting, it starts the download at 134609, giving a difference of roughly 40 blocks. (As I mentioned before, however, it failed much earlier before reindexing.)

I installed through portage, and as such I have no reason to believe that any dependencies are missing.

Does this look like a hardware issue? I've yet to do any disk tests other than a simple ram test, which returned no issues. Thank you in advance.

EDIT

Here are some basic specifications for the machine in question.

CPU: Intel core i7 3930K, 6 core

GPU: Nvidia GTX 980 (open source drivers)

16GB of RAM, 8GB of swap

Kernel Version: 4.14.52-gentoo

**Tags:** bitcoin-core

> **Comments:**
> **username_1**: How much RAM do you have on the machine that you're running this on.  Does increasing the swap space on the machine help?  
> **username_0**: 16GB of RAM, 8gb of swap. I haven't attempted to increase swap size.  

---

## 0 answers

