-
-
Notifications
You must be signed in to change notification settings - Fork 3.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
monerod: sync stuck #2536
Comments
Can you please restart with There's also some very weird stuff, like: , id = , |
I don't see much difference in log output with
Logs are basically from beginning.
I'm sorry, my fault. Github markdown just cut it. |
The only thing I can think of is that I use the same lmdb as in bug #2521. |
Sorry, the \ were to avoid github munging the * which it usually does. I guess I escaped twice and did not notice. And github munging explains the missing id, OK. I think I know what's going on here: one of the txes is still in your pool, so isn't added to the m_blocks_txs_check, which is then causing the failure. This will need fixing. In the meantime, try this: mdb_drop -s txpool_meta ~/.bitmonero/lmdb The source for mdb_drop is http://highlandsun.com/hyc/mdb_drop.c Build with: copy mdb_drop.c in monero's external/db_drivers/liblmdb |
Those actions have helped. Now sync process continues. Thank you.
So issue remains open. |
Should be fixed by #2552 |
Hi, I have a similar problem, the only difference is I'm running under Windows 7 64x. |
And are you using the patch in 2552 ? |
I didn't realise the Windows build was there too, my mistake. Replaced all my local files with the ones contained in the tarball located here https://build.getmonero.org/builders/monero-static-win64/builds/2417 |
|
That bit below says you seem to have a corrupt db. It might be a bug which occured earlier. I'm afraid the only way out is to resync from scratch. 2017-10-02 16:13:38.278 [P2P9] ERROR verify src/cryptonote_core/blockchain.cpp:215 Output does not exist! amount = 50000000000 |
I'm still not succeeding. I started from scratch. The problem I have now is that I have to constantly restart the daemon in order to continue with the syncing. Have a look at the error log below. I'm not sure if it is related to the issue described in this thread or not. I removed a lot of the repetitive line entries from my new log, but last night the daemon created a log file close to 300MB.
|
Can you do another log with: --log-level 1,*p2p*:DEBUG,net.cn:DEBUG please ? |
Quite a large log file, so I'm only sharing the part that got generated where I noticed syncing got stuck.
|
This doesn't show the start, so I can't tell which P2P messages were sent to those peers. If it's too large, note that I mentioned placing it on fpaste.org. |
Have to work on my skim-reading ability. Here you go: |
Thanks, exactly what I need. It'll be a while now looking for clues. |
Try the branch at https://github.com/moneromooo-monero/bitmonero/tree/ktest If you know how to use git, then just apply the last patch. If not, just clone that branch and use that. Run this with --log-level 1,*p2p*:DEBUG,net.cn:DEBUG too please. |
ping |
No reply, I can't recall what the problem was as the paste has timed out ,and sync fixes are now in 0.11.1.0, closing. Reopen if still not fixed in 0.11.1.0. +resolved |
What can I do in this case ? 2022-04-27 08:03:38.495 [P2P9] WARNING net.p2p src/p2p/net_node.inl:1231 [20.200.83.5:18080 OUT] COMMAND_HANDSHAKE Failed |
@Paul1804 you have to explain in more detail what issues you have. |
Oh, sorry ! All is working.. But I have another question. Why daemon, which I wrote is fall ? [Unit] [Service] [Install] ...and this bitmonero.log 2022-05-05 08:11:39.496 [SRV_MAIN] INFO global src/daemon/p2p.h:79 Starting p2p net loop... |
Ubuntu (16.04.3 LTS), native build of master branch (due to bug #2521 to have fix #2492)
Sync process stuck on one point.
I tried to start monerod with "--block-sync-size 1" and "--block-sync-size 20"
I tried with different internet access links (including good one), results are the same.
Logs are full of stuff like this:
2017-09-26 10:09:24.755 [P2P2] WARN net.p2p src/p2p/net_node.inl:722 [212.83.172.165:28080 OUT] COMMAND_HANDSHAKE invoke failed. (-4, LEVIN_ERROR_CONNECTION_TIMEDOUT)
2017-09-26 10:09:24.755 [P2P0] WARN net.p2p src/p2p/net_node.inl:771 [212.83.172.165:28080 OUT] COMMAND_HANDSHAKE Failed
2017-09-26 10:09:25.257 [P2P9] WARN net.p2p src/p2p/net_node.inl:1594 [212.83.175.67:18080 OUT] COMMAND_REQUEST_SUPPORT_FLAGS invoke failed. (-3, LEVIN_ERROR_CONNECTION_DESTROYED)
2017-09-26 10:09:26.071 [P2P8] INFO global src/cryptonote_protocol/cryptonote_protocol_handler.inl:305 [207.244.103.152:18080 OUT] Sync data returned a new top block candidate: 1358593 -> 1407453 [Your node is 48860 blocks (67 days) behind]
SYNCHRONIZATION started
2017-09-26 10:09:30.631 [P2P4] ERROR verify src/cryptonote_core/blockchain.cpp:3401 Block with id: has at least one transaction (id: <4e9f0f57c64b6caa7fcb2faaee7aabb6fd00ea31a9fb9d7b77d9f34ef56d3c2d>) with wrong inputs.
2017-09-26 10:09:30.632 [P2P4] ERROR verify src/cryptonote_core/blockchain.cpp:3404 Block with id added as invalid because of wrong inputs in transactions
2017-09-26 10:09:33.878 [P2P9] ERROR verify src/cryptonote_core/blockchain.cpp:1437 Block recognized as orphaned and rejected, id = , height 1358594, parent in alt 0, parent in main 0 (parent , current top <28c9c916402d888d5ee8fb019b8f25386dca5f8ba8c1f5775e6e80fc0b474c61>, chain height 1358593)
2017-09-26 10:09:38.998 [P2P4] WARN net.p2p src/p2p/net_node.inl:743 [50.53.99.93:18080 OUT] COMMAND_HANDSHAKE invoked, but process_payload_sync_data returned false, dropping connection.
2017-09-26 10:09:38.999 [P2P0] WARN net.p2p src/p2p/net_node.inl:771 [50.53.99.93:18080 OUT] COMMAND_HANDSHAKE Failed
2017-09-26 10:09:42.488 [P2P8] ERROR verify src/cryptonote_core/blockchain.cpp:1437 Block recognized as orphaned and rejected, id = , height 1358594, parent in alt 0, parent in main 0 (parent , current top <28c9c916402d888d5ee8fb019b8f25386dca5f8ba8c1f5775e6e80fc0b474c61>, chain height 1358593)
2017-09-26 10:09:44.788 [P2P6] ERROR net.cn src/cryptonote_protocol/cryptonote_protocol_handler.inl:1021 [176.9.2.145:8180 OUT] Got block with unknown parent which was not requested - querying block hashes
2017-09-26 10:09:47.245 [P2P4] ERROR net.cn src/cryptonote_protocol/cryptonote_protocol_handler.inl:1021 [91.213.203.48:18080 OUT] Got block with unknown parent which was not requested - querying block hashes
The text was updated successfully, but these errors were encountered: