I've installed Bitcoin-Qt after a clean WUBI install, and installed Bitcoin-Qt directly. Now it suddenly says "Error loading
I assume my
blkindex.dat file is corrupted, and I tried reinstalling Bitcoin-Qt with
apt but it didn't work. Maybe if I delete the
blkindex.dat file it will try to create it again, but I don't know where the installation folder is.
How can I solve this issue?
Extra information (added by other user); the error will likely look like this:
file blkindex.dat has LSN 727/2518588, past end of log at 727/1519938 Commonly caused by moving a database from one database environment to another without clearing the database LSNs, or by removing all of the log files from a database environment __db_meta_setup: /home/user/.bitcoin/blkindex.dat: unexpected file type or format
You should be able to find this in
~/.bitcoin/db.log. This problem occured when interrupting the client suddenly or maybe because two of them opened the database at the same time.