gmaxwell (OP)
Staff
Legendary
Offline
Activity: 4256
Merit: 8761
|
|
September 09, 2013, 09:33:47 AM Last edit: September 13, 2013, 07:14:06 AM by gmaxwell |
|
Due to a bug introduced in Bitcoind/-qt introduced in v0.8.0 nodes may fail to come up after restart, reporting: ": *** coin database inconsistencies found" and/or "Do you want to rebuild the block database now?" Reindexing will not solve the problem (so I do not recommend you do so, at it will just waste your time). You can workaround this issue by adding -checklevel=2 to your command-line arguments or checklevel=2 to your configuration file. The problem that an inconsistency in the transaction database has been caused by some unusual whos version cannot be represented in the database. This inconsistency is correctly detected by the agressive database sanity-checks on startup. Because this inconsistency happens to be in a field we currently do not use for anything, it is safe to ignore it for now. Lowering the checklevel skips these and other checks and allows the node to proceed as usual. The issue may resolve itself within another 200 blocks or so if no more of the trigger transactions are added to the blockchain after the triggering block falls out of the window used for consistency checking, but because it could easily happen again a longer term fix is required and has been submitted for review. UPDATE: 0.8.5 is now out and fixes this issue. Walkthrough in OSX: Open a terminal and type open /Applications/Bitcoin-Qt.app --args -checklevel=2
Walkthrough in Windows:In Windows, locate the file bitcoin-qt.exe Usually is to be found in C:\Program Files (x86)\Bitcoin\ (on 64 bit version) or C:\Program Files\Bitcoin\
Right click on the file bitcoin-qt.exe and select Create Shortcut. On the new file that appeared (bitcoin-qt.exe - Shortcut or bitcoin-qt.lnk) right click and select Properties. add to Target line -checklevel=2
as in this picture
https://i.imgur.com/8P1rnRA.png
Then click Apply, then execute.
|
|
|
|
Icon
|
|
September 09, 2013, 04:35:08 PM |
|
Yep that got it back up, Thanks Maxwell!
|
|
|
|
TraderTimm
Legendary
Offline
Activity: 2408
Merit: 1121
|
|
September 09, 2013, 05:13:03 PM |
|
Appreciate the quick turnaround, thank you for your efforts.
|
fortitudinem multis - catenum regit omnia
|
|
|
atomium
Donator
Sr. Member
Offline
Activity: 406
Merit: 252
Study the past, if you would divine the future.
|
|
September 09, 2013, 08:22:46 PM |
|
thank you for this, ive been having this issue and i cant seem to fix it.
where do i find the config file? I'm on a mac, in library/bitcoin i have 2 folders, one is blocks and one is chainstate then it has logs and the wallet.dat and peers.dat, where could i find the file to modify?
|
|
|
|
KaosMcRage
Newbie
Offline
Activity: 10
Merit: 0
|
|
September 09, 2013, 08:32:06 PM |
|
thank you for this, ive been having this issue and i cant seem to fix it.
where do i find the config file? I'm on a mac, in library/bitcoin i have 2 folders, one is blocks and one is chainstate then it has logs and the wallet.dat and peers.dat, where could i find the file to modify?
~/Library/Application Support/Bitcoin/bitcoin.conf
|
|
|
|
atomium
Donator
Sr. Member
Offline
Activity: 406
Merit: 252
Study the past, if you would divine the future.
|
|
September 09, 2013, 08:34:04 PM |
|
i dont have that file inside the bitcoin folder, i just have
blocks (folder) chainstate (folder) db.log debug.log peers.dat wallet.dat
|
|
|
|
|
atomium
Donator
Sr. Member
Offline
Activity: 406
Merit: 252
Study the past, if you would divine the future.
|
|
September 09, 2013, 08:49:18 PM |
|
it worked thank you so much!! i had such a headache trying to figure out why my client keep crashing.
|
|
|
|
ghostshirt
|
|
September 09, 2013, 09:06:39 PM |
|
Shoot! I've been reindexing for the last couple of hours. Should've read this before..
|
|
|
|
WikileaksDude
|
|
September 09, 2013, 09:59:31 PM |
|
Thanks for the alert and the workaround.
Happy node here!
|
|
|
|
Trader Steve
|
|
September 09, 2013, 10:09:48 PM |
|
it worked thank you so much!! i had such a headache trying to figure out why my client keep crashing. Still don't understand how to do this. I have a Mac. How do I create the config file and add this line?
|
|
|
|
Trader Steve
|
|
September 09, 2013, 10:11:08 PM |
|
How exactly? I'm not a techie and that link doesn't make sense to me...(I have a Mac)
|
|
|
|
atomium
Donator
Sr. Member
Offline
Activity: 406
Merit: 252
Study the past, if you would divine the future.
|
|
September 09, 2013, 10:14:08 PM |
|
How exactly? I'm not a techie and that link doesn't make sense to me...(I have a Mac) dont worry about the link just create a new file and add "checklevel=2" inside that file as text and then save as bitcoin.conf.
|
|
|
|
Trader Steve
|
|
September 09, 2013, 10:19:07 PM |
|
How exactly? I'm not a techie and that link doesn't make sense to me...(I have a Mac) dont worry about the link just create a new file and add "checklevel=2" inside that file as text and then save as bitcoin.conf. Thanks! That worked perfectly! What a great community!
|
|
|
|
atomium
Donator
Sr. Member
Offline
Activity: 406
Merit: 252
Study the past, if you would divine the future.
|
|
September 09, 2013, 10:20:14 PM |
|
How exactly? I'm not a techie and that link doesn't make sense to me...(I have a Mac) dont worry about the link just create a new file and add "checklevel=2" inside that file as text and then save as bitcoin.conf. Thanks! That worked perfectly! What a great community! awesome! this community is great, just remember to help others that dont know much too so that when you ever need help someone can help you out
|
|
|
|
goodbc
Member
Offline
Activity: 105
Merit: 11
|
|
September 09, 2013, 11:03:41 PM Last edit: September 09, 2013, 11:18:44 PM by goodbc |
|
In Windows, locate the file bitcoin-qt.exe Usually is to be found in C:\Program Files (x86)\Bitcoin\ (on 64 bit version) or C:\Program Files\Bitcoin\ Right click on the file bitcoin-qt.exe and select Create Shortcut. On the new file that appeared (bitcoin-qt.exe - Shortcut or bitcoin-qt.lnk) right click and select Properties. add to Target line -checklevel=2 as in this picture https://i.imgur.com/8P1rnRA.pngThen click Apply, then execute.
|
Check your IQ! Send any amount to this address: 1GoodBTCiGyd1J1LkDhCThfTHG8n9WJnNn
|
|
|
sr_miner
Newbie
Offline
Activity: 56
Merit: 0
|
|
September 10, 2013, 08:41:11 AM |
|
You can workaround this issue by adding -checklevel=2 to your command-line arguments or checklevel=2 to your configuration file.
That worked perfectly! Thanks!
|
|
|
|
Cryddit
Legendary
Offline
Activity: 924
Merit: 1132
|
|
September 10, 2013, 08:54:31 AM |
|
Why this resulted in bitcoin failure to come up? With security model in place should have resulted in a chain fork, yes?
|
|
|
|
gmaxwell (OP)
Staff
Legendary
Offline
Activity: 4256
Merit: 8761
|
|
September 10, 2013, 04:08:37 PM |
|
Why this resulted in bitcoin failure to come up? With security model in place should have resulted in a chain fork, yes?
There is no network rule that does anything with the transaction versions currently, there is no fork because the consensus algorithm doesn't care if its consistent. The startup database validation cares if the database is correct, however.
|
|
|
|
Brunt, FCA
Member
Offline
Activity: 68
Merit: 10
|
|
September 10, 2013, 07:23:42 PM |
|
I encountered this problem this morning before I was aware of this thread, but in my case reindexing, although it took all day, was successful. I have now added the suggested line to my bitcoin.conf file, and when I tried it again, it started up correctly. Lowering the checklevel can't be good for security, so hopefully we will be informed when the extra line may no longer be needed?
|
|
|
|
|