I’m working on getting my second node running, but I’m having issues syncing with the network.
I think the problem was that I tried to run the node for the first time in tmux, it frozen so I closed it and now I get the following error message:
WARN: A prior running Cardano node was not cleanly shutdown, socket file still exists. Cleaning up.
Listening on http://127.0.0.1:12798
I tried leaving it like this for a while to see if it fixed itself but nothing happen. Suggestions?
Thanks for your response. I tried killall cardano-node but got no process found. So I went and removed socket0.node. I was now able to run it without getting the warning message but I only got Listening on http://127.0.0.1:12798 as message and nothing more. The actual node is not opening…
What should I do?
so I checked the script and the host address was okay, I did change the port which I had changed in the topology file and it was not updated in the script. But it’s still stuck in listening…
you can always check if you have any open tmux session by typing:
tmux list-sessions
If there is one (or more) you can attach to latest session by typing
tmux a
if you have any frozen tmux session - you can kill it with:
tmux kill-server
before that, try to gracefully kill the cardano-node processes with: killall -s SIGKILL cardano-node
if you are using CNtools scripts to run your nodes, after forced cardano-node shutdown (before it closes db and removes socket file) in some cases you will have to manually remove the socket file and only then start the script
Do you run your second node on the same server? If yes, then don’t forget to change in start script the db directory and socket file names so they are different from each node. It will not work if you are pointing to the same socket / db dir.
Hi lauris thanks for your feedback and sorry for the late reply. I still haven’t been able to solve this issue.
I don’t have any tmux session running, using the killall command returns “no process found” and I tried several times already deleting the socket file and db but still get the same error message…
What else could I do? delete everything and start from scratch?
Okay, so I run prereqs.sh again to update the files. I updated the port and the topology file. I run the cnode.sh again and is still stuck on Listening on http://127.0.0.1:12798
do you have any log file? maybe in logs folder?
as it looks like it starts, but doesn’t report any movement to the console.
check config file for:
“defaultScribes”: [
[
“StdoutSK”,
“stdout”
]
],
or maybe MinSeverity settings are too high.
“minSeverity”: “Debug”,
Hi lauris, thanks again for your feedback. I have node version 1.19.0
I do have logs files in the logs folder, every single one has the following information
it depends where you store your scripts/logs/db, etc… if not in the cardano-node source folder, then just delete (or just in case, rename) and that’s it.
Hi @lauris
I have the same issue, getting Listening on http://127.0.0.1:12798 when running ./cnode.sh script
I build up my servers from scratch twice but still the same.
I appreciate your resolution steps in advance