Relay node stuck on Starting

Hello! I’ve browsed through the threads that experience this issue but have not been able to resolve it.
I have one relay node that is acting up. It went down after a few days on Alonzo upgrade and has been stuck on Starting… since.

I read somewhere about the db folder being corrupt. So i deleted the folder, and began syncing again. Its now been about 6-7 days on syncing(!!) and when I checked yesterday it was on epoch 282 and when checking the node again today I expected it to be fully synced but there we have it again; Starting…

I have no clue on why this happens. Please I need help.

Screenshot from 2021-10-04 16-47-52

journalctl -e -f -u cardano-node
Also did u downloaded the files for alonzo?

I’m not sure I downloaded the files for Alonzo? What files are we talking about.

Its weird, when I type “journalctl -e -f -u cardano-node”

It just says: – Logs begin at Sun 2021-09-19 18:00:00 CEST. –
And then a blinking dot under…

are u using coincashew or cntools guide?

if you are using coincashew guide, please download the files

https://hydra.iohk.io/build/7654130/download/1/index.html

Im using CNtools. been upgrading the node with your guide here on the forum. But Im not sure what files I shouldve downloaded.

alonzo file. .go to cd $CNODE_HOME/files
ls -l and share the output

also try journalctl -e -f -u cnode

total 1092
-rwxr-xr-x 1 hampus hampus 9459 sep 23 08:04 alonzo-genesis.json
-rwxr-xr-x 1 hampus hampus 1056360 mar 20 2021 byron-genesis.json
-rwxr-xr-x 1 hampus hampus 2558 sep 23 08:05 config.json
-rwxr-xr-x 1 hampus hampus 2394 mar 20 2021 config.json_bkp1616266766
-rwxr-xr-x 1 hampus hampus 2632 mar 20 2021 dbsync.json
-rwxr-xr-x 1 hampus hampus 2632 mar 20 2021 dbsync.json_bkp1616266766
-rwxr-xr-x 1 hampus hampus 2486 mar 20 2021 genesis.json
-rw-rw-r-- 1 hampus hampus 4422 sep 30 23:15 topology30.json
-rw-rw-r-- 1 hampus hampus 8756 okt 1 09:02 topology60.json
-rw-rw-r-- 1 hampus hampus 2513 sep 30 23:03 topologyDontknow.json
-rw-r–r-- 1 hampus hampus 2985 okt 2 07:02 topology.json

The topology"Something" is just different kinds of topology files I tried to try and speed up the sync speed.

The journalctl -e -f -u cnode worked! But its miles long. Ill share a textfile in a minute.

Here is the .txt file, I had to rename it to .pdf to be able to upload

you can copy here only the last lines from the last reload

okt 04 16:44:48 Relay2 systemd[1]: Started Cardano Node.
okt 04 16:44:48 Relay2 cnode[356003]: Guild scripts has now been upgraded to support cardano-node 1.30.1 or higher (1.27.0 found).
okt 04 16:44:48 Relay2 cnode[356003]: Please update cardano-node (note that you should ideally update your config too) or use tagged branches for older node version.
okt 04 16:44:48 Relay2 cnode[356003]: WARN: A prior running Cardano node was not cleanly shutdown, socket file still exists. Cleaning up.
okt 04 16:44:49 Relay2 cnode[356061]: Listening on http://127.0.0.1:12798
okt 04 18:24:52 Relay2 systemd[1]: Stopping Cardano Node…
okt 04 18:24:52 Relay2 cnode[356061]: Shutting down…
okt 04 18:24:52 Relay2 systemd[1]: cnode.service: Succeeded.
okt 04 18:24:52 Relay2 systemd[1]: Stopped Cardano Node.
okt 04 19:47:48 Relay2 systemd[1]: Started Cardano Node.
okt 04 19:47:49 Relay2 cnode[480438]: Guild scripts has now been upgraded to support cardano-node 1.30.1 or higher (1.27.0 found).
okt 04 19:47:49 Relay2 cnode[480438]: Please update cardano-node (note that you should ideally update your config too) or use tagged branches for older node version.
okt 04 19:47:49 Relay2 cnode[480438]: WARN: A prior running Cardano node was not cleanly shutdown, socket file still exists. Cleaning up.
okt 04 19:47:49 Relay2 cnode[480497]: Listening on http://127.0.0.1:12798

Type

cardano-node - -version
which cardano-node

go to cd $CNODE_HOME/files
ls -l and share the output

/opt/cardano/cnode/scripts$ cardano-node --version
cardano-node 1.30.1 - linux-x86_64 - ghc-8.10
git rev 0fb43f4e3da8b225f4f86557aed90a183981a64f

/opt/cardano/cnode/files$ ls -l
total 1092
-rwxr-xr-x 1 hampus hampus 9459 sep 23 08:04 alonzo-genesis.json
-rwxr-xr-x 1 hampus hampus 1056360 mar 20 2021 byron-genesis.json
-rwxr-xr-x 1 hampus hampus 2558 sep 23 08:05 config.json
-rwxr-xr-x 1 hampus hampus 2394 mar 20 2021 config.json_bkp1616266766
-rwxr-xr-x 1 hampus hampus 2632 mar 20 2021 dbsync.json
-rwxr-xr-x 1 hampus hampus 2632 mar 20 2021 dbsync.json_bkp1616266766
-rwxr-xr-x 1 hampus hampus 2486 mar 20 2021 genesis.json
-rw-rw-r-- 1 hampus hampus 4422 sep 30 23:15 topology30.json
-rw-rw-r-- 1 hampus hampus 8756 okt 1 09:02 topology60.json
-rw-rw-r-- 1 hampus hampus 2513 sep 30 23:03 topologyDontknow.json
-rw-r–r-- 1 hampus hampus 2985 okt 2 07:02 topology.json

Thanks for the help so far Alex!

cd /usr/local/bin
ls -l

and nano ${HOME}/.bashrc" - show me the last lines, with export ones

/usr/local/bin$ ls -l
total 256128
-rwxrwxr-x 1 hampus hampus 84966200 mar 20 2021 cabal
-rwxr-xr-x 1 root root 82457208 maj 29 10:47 cardano-cli
-rwxr-xr-x 1 root root 94844960 maj 29 10:47 cardano-node

export CNODE_HOME=/opt/cardano/cnode
[ -f “/home/hampus/.ghcup/env” ] && source “/home/hampus/.ghcup/env” # ghcup-env

perfect, now go to

cd /usr/local/bin

sudo rm -R cardano-node
sudo rm -R cardano-cli

now run


. "${HOME}/.bashrc"

Now restart the node

sudo systemctl restart cnode

Check with journal …

journalctl -e -f -u cnode

Type top and check the CPU (should be ~100%)
Start glive

Also the new version will use more than 8G… how much RAM has the server?

Now its syncing again! Its on epoch 290 and syncing. I think it works now! Thank you so much Alex.

What was it that I had done wrong to cause this issue?

1 Like

Before cntools u used another guide … and perhaps u missed also to run the command


. "${HOME}/.bashrc"