I feel that I have hit a brick wall in my journey to set up a stakepool! I have a good understanding of both networking and Linux systems but I can’t seem to get this running. Currently my relay node is setup to start the cardano node service upon startup. When I enter “cardano-cli query tip --mainnet” to see if my blockchain is syncing I am greeted with the following- “cardano-cli: Network.Socket.connect: <socket: 11>: does not exist (No such file or directory)”. Upon seeing this I check that my cardano node service is running with “sudo systemctl status cardano-node”. This command produces the following block of text- rob@relaynode:~/cardano-my-node$ cardano-cli query tip --mainnet cardano-cli: Network.Socket.connect: <socket: 11>: does not exist (No such file or directory)rob@relaynode:~/cardano-my-node$ cardano-sudo systemctl status cardano-node ● cardano-node.service - Cardano node service
└─1164 cardano-node run --topology /home/rob/cardano-my-node/mainnet-topology.json --database-path /home/rob/cardano-my->*
Mar 19 16:14:58 relaynode bash[1164]: [relaynod:cardano.node.basicInfo.slotLengthShelley:Notice:5] [2021-03-19 16:14:57.48 UTC] 1s Mar 19 16:14:58 relaynode bash[1164]: [relaynod:cardano.node.basicInfo.epochLengthShelley:Notice:5] [2021-03-19 16:14:57.48 UTC] 4320> Mar 19 16:14:58 relaynode bash[1164]: [relaynod:cardano.node.basicInfo.slotsPerKESPeriodShelley:Notice:5] [2021-03-19 16:14:57.48 UTC> Mar 19 16:14:58 relaynode bash[1164]: [relaynod:cardano.node.basicInfo.slotLengthAllegra:Notice:5] [2021-03-19 16:14:57.48 UTC] 1s Mar 19 16:14:58 relaynode bash[1164]: [relaynod:cardano.node.basicInfo.epochLengthAllegra:Notice:5] [2021-03-19 16:14:57.48 UTC] 4320> Mar 19 16:14:58 relaynode bash[1164]: [relaynod:cardano.node.basicInfo.slotsPerKESPeriodAllegra:Notice:5] [2021-03-19 16:14:57.48 UTC> Mar 19 16:14:58 relaynode bash[1164]: [relaynod:cardano.node.basicInfo.slotLengthMary:Notice:5] [2021-03-19 16:14:57.48 UTC] 1s Mar 19 16:14:58 relaynode bash[1164]: [relaynod:cardano.node.basicInfo.epochLengthMary:Notice:5] [2021-03-19 16:14:57.48 UTC] 432000 Mar 19 16:14:58 relaynode bash[1164]: [relaynod:cardano.node.basicInfo.slotsPerKESPeriodMary:Notice:5] [2021-03-19 16:14:57.48 UTC] 1> Mar 19 16:22:19 relaynode systemd[1]: /etc/systemd/system/cardano-node.service:3: Assignment outside of section. Ignoring. lines 1-20/20 (END)
After this I checked ./gLiveView.sh, and it returned the following -
Looks like cardano-node is running with socket-path as /home/rob/cardano-my-node/db/socket, 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.
I have opened and forwarded ports 3000-3001, 6000-6001. Any help is greatly appreciated, I don’t know where I am going wrong!
Could the startup script that I am using be an issue? should I try using what you just added above instead? My startup script looks like this and was pulled from the coin cashew tutorial-
@Robert_Sherman you might be able to considerable shorten your journey towards running Cardano nodes by taking a containerized approach as documented here.
cardano-node: FatalError {fatalErrorMessage = "Cardano.Node.Run.handleSimpleNode.readTopologyFile: Is your topology file formatted correctly? The port and valency fields should be numerical. Error in $: Failed reading: satisfy. Expecting object value at 'valency
{
“Producers”: [
{
“addr”: “65.190.52.198”,
“port”: 6000
“valency”: 1
},
{
“addr”: “relays-new.cardano-mainnet.iohk.io”,
“port”: 3001,
“valency”: 2
}
]
}
The block producer node is not currently online, but I don’t believe it needs to be at this point.
I know that port 3001 is open on the router, I’m less confident about its status in the ufw. All i did was run the “sudo ufw allow 3001/tcp”. I will attempt the validation now
HOLY CRAP! YOU SIR ARE A DAMN SAINT! THANK YOU! lol, Its running now! All of this struggle was because of a comma! I don’t know whether to laugh or cry. So after it syncs up on the relay and I do the same on the producer I should be ready to start generating keys?