SOLVED! I Built it with gcc 4.8 instead of 4.9, which is the default in Ubuntu 15.04, ran the daemon again and it continued syncing with the network.
Can't sync further than block 600000 on RPi2
Hey guys, long time no see.
I've been trying to get the daemon running on my RPi2, but as the title says, it can't go further than block 600000.
This is what I'm getting on the daemon with log level 1:
2015-Sep-11 16:13:21.284948 [P2P5][x.x.x.x:18080 OUT]Got NEW BLOCKS inside of handle_response_get_objects: size: 200
2015-Sep-11 16:13:21.287054 [P2P5]block_batches: 50
2015-Sep-11 16:13:43.943077 [P2P5]Attempting to get an output index by amount and amount index, but amount not found
2015-Sep-11 16:13:43.944592 [P2P5]EXCEPTION: Attempting to get an output index by amount and amount index, but amount not found
2015-Sep-11 16:13:43.945644 [P2P5]Attempting to get an output index by amount and amount index, but amount not found
2015-Sep-11 16:13:43.946160 [P2P5]EXCEPTION: Attempting to get an output index by amount and amount index, but amount not found
2015-Sep-11 16:13:43.946844 [P2P5]Attempting to get an output index by amount and amount index, but amount not found
2015-Sep-11 16:13:43.947319 [P2P5]EXCEPTION: Attempting to get an output index by amount and amount index, but amount not found
2015-Sep-11 16:13:43.997582 [P2P5]Attempting to get an output index by amount and amount index, but amount not found
2015-Sep-11 16:13:43.998209 [P2P5]EXCEPTION: Attempting to get an output index by amount and amount index, but amount not found
2015-Sep-11 16:13:44.057103 [P2P5]Index: 379286 Elems: 379283 partial results found for get_output_tx_and_index
2015-Sep-11 16:13:45.517307 [P2P5]Index: 203994 Elems: 203993 partial results found for get_output_tx_and_index
2015-Sep-11 16:13:50.325647 [P2P5]Index: 160939 Elems: 160932 partial results found for get_output_tx_and_index
2015-Sep-11 16:13:51.071835 [P2P5]Index: 146588 Elems: 146580 partial results found for get_output_tx_and_index
2015-Sep-11 16:13:51.098315 [P2P5]Index: 138615 Elems: 138615 partial results found for get_output_tx_and_index
2015-Sep-11 16:13:51.272280 [P2P5]Index: 767858 Elems: 767857 partial results found for get_output_tx_and_index
2015-Sep-11 16:13:51.420019 [P2P5]Index: 919657 Elems: 919657 partial results found for get_output_tx_and_index
2015-Sep-11 16:13:51.517548 [P2P5]Index: 576475 Elems: 576465 partial results found for get_output_tx_and_index
2015-Sep-11 16:13:51.588766 [P2P5]Index: 429831 Elems: 429823 partial results found for get_output_tx_and_index
2015-Sep-11 16:13:51.782240 [P2P5]Index: 437187 Elems: 437180 partial results found for get_output_tx_and_index
2015-Sep-11 16:13:53.368374 [P2P5]Index: 253644 Elems: 253633 partial results found for get_output_tx_and_index
2015-Sep-11 16:13:56.185001 [P2P5]Index: 573561 Elems: 573534 partial results found for get_output_tx_and_index
2015-Sep-11 16:13:57.101432 [P2P5]Index: 194994 Elems: 194985 partial results found for get_output_tx_and_index
2015-Sep-11 16:13:57.131773 [P2P5]Index: 164010 Elems: 164003 partial results found for get_output_tx_and_index
2015-Sep-11 16:13:57.195631 [P2P5]Index: 79241 Elems: 79241 partial results found for get_output_tx_and_index
2015-Sep-11 16:13:57.214062 [P2P5]Index: 49647 Elems: 49637 partial results found for get_output_tx_and_index
2015-Sep-11 16:13:57.329523 [P2P5]Index: 680691 Elems: 680689 partial results found for get_output_tx_and_index
2015-Sep-11 16:13:57.475192 [P2P5]Block with id: f5828ebf7d7d1cb61762c4dfe3ccf4ecab2e1aad23e8113668d981713b7a54c5
does not have enough proof of work: b1ed729182b9bde7b618b574d0632e92c15b6ffee0f78cad6803e78507bce9a
unexpected difficulty: 730890142
2015-Sep-11 16:13:57.476523 [P2P5][x.x.x.x:18080 OUT]Block verification failed, dropping connection
It keeps trying and trying but won't accept that block.
I've also noticed that previously, when launching the daemon it would say "Loading precomputed blocks: 600000" as in this snippet:
2015-Sep-11 04:14:35.397710 option: fastest
2015-Sep-11 04:14:35.398122 option: async
2015-Sep-11 04:14:35.398525 option: 1000
2015-Sep-11 04:16:01.355064 Entering BDB checkpoint thread.
2015-Sep-11 04:16:01.393517 Loading precomputed blocks: 600000
2015-Sep-11 04:16:02.315576 Blockchain initialized. last block: 385536, d243.h22.m48.s53 time ago, current difficulty: 743348338
2015-Sep-11 04:16:03.501039 Core initialized OK
But now that I'm on block 599999, trying to get 600000, that message is no longer displayed.
Any ideas?
EDIT to add:
I'm using Ubuntu MATE 15.04 with libdb 5.3.21
Also, I want to mention that with this exact same configuration on x86 32-bit it works (not sure now if libdb was exaclty 5.3.21, but definitely 5.3).
can you post the commands to fix the gcc version? I remember googling it once, and its not a particulary straightforward venture.
"funny" because the current bitcoin also needs Berkeley db in the ver 4.8