UPDATE CARDANO NODE to 1.29.0 - FOR CNTOOLS users

Complete output and I’ll leave the IP in there, I hope thats not a security risk.

Checking for script updates…
{ “resultcode”: “502”, “datetime”:“2021-08-31 23:59:14”, “clientIp”: “34.136.198.183”, “msg”: “invalid blockNo [0]” }
xxx@relay1:/opt/cardano/cnode/scripts$

nano topology_Updater.sh …any way… let’s upgrade the scripts

cd ~/tmp
./prereqs.sh

then restart the node

sudo systemctl stop cnode
sudo systemctl start cnode

wait few minutes and check glive

There is no problem with the Producer, it’s just the Relays are not connected/synced and the Producer will not start because it needs to connect to a synced node in order to start

1 Like

:~/tmp$ ~/tmp/prereqs.sh
A new version of prereqs script is available, do you want to download the latest version? (yes/no): y

Do I need to run the script?

yes, upgrade it and run again ./prereqs.sh

Oh sorry… I missed the command line …

My relays are synced but my BP still won’t start. bp


@FungiPool

type top - do u see the CPU 100% ?
type journalctl -e -f -u cnode and show me the output…

Yes, CPU 100%-106%

Aug 31 16:56:09 xxxxxbp systemd[1]: Started Cardano Node.
Aug 31 16:56:10 xxxxxbp cnode[189302]: Listening on http://127.0.0.1:12798
Aug 31 17:10:50 xxxxxbp systemd[1]: Stopping Cardano Node…
Aug 31 17:10:55 xxxxxbp systemd[1]: cnode.service: State ‘stop-sigterm’ timed out. Killing.
Aug 31 17:10:55 xxxxxbp systemd[1]: cnode.service: Killing process 189233 (bash) with signal SIGKILL.
Aug 31 17:10:55 xxxxxbp systemd[1]: cnode.service: Killing process 189302 (cardano-node) with signal SIGKILL.
Aug 31 17:10:55 xxxxxbp systemd[1]: cnode.service: Killing process 189305 (cardano-node:w) with signal SIGKILL.
Aug 31 17:10:55 xxxxxbp systemd[1]: cnode.service: Killing process 189307 (cardano-node:w) with signal SIGKILL.
Aug 31 17:10:55 xxxxxbp systemd[1]: cnode.service: Killing process 189308 (n/a) with signal SIGKILL.
Aug 31 17:10:55 xxxxxbp systemd[1]: cnode.service: Killing process 189310 (cardano-node:w) with signal SIGKILL.
Aug 31 17:10:55 xxxxxbp systemd[1]: cnode.service: Main process exited, code=killed, status=9/KILL
Aug 31 17:10:55 xxxxxbp systemd[1]: cnode.service: Killing process 189310 (cardano-node:w) with signal SIGKILL.
Aug 31 17:10:55 xxxxxbp systemd[1]: cnode.service: Failed with result ‘timeout’.
Aug 31 17:10:55 xxxxxbp systemd[1]: Stopped Cardano Node.
Aug 31 17:11:25 xxxxxbp systemd[1]: Started Cardano Node.
Aug 31 17:11:27 xxxxxbp cnode[205734]: Listening on http://127.0.0.1:12798

ok, what is the hardware configuration? it seems the node is killed (I think not enough RAM)

16GB DDR4 should be enough, correct?

correct, check the status on glive… see if the uptime will reset.

also type sudo systemctl status cnode, what is the output?

● cnode.service - Cardano Node
Loaded: loaded (/etc/systemd/system/cnode.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2021-08-31 17:11:25 PDT; 6min ago
Main PID: 205666 (bash)
Tasks: 10 (limit: 18981)
Memory: 1.5G
CGroup: /system.slice/cnode.service
├─205666 bash /opt/cardano/cnode/scripts/cnode.sh
└─205734 cardano-node run --topology /opt/cardano/cnode/files/topology.json --config /opt>

all lines please…

Aug 31 17:11:25 xxxxxbp systemd[1]: Started Cardano Node.
Aug 31 17:11:27 xxxxxbp cnode[205734]: Listening on http://127.0.0.1:12798

did u upgraded the scripts? try cd ~/tmp
./prereqs.sh

then restart the node

sudo systemctl restart cnode

A few minutes later and the same for the relay.

I’m getting worried, its been 10 hours that I’m working on this. How long until I lose my pledge?

I upgraded the scripts, restarted the node and am still having the same issue. Argh…

what do you mean?

ok, obviously something is not ok, I can’t figure out why the nodes will not start… did u also modified the config.json and added the line for alonzo file right?

also 2 relays are fine and the producer not… something is wrong/broken…