"Error opening block database. Do you want to rebuild the block database now?" this message comes every I restart. I recently upgraded from a very old version (sorry forgot number) to 0.8.1. I click ok to rebuild database and many hours later it completes. Now after another restart I am getting the same error. 13GB available on my HD.
osx bitcoin-qt 0.81 error opening block db after each restart #2435
issue thinkmonkeys opened this issue on April 1, 2013-
thinkmonkeys commented at 11:43 AM on April 1, 2013: none
-
solicomo commented at 8:40 AM on April 13, 2013: none
same issue
-
JustinAiken commented at 7:56 PM on April 14, 2013: none
Same here, 0.8.1 on 10.8.3 on a rMBP. I can't get it to rebuild; fails every time. Then crashes, here's the log:
-
Diapolo commented at 8:35 PM on April 14, 2013: none
@gavinandresen Can you take a look here?
-
Quisamor commented at 6:19 AM on April 22, 2013: none
Same error for me. I'm on an iMac with SSD. Downloaded the whole block chain a couple of times and getting this error almost every week when using 0.8.1
-
antonio081014 commented at 4:48 PM on April 25, 2013: none
Same problem here on my MacPro, OS: 10.8.3
-
ghost commented at 4:10 PM on April 28, 2013: none
Same problem here too. Macbook Pro OS X 10.8.3. Contents of debug.log in Bitcoin data directory are here:
https://gist.github.com/watchedman/5477355
The pertinent error message in the log as far as I can tell:
"LevelDB read failure: Corruption: block checksum mismatch"
Like the OP, this began after rebuilding the blockchain because Bitcoin-QT prompted me to do so.
-
jonasschnelli commented at 11:59 AM on April 30, 2013: contributor
I'm trying to reproduce that problem without success. @watchedman which version do you use? 0.8.1? downloaded from where? built by yourself? Does the error only happens when the blockchain is "mostly" downloaded? Or also when you just have some transaction stored?
-
ghost commented at 1:29 PM on April 30, 2013: none
@jonasschnelli Yes I'm on 0.8.1. I did not build it, I just downloaded the Mac OS X binary executable for that version.
Strangely enough, this error ended up going away by itself. After I posted here the other day, I tried opening Bitcoin-QT again, and that time it successfully rebuilt everything, and now everything is working fine.
I guess that's why it says "beta" at the end of the version number! This turned out to be just a hiccup for me, but I still hope that the Gist I posted can help someone figure out the root cause.
As far as blockchain and transactions, this error started happening after I already had a bunch of transactions and the full blockchain. Then I rebuilt the whole blockchain when prompted (like the OP) and then I finally got the "corrupt database" error after that finished, then I posted here, then I tried one last time and it started working again.
For others having this issue, it sounds crazy, but the solution might be to just keep trying until it works!
-
JustinAiken commented at 3:27 PM on April 30, 2013: none
Yes, my issue randomly went away too.
-
orb commented at 8:29 PM on May 4, 2013: none
I've been having this problem for the last several weeks.
-
gavinandresen commented at 8:18 PM on May 7, 2013: contributor
Duplicate; hopefully fixed by the "don't use too many file descriptors" fix.
- gavinandresen closed this on May 7, 2013
-
shamoons commented at 9:02 PM on September 7, 2013: none
Nope. Still having the same problem.
-
pianist commented at 10:32 PM on September 9, 2013: none
Having this problem, 8.1.4
-
Agera-S commented at 6:44 AM on November 10, 2013: none
I'm having this problem, OSX 10.8.4
-
achillesuk commented at 9:53 PM on November 30, 2017: none
I was getting the same, with IO error in the log "Could not rename file". I am using a USB external hard drive. It would go away upon reinstall. I ran as administrator and that did it. I know it sounds silly but give that a try.
- Bushstar referenced this in commit 5bdb2c0ce1 on Apr 8, 2020
- MarcoFalke locked this on Sep 8, 2021