Looks like cardano-node is running with socket-path as /home/xxx/cardano-my-node/db/socket, but the actual socket file does not exist.
I’m using systemctl to run my node, which is working perfectly right now, along with 2 relays.
Looks like cardano-node is running with socket-path as /home/xxx/cardano-my-node/db/socket, but the actual socket file does not exist.
I’m using systemctl to run my node, which is working perfectly right now, along with 2 relays.
Check where ur socket is located and update the path in env for socket line (also uncomment the line)
My node everytime I restarted it will erase these files so expect to wait until it’s fully sync just my two cents
I’ve done this but still having issues, here is my ENV line:
SOCKET="${NODE_HOME}/db/socket"
but the thing is there is no folder socket or socket in there.
in my db folder i have “node.socket” ive tried /db/ and /db/socket
ive changed my .bashrc, env, startBlock, with these two different paths to test and nothing.
My nodes should be synced they been running a few days.
I’m running pointing exactly to this node.socket file as you said you have
But where is the node socket located
Here?
cd ${NODE_HOME}/db/socket
Or here
cd ${NODE_HOME}/db
What is the name of the socket?
node.socket ?
its in db/
3:~/cardano-my-node/db$ ls
clean immutable ledger lock node.socket protocolMagicId volatile
Then in env u should use
cd ${NODE_HOME}/db
Save the file and check again in glive.
What is the err in glive
Also if u type sudo systemctl status cardano-node u should see a socket warning line
Blockquote
ERROR: You specified 12788 as your EKG port, but it looks like the cardano-node (PID: 68275 ) is not listening on this port. Please update the config or kill the conflicting process first.
Guild LiveView terminated, cleaning up…
Blockquote ~/cardano-my-node$ sudo systemctl status cardano-node
● cardano-node.service - Cardano node service
Loaded: loaded (/etc/systemd/system/cardano-node.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2021-02-28 23:32:47 UTC; 26min ago
Main PID: 68265 (bash)
Tasks: 10 (limit: 4638)
Memory: 1.3G
CGroup: /system.slice/cardano-node.service
├─68265 /bin/bash -c /home/dii/cardano-my-node/startBlockProducingNode.sh
└─68275 /usr/local/bin/cardano-node run --topology /home/dii/cardano-my-node/mainnet-topology.json --database-path /home/dii/cardano-my-node/db --socket-path /home/dii/cardano>
Feb 28 23:33:06 ip-x bash[68275]: [ip-xcardano.node.ForgeTime:Info:63] [2021-02-28 23:33:06.32 UTC] fromList
Feb 28 23:33:06 ip-x bash[68275]: [ip-x.node.ForgeTime:Info:63] [2021-02-28 23:33:06.32 UTC] fromList
Feb 28 23:33:06 ip-x bash[68275]: [ip-xcardano.node.Forge:Info:63] [2021-02-28 23:33:06.32 UTC] fromList [(“credentials”,String “Cardano”),(“val”,Object (fromList [(“kind”,>
Feb 28 23:33:06 ip-x bash[68275]: [ip-172-3:cardano.node.ForgeTime:Info:63] [2021-02-28 23:33:06.32 UTC] fromList
Feb 28 23:33:06 ip-x bash[68275]: [ip-172-3:cardano.node.IpSubscription:Info:72] [2021-02-28 23:33:06.32 UTC] IPs: 0.0.0.0:0 Trying to conn>
Feb 28 23:33:06 ip-x bash[68275]: [ip-172-3:cardano.node.IpSubscription:Info:74] [2021-02-28 23:33:06.32 UTC] IPs: 0.0.0.0:0 [x:6000] Connection Att>
Feb 28 23:33:06 ip-x bash[68275]: [ip-172-3:cardano.node.IpSubscription:Notice:72] [2021-02-28 23:33:06.32 UTC] IPs: 0.0.0.0:0 [x:6000] Waiting 0.02>
Feb 28 23:33:06 ip-x bash[68275]: [ip-x:cardano.node.IpSubscription:Info:74] [2021-02-28 23:33:06.32 UTC] IPs: 0.0.0.0:0 [x:x:6000] Closed socket >
Feb 28 23:33:06 ip-xbash[68275]: Shutting down…
Feb 28 23:33:06 ip-x bash[68275]: [ip-172-3:cardano.node.ChainDB:Info:5] [2021-02-28 23:33:06.32 UTC] Closed db with immutable tip at 6d9eab6e6f95a59aa7da633a4d1acbfb49fcc26fc61>
ERROR: You specified 12788 as your EKG port, but it looks like the cardano-node (PID: 68275 ) is not listening on this port. Please update the config or kill the conflicting process first.
Guild LiveView terminated, cleaning up…
I think my prometheus setup on the mainnet-config is messing something up
In env do u have the ekg line commented? Or uncommented? I think should be commented
#EKG_TIMEOUT=3 # Maximum time in seconds that you allow EKG request to take before aborting (node metrics)
#CURL_TIMEOUT=10 # Maximum time in seconds that you allow curl file download to take before aborting (GitHub update process)
#BLOCKLOG_DIR="${CNODE_HOME}/guild-db/blocklog" # Override default directory used to store block data for core node
#BLOCKLOG_TZ=“UTC” # TimeZone to use when displaying blocklog - List of tz database time zones - Wikipedia
#SHELLEY_TRANS_EPOCH=208 # Override automatic detection of shelley epoch start, e.g 208 for mainnet
#TG_BOT_TOKEN="" # Uncomment and set to enable telegramSend function. To create your own BOT-token and Chat-Id follow guide at:
#TG_CHAT_ID="" # Guild Operators Documentation
#USE_EKG=“N”
should I just use prometheus?
No, u should have a ekg port in env
It is commented or not?
should I add the 127.0.0.1 ?
i uncommeted the port
Perfect, check again
Restart the node
Looks like cardano-node is running with socket-path as /home/xxx/cardano-my-node/db/, but the actual socket file does not exist.
This could occur if the node hasnt 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.
Wait few minutes to start… it takes ~ 5-6 min even more
Now should be fine
should i have the name of the socket in my startBlockproducer and ENV?
CONFIG="{NODE_HOME}/mainnet-config.json" # Override automatic detection of node config path
SOCKET="{NODE_HOME}/db/" # Override automatic detection of path to socket
TOPOLOGY="${NODE_HOME}/mainnet-topology.json"
SOCKET="${NODE_HOME}/db/node.socket"
?
Is your socket located here?
cd ${NODE_HOME}/db/node.socket