It is set up as a systemd and the node appears to start ok
cnode.service - Cardano Node
Loaded: loaded (/etc/systemd/system/cnode.service; enabled; vendor preset:>
Active: active (running) since Fri 2020-12-18 00:29:31 GMT; 1s ago
Main PID: 56081 (cnode.sh)
Tasks: 3 (limit: 9487)
Memory: 3.0M
CGroup: /system.slice/cnode.service
├─56081 /bin/bash /opt/cardano/cnode/scripts/cnode.sh
├─56124 /bin/bash /opt/cardano/cnode/scripts/cnode.sh
└─56125 jq -r .networkMagic
but gLiveView gives the error stated above - also the relays cannot see the BP node
yeah, because your BP is not running, that’s why your relays don’t see the BP
please give me all the output:
like
â cnode.service - Cardano Node
Loaded: loaded (/etc/systemd/system/cnode.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Fri 2020-12-11 14:06:53 CET; 6 days ago
Process: 25319 ExecStop=/bin/bash -l -c exec kill -2 $(ps -ef | grep [c]ardano-node.*./opt/cardano/cnode/ | tr -s ’ ’ | cut -d ’ ’ -f2) &>/dev/null (code=exited, status=0/SUCCESS)
Process: 12852 ExecStart=/bin/bash -l -c exec /opt/cardano/cnode/scripts/cnode.sh (code=killed, signal=INT)
Main PID: 12852 (code=killed, signal=INT)
Dec 11 12:16:21 vmi438734.contaboserver.net systemd[1]: Started Cardano Node.
Dec 11 12:16:21 vmi438734.contaboserver.net cnode[12852]: WARN: A prior running Cardano node was not cleanly shutdown, socket file still exists. Cleaning up.
Dec 11 12:16:22 vmi438734.contaboserver.net cnode[12852]: Listening on http://0.0.0.0:12798
Dec 11 14:06:52 vmi438734.contaboserver.net systemd[1]: Stopping Cardano Node…
Dec 11 14:06:52 vmi438734.contaboserver.net cnode[12852]: Shutting down…
Dec 11 14:06:53 vmi438734.contaboserver.net systemd[1]: Stopped Cardano Node.
If I run sudo systemctl status cnode.service
this is what I get
:/opt/cardano/cnode/scripts$ sudo systemctl status cnode.service
● cnode.service - Cardano Node
Loaded: loaded (/etc/systemd/system/cnode.service; enabled; vendor preset:>
Active: active (running) since Fri 2020-12-18 00:29:31 GMT; 1s ago
Main PID: 56081 (cnode.sh)
Tasks: 3 (limit: 9487)
Memory: 3.0M
CGroup: /system.slice/cnode.service
├─56081 /bin/bash /opt/cardano/cnode/scripts/cnode.sh
├─56124 /bin/bash /opt/cardano/cnode/scripts/cnode.sh
└─56125 jq -r .networkMagic
Dec 18 00:29:31 GNP1-BP systemd[1]: Started Cardano Node.
try
sudo systemctl stop cnode.service
sudo systemctl start cnode.service
sudo systemctl status cnode.service
it’s the same?
Alexd1985:
sud
I get this now
sudo systemctl status cnode.service
● cnode.service - Cardano Node
Loaded: loaded (/etc/systemd/system/cnode.service; enabled; vendor preset:>
Active: activating (auto-restart) (Result: exit-code) since Fri 2020-12-18>
Process: 71435 ExecStart=/bin/bash -l -c exec /opt/cardano/cnode/scripts/cn>
Main PID: 71435 (code=exited, status=1/FAILURE)
Actually if I do it a little slower I get what I had before
:/opt/cardano/cnode/scripts$ sudo systemctl status cnode.service
● cnode.service - Cardano Node
Loaded: loaded (/etc/systemd/system/cnode.service; enabled; vendor preset:>
Active: active (running) since Fri 2020-12-18 00:50:19 GMT; 1s ago
Main PID: 72868 (cnode.sh)
Tasks: 3 (limit: 9487)
Memory: 3.0M
CGroup: /system.slice/cnode.service
├─72868 /bin/bash /opt/cardano/cnode/scripts/cnode.sh
├─72914 /bin/bash /opt/cardano/cnode/scripts/cnode.sh
└─72915 jq -r .networkMagic
Dec 18 00:50:19 GNP1-BP systemd[1]: Started Cardano Node.
lines 1-12/12 (END)
let;s start it manually
vmi438734:/opt/cardano/cnode/scripts$ ./cnode.sh
you should see
WARN: A prior running Cardano node was not cleanly shutdown, socket file still exists. Cleaning up.
Listening on http://0.0.0.0:12798
Alexd1985:
go to cd $CNODE_HOME/scri
I am doing it manually now
Ah there might be an issue here
:/opt/cardano/cnode/scripts$ ./cnode.sh
VRF private key file at: /opt/cardano/cnode/priv/pool/GNP1/vrf.skey has “other” file permissions. Please remove all “other” file permissions.
please delete your username…someone can hack you…
ok, we need to change the permissions of key… go to cd $CNODE_HOME/prv/pool/folder_name
and type chmod 400 vrf.skey
after that try again sudo systemctl stop cnode.service
sudo systemctl start cnode.service
sudo systemctl status cnode.service
they should be fixed up now
Alexd1985:
chmod 400 vrf.skey
● cnode.service - Cardano Node
Loaded: loaded (/etc/systemd/system/cnode.service; enabled; vendor preset:>
Active: active (running) since Fri 2020-12-18 00:58:16 GMT; 52s ago
Main PID: 73989 (cnode.sh)
Tasks: 17 (limit: 9487)
Memory: 1009.5M
CGroup: /system.slice/cnode.service
├─73989 /bin/bash /opt/cardano/cnode/scripts/cnode.sh
└─74080 cardano-node run --topology /opt/cardano/cnode/files/topol>
Dec 18 00:58:16 GNP1-BP systemd[1]: Started Cardano Node.
Dec 18 00:58:21 GNP1-BP cnode[74080]: Listening on http://127.0.0.1:12798
great, now should be fine, your BP is up again
Thanks very much - I am back in business - just on the hacking issue however - shouldn’t I be safe as my ssh connection can onlyl be made behind my firewall?
yeah, but don’t mess with them who knows :))
now I will give you more tips. go to pooltool.io and claim your pool
you need to creat an account… they will provide you an API Key: 9178b1f4-… in your proffile page.
use that API KEY in cncli script:
this will be use by cncli to send some informations to pooltool.io
if your pool information match pooltool info than you know that your BP is running
or setup grafana, I’m using for monitoring as well
1 Like
Many thanks - I will get onto that and the other stuff you sent first thing in the morning - appreciate the help i thanks
yeah, no problem… you can send me message on telegram… I’ll answer faster there:
Hi - I have joined your channel but I cannot post messages