Author

Topic: Bitcoin-qt cannot read the database, closing (Read 500 times)

full member
Activity: 223
Merit: 116
Hi,

Thank you for your comments, the problem is now solved and I am posting for future reference, it wasn't really a 'solution' though.

The problem was occurring on a PC running Xeon microprocessor and 16GB RAM. That PC took a week or so to download the 132GB blockchain.

I downloaded and installed Bitcoin Core on another PC (i7 and 64GB RAM) and copied bitcoin.conf and wallet.dat from the Xeon PC. The i7 downloaded the full blockchain in 1 day and it is working perfectly. I think something wrong with the Xeon.



copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
Hi,

1. A couple of years ago I had a wallet with a few BTC (left) in it; I quit the bitcoin environemt after I fell in the LTC gear scam. The wallet was working perfectly, i believe it was version 0.9.1 then.

2. Lately I decided to get back in crypto (essentially driven by the Etherum concept), i downloaded Bitcoin Core wallet 0.14.2 and got it to install on a dedicated hard disk by itself (as I knew the size of the block chain will be considerable, 132GB).

3. After I installed Bitcoin Core wallet, and before starting it, i did the following:
3.1. I went into the .conf file and put a password
3.2. I coped my safely stored wallet.dat file in the folder.

4. Bitcoin Core started downloading the block chain; the process took 3 full days. However, during the download process my PC went to sleep and would not return from sleep so I had to force shutdown. No symptoms appeared as the download of the block chain continued.

5. Once the download of the block chain was 100% compelted, I got an error stating that the program cannot read from the database, and that I should shutdown and contact support.

I tried to download and tun PYwallet but I read that there is a for somewhere that sends the privaste keys to a bieber.x host, so I did not run nor use PYwallet and decided to come here and ask for your help what can I do to get the wallet running correctly as I don't mind running a full Bitcoin Core wallet to help the network a bit if it does.

Alternatively, would the same wallet.dat work with a lighter version of the wallet?




If you want a lighter wallet, I'd suggest electrum.org. However, you'd have to import private keys which is costly in transaction fees (but not too costly if you have more than ~0.01BTC and few input transactions).
staff
Activity: 3458
Merit: 6793
Just writing some code
Add reindex=1 to your bitcoin.conf file. Then start Core. Once it has started, remove that line from the bitcoin.conf file. What this will do is reindex the database, which means that it is reading the blockchain data from disk and rebuilding its databases. It will appear as if it is redownloading the entire blockchain, but it is not. Make sure that your computer does not forcibly shut down during this time as an unclean shut down will corrupt the database and require it to be reindexed again.
full member
Activity: 223
Merit: 116
Hi,

1. A couple of years ago I had a wallet with a few BTC (left) in it; I quit the bitcoin environemt after I fell in the LTC gear scam. The wallet was working perfectly, i believe it was version 0.9.1 then.

2. Lately I decided to get back in crypto (essentially driven by the Etherum concept), i downloaded Bitcoin Core wallet 0.14.2 and got it to install on a dedicated hard disk by itself (as I knew the size of the block chain will be considerable, 132GB).

3. After I installed Bitcoin Core wallet, and before starting it, i did the following:
3.1. I went into the .conf file and put a password
3.2. I coped my safely stored wallet.dat file in the folder.

4. Bitcoin Core started downloading the block chain; the process took 3 full days. However, during the download process my PC went to sleep and would not return from sleep so I had to force shutdown. No symptoms appeared as the download of the block chain continued.

5. Once the download of the block chain was 100% compelted, I got an error stating that the program cannot read from the database, and that I should shutdown and contact support.

I tried to download and tun PYwallet but I read that there is a for somewhere that sends the privaste keys to a bieber.x host, so I did not run nor use PYwallet and decided to come here and ask for your help what can I do to get the wallet running correctly as I don't mind running a full Bitcoin Core wallet to help the network a bit if it does.

Alternatively, would the same wallet.dat work with a lighter version of the wallet?


Jump to: