-
Notifications
You must be signed in to change notification settings - Fork 20.1k
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
leveldb/table: corruption on table-footer (pos=1966032): bad magic number #14465
Comments
when i saw this issue, i went into the chaindata folder and deleted the offending ldb file and restart the sync. It seems only that block is corrupted. |
I tried by deleting the offending ldb files as you did and in my case, I got error with next file and then file. After three tries I gave and I got the error: My challenge is that I could never run geth successfully for few days and I get these sync/backblock kind of problems after every other day. For syncing, I copy the "chaindata" folder from another ubuntu server then run geth on my macbook. This solution sucks and would not like to do. |
What kind of disk are you using. We have seen reports of leveldb corruption when using USB flash drive, but it doesn't sound like you're using one. |
Using SSD and "binaries" and "chaindata" are in different SSD (macbook osx 10.12.3 (16D32)). After restarting again, got the following error (if that helps): Error: gas limit reached WARN [05-12|17:40:51] Synchronisation failed, dropping peer peer=fd96f4baea51d8ff err="retrieved hash chain is invalid" goroutine 9764 [running]: |
Another error after restoring the "chaindata": goroutine 846 [running]: |
Quick question, are you mining on the same machine as you are loading the wallet? |
Same error. Is there any way to recover? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Please answer these questions before submitting your issue. Thanks!
What did you do?
Running from MacOS terminal with the options "geth --cache 4096" and no intervention
What did you expect to see?
Blockchain should be synced but failed. When try to restart the "geth" process after restarting got the error:
Fatal: Error starting protocol stack: leveldb/table: corruption on table-footer (pos=1966032): bad magic number [file=044240.ldb]
What did you see instead?
Here is error:
INFO [05-11|13:42:42] Imported new chain segment blocks=12 txs=303 mgas=8.266 elapsed=778.637ms mgasps=10.616 number=3688802 hash=70721c…6cd55b
INFO [05-11|13:42:51] Imported new chain segment blocks=18 txs=311 mgas=10.156 elapsed=9.115s mgasps=1.114 number=3688820 hash=aa96c5…4ab0d5
INFO [05-11|13:42:52] Generating ethash verification cache epoch=124 percentage=25 elapsed=3.017s
INFO [05-11|13:42:55] Generating ethash verification cache epoch=124 percentage=66 elapsed=6.022s
INFO [05-11|13:42:56] Generated ethash verification cache epoch=124 elapsed=7.192s
INFO [05-11|13:42:59] Imported new chain segment blocks=88 txs=1587 mgas=66.977 elapsed=8.077s mgasps=8.292 number=3688908 hash=b17b19…3d63a5
INFO [05-11|13:43:07] Imported new chain segment blocks=139 txs=2599 mgas=107.943 elapsed=8.028s mgasps=13.445 number=3689047 hash=edbc67…fe68be
INFO [05-11|13:43:15] Imported new chain segment blocks=142 txs=2519 mgas=120.240 elapsed=8.066s mgasps=14.907 number=3689189 hash=3321cd…a527b9
WARN [05-11|13:43:17] Synchronisation failed, dropping peer peer=8cca25d44598cec3 err="retrieved hash chain is invalid"
WARN [05-11|13:43:20] Synchronisation failed, dropping peer peer=1a88b54028909af6 err="retrieved hash chain is invalid"
WARN [05-11|13:43:27] Synchronisation failed, dropping peer peer=2ba022b961f800e0 err="action from bad peer ignored"
WARN [05-11|13:43:55] Synchronisation failed, dropping peer peer=a1299ffc3c4e6a64 err="retrieved hash chain is invalid"
WARN [05-11|13:43:58] Synchronisation failed, dropping peer peer=378c0e8ae21fc735 err="retrieved hash chain is invalid"
WARN [05-11|13:44:02] Synchronisation failed, dropping peer peer=c1b63994a7a98bd1 err="retrieved hash chain is invalid"
WARN [05-11|13:47:20] Synchronisation failed, dropping peer peer=696632807228f69c err="retrieved hash chain is invalid"
WARN [05-11|13:47:25] Synchronisation failed, dropping peer peer=df1c8d9a6fa754ab err="retrieved hash chain is invalid"
WARN [05-11|13:49:37] Synchronisation failed, dropping peer peer=696632807228f69c err="retrieved hash chain is invalid"
WARN [05-11|13:49:52] Synchronisation failed, dropping peer peer=df5aa7f0d61184bc err="retrieved hash chain is invalid"
WARN [05-11|13:49:58] Synchronisation failed, dropping peer peer=117579643dcc13e2 err="retrieved hash chain is invalid"
WARN [05-11|13:51:03] Synchronisation failed, dropping peer peer=1a88b54028909af6 err="retrieved hash chain is invalid"
WARN [05-11|13:51:42] Synchronisation failed, dropping peer peer=2ecee00caef4a44e err="retrieved hash chain is invalid"
WARN [05-11|13:52:45] Synchronisation failed, dropping peer peer=95cb0e92896b8d39 err="retrieved hash chain is invalid"
WARN [05-11|13:52:49] Synchronisation failed, dropping peer peer=cd3c33a7c5ca4b92 err="retrieved hash chain is invalid"
WARN [05-11|13:52:57] Synchronisation failed, dropping peer peer=f01fe2f982e19709 err="retrieved hash chain is invalid"
WARN [05-11|13:53:04] Synchronisation failed, dropping peer peer=4deaab63c90013db err="retrieved hash chain is invalid"
WARN [05-11|13:53:12] Synchronisation failed, dropping peer peer=696632807228f69c err="action from bad peer ignored"
WARN [05-11|13:54:08] Synchronisation failed, dropping peer peer=696632807228f6
System details
Version: 1.6.0-stable
Go Version: go1.8.1
OS: darwin
uname -v: Darwin Kernel Version 16.4.0: Thu Dec 22 22:53:21 PST 2016; root:xnu-3789.41.3~3/RELEASE_X86_64
ProductName: Mac OS X
ProductVersion: 10.12.3
BuildVersion: 16D32
The text was updated successfully, but these errors were encountered: