Hmm… what version do u have?
Yes, u can try
3.0a is the version
What 3.0a …
lando@landocardano:/opt/cardano/cnode/scripts$ tmux -V
tmux 3.0a
Not tmux ok; try to kill all tmux
I killed it
Ok; can u try again
sudo systemctl restart cnode
Wait 1 min
sudo systemctl status cnode
But show me the all ouput
journalctl -e -f -u cnode.service
Mar 04 19:58:02 landocardano cnode[995188]: DbLocked “/opt/cardano/cnode/db/lock”
Mar 04 19:58:02 landocardano cnode[995188]: cardano-node: The db is used by another process. File “/opt/cardano/cnode/db/lock” is locked
Can u try
killall cardano-node
after killing it the lock file is still in the db folder, should i rm it?
Nope; try now
sudo systemctl restart cnode
sudo systemctl status cnode
this already looks a bit better:
Only this?
Not listening? Nothing?
● cnode.service - Cardano Node
Loaded: loaded (/etc/systemd/system/cnode.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2021-03-04 20:09:33 UTC; 4s ago
Main PID: 1003429 (cnode.sh)
Tasks: 10 (limit: 4683)
Memory: 98.1M
CGroup: /system.slice/cnode.service
├─1003429 /bin/bash /opt/cardano/cnode/scripts/cnode.sh
└─1003540 cardano-node run --topology /opt/cardano/cnode/files/topology.json --config /opt/cardano/cnode/files/config.json --database-path /opt/cardano/cnode/db --socket->
Mar 04 20:09:33 landocardano systemd[1]: Started Cardano Node.
● cnode.service - Cardano Node
Loaded: loaded (/etc/systemd/system/cnode.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Thu 2021-03-04 20:09:48 UTC; 161ms ago
Process: 1003553 ExecStart=/bin/bash -l -c exec /opt/cardano/cnode/scripts/cnode.sh (code=exited, status=1/FAILURE)
Main PID: 1003553 (code=exited, status=1/FAILURE)
journalctl -e -f -u cnode.service
Mar 04 20:10:46 landocardano cnode[1004376]: DbLocked “/opt/cardano/cnode/db/lock”
Mar 04 20:10:46 landocardano cnode[1004376]: cardano-node: The db is used by another process. File “/opt/cardano/cnode/db/lock” is locked