Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

osx bitcoin-qt 0.81 error opening block db after each restart #2435

Closed
thinkmonkeys opened this issue Apr 1, 2013 · 15 comments
Closed

osx bitcoin-qt 0.81 error opening block db after each restart #2435

thinkmonkeys opened this issue Apr 1, 2013 · 15 comments

Comments

@thinkmonkeys
Copy link

"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.

@solicomo
Copy link

same issue

@JustinAiken
Copy link

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:

https://gist.github.com/JustinAiken/cd49bdc69ce96f04ee94

@Diapolo
Copy link

Diapolo commented Apr 14, 2013

@gavinandresen Can you take a look here?

@Quisamor
Copy link

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
Copy link

Same problem here on my MacPro, OS: 10.8.3

@ghost
Copy link

ghost commented Apr 28, 2013

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
Copy link
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
Copy link

ghost commented Apr 30, 2013

@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
Copy link

Yes, my issue randomly went away too.

@orb
Copy link

orb commented May 4, 2013

I've been having this problem for the last several weeks.

@gavinandresen
Copy link
Contributor

Duplicate; hopefully fixed by the "don't use too many file descriptors" fix.

@shamoons
Copy link

shamoons commented Sep 7, 2013

Nope. Still having the same problem.

@pianist
Copy link

pianist commented Sep 9, 2013

Having this problem, 8.1.4

@Agera-S
Copy link

Agera-S commented Nov 10, 2013

I'm having this problem, OSX 10.8.4

@achillesuk
Copy link

achillesuk commented Nov 30, 2017

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 pushed a commit to Bushstar/omnicore that referenced this issue Apr 8, 2020
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests