Cntools Cardano node stuck Epoc 0 Status starting

Wait… u will need the cabal bin folder

Run one by one


cd "$HOME/tmp"
./prereqs.sh 
. "${HOME}/.bashrc"

now go to

cd ${HOME}/.cabal/
ls -l
Do u see the cabal folder?

inside ( d ${HOME}/.cabal/ )

~/.cabal$ ls -l

drwxrwxr-x 2 4096 Jan 23 14:41 bin
-rw-rw-r-- 1 5392 Jan 23 13:59 config
drwxrwxr-x 3 4096 Jan 23 13:59 packages

1 Like

Now run the script to upgrade the nodes

1 Like

Hi,

After running the updat escript, now I have cnode.service error and Im still on v1.29.1, I rebooted the server to no avail

~$ sudo systemctl status cnode
● cnode.service - Cardano Node
Loaded: loaded (/etc/systemd/system/cnode.service; enabled; vendor preset: enabled)
Active: inactive (dead) (Result: exit-code) since Sun 2022-01-23 17:19:55 UTC; 792ms ago
Process: 16921 ExecStart=/bin/bash -l -c exec /opt/cardano/cnode/scripts/cnode.sh (code=exited, status=1/FAILURE)
Main PID: 16921 (code=exited, status=1/FAILURE)

Jan 23 17:19:55 projectos-02 systemd[1]: cnode.service: Scheduled restart job, restart counter is at 57.
Jan 23 17:19:55 projectos-02 systemd[1]: Stopped Cardano Node.
~$ cardano-node --version
cardano-node 1.29.1 - linux-x86_64 - ghc-8.10
git rev 8617cc395b9493d9b5fa05bebc8644a7384c103e

You have the old bin files somewhere

If u type
cd ${HOME}/.cabal/bin
ls -l

Do u see the cardano-node and cardano-cli here right?

type also
which cardano-node

Thank you Alex, much appreciated

Yes I did, I found one also under /local/bin , after deleting it, I was able to start the cnode servise and the cardano-node is now on 1.33.1

The gLive show ( tip / GC miner and major ) increasing so if Im not mistaken, this is working now

    > Cardano Node - (Relay - Mainnet) : 1.33.1 [1a745342] <

┌────────────────────────────────┬────────────┬────────────────────────┐
│ Uptime: 00:03:45 │ Port: 6000 │ Guild LiveView v1.25.1 │
│--------------------------------└────────────┴────────────────────────┤
│ Epoch 0 [0.0%], 2d 03:58:31 remaining │
│ ▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖ │
│ │
│ Block : 0 Tip (ref) : 51393689 Forks : 0 │
│ Slot : 0 Status : starting Total Tx : 0 │
│ Slot epoch : 0 Density : 0.0 Pending Tx : 0/0K │
│- CONNECTIONS --------------------------------------------------------│
│ P2P : disabled Incoming : 0 Outgoing : 0 │
│- BLOCK PROPAGATION --------------------------------------------------│
│ Last Delay : 0.00s Served : 0 Late (>5s) : 0 │
│ Within 1s : 0.00% Within 3s : 0.00% Within 5s : 0.00% │
│- NODE RESOURCE USAGE ------------------------------------------------│
│ CPU node : 105% Mem (Live) : 0.0G GC Minor : 8429 │
│ Mem (RSS) : 0.1G Mem (Heap) : 0.1G GC Major : 309 │
└───────────────────────────────────────────────────────────────

Perfect, now u must wait more time till the node will start… u should have ~10G of RAM, in case not u should configure a SWAP file

:beers:

PS: for the next server use 1.33.0 version… 1.31.1 is not official released … but should not be any issue if u will use it

1 Like

Thank you Alex, I don’t kbnow what I would’ve done without your help

i owe a beer

:beers:

1 Like