Geth permanently in "Restarting" status

Since I restarted my dappnode, that I’m validating with for months, Geth is unable to start running.
It always shows “Restarting”.

I tried to restart it, to delete reinstall the package without deleting data. But it’s always the same. It always stuck on “Restarting”

This is Geth’s log:

INFO [08-12|19:35:59.780] Allocated cache and file handles         database=/root/.ethereum/geth/chaindata cache=2.00GiB handles=524,288
INFO [08-12|19:36:01.330] Opened ancient database                  database=/root/.ethereum/geth/chaindata/ancient readonly=false
Fatal: Failed to register the Ethereum service: gap (#12811343) in the chain between ancients and leveldb
Fatal: Failed to register the Ethereum service: gap (#12811343) in the chain between ancients and leveldb
INFO [08-12|19:37:02.150] Starting Geth on Ethereum mainnet... 
INFO [08-12|19:37:02.150] Bumping default cache on mainnet         provided=1024 updated=4096
INFO [08-12|19:37:02.150] Enabling metrics collection 
INFO [08-12|19:37:02.150] Enabling stand-alone metrics HTTP endpoint address=0.0.0.0:6060
INFO [08-12|19:37:02.150] Starting metrics server                  addr=http://0.0.0.0:6060/debug/metrics
INFO [08-12|19:37:02.152] Maximum peer count                       ETH=50 LES=0 total=50
INFO [08-12|19:37:02.152] Smartcard socket not found, disabling    err="stat /run/pcscd/pcscd.comm: no such file or directory"
INFO [08-12|19:37:02.152] Set global gas cap                       cap=50,000,000
INFO [08-12|19:37:02.152] Allocated trie memory caches             clean=614.00MiB dirty=1024.00MiB
INFO [08-12|19:37:02.152] Allocated cache and file handles         database=/root/.ethereum/geth/chaindata cache=2.00GiB handles=524,288
INFO [08-12|19:37:03.770] Opened ancient database                  database=/root/.ethereum/geth/chaindata/ancient readonly=false
Fatal: Failed to register the Ethereum service: gap (#12811343) in the chain between ancients and leveldb
Fatal: Failed to register the Ethereum service: gap (#12811343) in the chain between ancients and leveldb

Do you have any suggestion what to do?

Hi @mihailo ! Could this be because of the London hard fork? Make sure you have the latest version:
DNP version: 0.1.20
Upstream version (geth): v1.10.7

Let me know if this doesn’t work.

Thanks for the suggestion @Lanski.

At the end, I had to reinstall Geth and delete all the data, and synchronize it again from the begging.
After that, I think that problem disappeared.

I updated Geth to new version day later (yesterday), and it still seems to works fine.

If accident happens again I’ll let you know.
Now it seems fine. :slightly_smiling_face: :+1:

Great to hear! :fire:
Happy Validating!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.