After an update I cannot find my node.socket file here is the problem:
after running the most recent update i’ve attempted to run ./cntools
Looks like cardano-node is running with socket-path as /db/socket, but the actual socket file does not exist. This could occur if the node hasn’t completed startup or if a second instance of node startup was attempted! If this does not resolve automatically in a few minutes, you might want to restart your node and try again.
Same thing with glive view:
ERROR: CNTools failed to load common env file so I look in env file:
so I search for it:
Doesnt return anything, so i run journalctl -e -f -u cnode.service
and brother really doesn’t like Line 57
cnode[66023]: /opt/cardano/cnode/scripts/cnode.sh: line 57: 66091 Killed
So I stop the node, restart, and look again, nothing, no socket.
Something similar happened to me before and I don’t know if it is the same case.
In my case, my socket file is missing and it didn’t matter how many times I restarted cardano-node, the socket file just won’t create. My problem was I was running prometheus monitoring tool and it was holding onto the socket file file handler. So when stopped prometheus, cardano-node was able to create the socket file and the problem went away. Check to see if you’ve a similar issue. Reboot the linux box will also cleared any open files issue.
users have similar issues with new version when system RAM is 4 GB or even with 8…
the process is probably killed by the system itself due to high memory usage…
the socket is missing till the node not in running state…
related case: