Pages:
Author

Topic: Bitcoin-QT: System Error: Database Corrupted (Read 14117 times)

sr. member
Activity: 406
Merit: 250
AltoCenter.com
November 19, 2014, 05:49:26 AM
#23
I faced the similar problem too. I was bit worried at the time. Used a different wallet to recover. Cheesy Grin
hero member
Activity: 658
Merit: 500
November 19, 2014, 05:16:49 AM
#22
In your place I would use Blockchain online wallet together with Multibit wallet or only Multibit wallet - it is much more simple. At this stage BTC network is expanded a lot, so Multibit is good choice.
soy
legendary
Activity: 1428
Merit: 1013
November 18, 2014, 10:37:00 AM
#21
I imagine there are fewer and fewer blockchains at  home all the time given its size.

I maintain two blockchains having Bitcoin-QT on two machines.  This morning I got a payout and soon after that blockchain came up corrupted.  So, I know the corruption is in the last block.

Can I go into the database and remove the last block, then remove the lock on the directory, delete the wallet, and have the blockchain start building from just before the deleted block?

I realize that all the other times this has happened I have had to wipe the whole thing then after copying the blockchain from the other machine, rebuilt from that but it takes weeks even when building from a current blockchain.

soy

Okay, this is odd.  I had deleted the wallet and removed the lock then tried but got a corrupt database message again.  Then I put the machine on another sub-net here, removed the lock and the wallet and tried again.  This time the Bitcoin-QT opened just fine and caught up the blockchain!  Putting the wallet having the new payout on the other machine with a blockchain, it opened perfectly with the correct balance and is up to date.  So, all fixed and I don't know why.
newbie
Activity: 6
Merit: 0
February 07, 2014, 02:08:52 AM
#20
I'm having this issue while trying to open my bitcoin QT wallet: erreur système :CDB() : cannot open database file wallet.dat, error -30974
Does my issue is in the same "kind" of issue mention in this post?
full member
Activity: 181
Merit: 100
@Hawkeye99 no you are not doing something wrong however that problem could be avoid if you guys had created a backup before.

I have several backups and only now started getting the error 30974 related to a corrupted wallet.dat. Is there any way of salvaging the wallet WITHOUT having to redownload the whole fricking blockchain? I'm on 6mbit DSL... thanks!
newbie
Activity: 28
Merit: 0
December 26, 2013, 09:18:45 AM
#18
@Hawkeye99 no you are not doing something wrong however that problem could be avoid if you guys had created a backup before.
newbie
Activity: 3
Merit: 0
December 25, 2013, 05:28:40 PM
#17
go to your %appdata% folder then roaming. then delete everything but the wallet.file, then and only then, un-install the program and re-install it. i am sure this will solve your problem. i have worked a ton with the QT source code and am quite familiar with it.
Thanks. Did this and still same problem. Am I doing something wrong when reinstalling it? Anything specific I should be doing when I do the reinstall?
full member
Activity: 182
Merit: 101
December 19, 2013, 07:31:57 AM
#16
go to your %appdata% folder then roaming. then delete everything but the wallet.file, then and only then, un-install the program and re-install it. i am sure this will solve your problem. i have worked a ton with the QT source code and am quite familiar with it.
newbie
Activity: 3
Merit: 0
December 18, 2013, 09:07:05 PM
#15
Anyone know how to get this to work with Windows 8.1?
newbie
Activity: 3
Merit: 0
December 15, 2013, 02:52:16 PM
#14
I have downloaded Bitcoin-QT from http://bitcoin.org/en/download and during its update, I get the DB corrupted error. Is there another site I can download bitcoin-qt from?
newbie
Activity: 1
Merit: 0
December 08, 2013, 12:15:25 PM
#13
This worked for me, try right clicking the bitcoin icon and select properties.

Change the "Target" box from
"C:\Program Files (x86)\Bitcoin\bitcoin-qt.exe"

to

"C:\Program Files (x86)\Bitcoin\bitcoin-qt.exe" -reindex

click apply and ok. Then launch your bitcoin wallet using that icon. It will take some time to reindex everything but this did the trick for me.

After you run it the first time don't forget to undo the changes above or it will reindex every time you use that icon.

Paul


1Aq2Z4f97rLFMod6ApkCpurqy2o88666aS
newbie
Activity: 7
Merit: 0
September 30, 2013, 11:26:42 PM
#12
I know this thread is old, but this is the explanation I wish I had seen a couple of hours ago...

I encountered the same problem on OSX and was able to rectify the issue by closing Bitcoin-Qt, navigating to the bitcoin data folder...

"user">Library>Application Support>Bitcoin

...and deleting everything except the wallet.dat and peers.dat files (this may work if you delete peers.dat too, but I didn't).

Reopen Bitcoin-Qt and it should re-downloaded the blockchain while keeping your addresses/private keys intact.
newbie
Activity: 29
Merit: 0
I'm new to BitCoin and intend to use it primarily for retail (not mining).  Started downloading BitCoin-QT, this weekend.  For reasons relating to power supply, I shut it down before it was finished building the blockchain database.  When I started up BitCoin-QT, this AM I received an error "System Error: Database Corrupted".  I relaunched and received the same error. 

Since I had not yet done anything with the app, other than start building the blockchain data, I thought I'd simply uninstall and reinstall.  I still get the same error. 

Any advice on how to get this fixed?

I would report this to the developers here:

https://github.com/bitcoin/bitcoin/issues/2305
legendary
Activity: 2506
Merit: 1010
Can my coins somehow be retrieved?

If you made a backup, try that first. (Well, make a backup of the possibly bad wallet.dat before restoring anything).

Or try importing it here and then if that works, start over with a new, empty wallet.dat and send the funds back.
 - http://blockchain.info/wallet/import-wallet
newbie
Activity: 1
Merit: 0
I have a similar problem. I installed QT, generated an adress, bought some coins and after some hours Bitcoin-qt got stuck, with 80% being completed... there was an error message containig the word Database... and now I cant start  QT..receiving the error message: Database corrupted.... I used directions from
http://bitcoin.stackexchange.com/questions/4920/my-client-stopped-synchronizing-how-can-i-access-my-wallet
hoping to extract a privatekey and upload it to an online wallet, but it didn't work. when i typed bitcoind in an MS-dos prompt i got no reaction for half an hour and when I type "bitcoind" now, i get the message: System Error: Database corrupted.
I'm worried: Can my coins somehow be retrieved?
legendary
Activity: 2506
Merit: 1010
Am I correct in understanding that I don't need to worry about that with Bitcoin-QT?

Bitcoin-Qt provides the (optional) step for passphrase encryption which will encrypt the private keys in the wallet.
newbie
Activity: 4
Merit: 0
Thanks for pointing that out.  I had seen it, and that's part of what prompted me to look at Bitcoin-QT.  Am I correct in understanding that I don't need to worry about that with Bitcoin-QT?

I seem to be back on track with "Reindexing blocks on disk".  Thanks for your help.
legendary
Activity: 2506
Merit: 1010
Any comments good/bad about Multi-Bit?

Well, the comment in red at the bottom should be understood:
 - https://multibit.org/help_walletManagement.html
sr. member
Activity: 349
Merit: 250
Wiping the data directory should work as it is basically a fresh installation then with a new wallet file, etc.
newbie
Activity: 4
Merit: 0
Thanks.  I'll try to wipe the directory, first.  If that doesn't work, I'll move to Multi-Bit to have a simpler wallet.  Any comments good/bad about Multi-Bit?
Pages:
Jump to: