If your relay is running properly at the startup script you specified a path for the socket.
For example if you used the coincashew guide your relay startup script should have a line SOCKET_PATH=\${DIRECTORY}/db/socket where DIRECTORY=$NODE_HOME
Edit you topology updater script file and check if you have the correct path for the socket.
Again if you used the coincashew guide you should have a line export CARDANO_NODE_SOCKET_PATH="\${CNODE_HOME}/db/socket" where CNODE_HOME=$NODE_HOME
If your topology updater script file is correct then your node is probably not running.
Here is my topologyUpdater.sh. It looks just like the one on relay 2
!/bin/bash
shellcheck disable=SC2086,SC2034
USERNAME=redbull
CNODE_PORT=6000 # must match your relay node port as set in the startup command
CNODE_HOSTNAME=“CHANGE ME” # optional. must resolve to the IP you are requesting from
CNODE_BIN="/usr/local/bin"
CNODE_HOME=/home/redbull/cardano-my-node
CNODE_LOG_DIR="${CNODE_HOME}/logs"
GENESIS_JSON="${CNODE_HOME}/mainnet-shelley-genesis.json"
NETWORKID=$(jq -r .networkId $GENESIS_JSON)
CNODE_VALENCY=1 # optional for multi-IP hostnames
NWMAGIC=$(jq -r .networkMagic < $GENESIS_JSON)
[[ “${NETWORKID}” = “Mainnet” ]] && HASH_IDENTIFIER="–mainnet" || HASH_IDENTIFIER="–testnet-magic >
[[ “${NWMAGIC}” = “764824073” ]] && NETWORK_IDENTIFIER="–mainnet" || NETWORK_IDENTIFIER="–testnet->
Use sudo systemctl status cardano-node and check if your node is active and running.
At your startup script(probably startRelayNodeX.sh) the export socket path is /home/redbull/cardano-my-node/db/socket ?
I just restarted the node. this is my start script
!/bin/bash
DIRECTORY=/home/redbull/cardano-my-node
PORT=6000
HOSTADDR=0.0.0.0
TOPOLOGY=${DIRECTORY}/mainnet-topology.json
DB_PATH=${DIRECTORY}/db
SOCKET_PATH=${DIRECTORY}/db/socket
CONFIG=${DIRECTORY}/mainnet-config.json
/usr/local/bin/cardano-node run +RTS -N -A16m -qg -qb -RTS --topology ${TOPOLOGY} --database-path ${DB_PATH} --socket-path ${SOCKET_PATH} --hos>
cardano-cli: Network.Socket.connect: <socket: 11>: does not exist (No such file or directory){ “resultcode”: “502”, “datetime”:“2021-10-30 12:37:16”, “clientIp”: “143.198.64.250”, “msg”: “invalid blockNo ” }
No this is my Relay. My BP and relay 2 are up and running.
The relay 2 is synced and I just redownloaded the db for relay 1. These are cloud hosted. I just rebuilt relay 1 because it was acting really weird. No I can not telnet from my BP to relay
#CNODEBIN="${HOME}/.cabal/bin/cardano-node" # Override automatic detection of cardano-node executable
#CCLI="${HOME}/.cabal/bin/cardano-cli" # Override automatic detection of cardano-cli executable
#CNCLI="${HOME}/.cargo/bin/cncli" # Override automatic detection of executable (https://github.com>
#CNODE_HOME="/opt/cardano/cnode" # Override default CNODE_HOME path (defaults to /opt/cardano/cno>
CNODE_PORT=6000 # Set node port
CONFIG="${NODE_HOME}/mainnet-config.json" # Override automatic detection of node config path
SOCKET="${NODE_HOME}/db/socket" # Override automatic detection of path to socket
#TOPOLOGY="${CNODE_HOME}/files/topology.json" # Override default topology.json path
#LOG_DIR="${CNODE_HOME}/logs" # Folder where your logs will be sent to (must pre-exist)
#DB_DIR="${CNODE_HOME}/db" # Folder to store the cardano-node blockchain db
#UPDATE_CHECK=“Y” # Check for updates to scripts, it will still be prompted before>
#TMP_DIR="/tmp/cnode" # Folder to hold temporary files in the various scripts, each sc>
#USE_EKG=“Y” # Use EKG metrics from the node instead of Prometheus. Prometheu>
#EKG_HOST=127.0.0.1 # Set node EKG host IP
[ Read 864 lines ]
#EKG_PORT=12788 # Override automatic detection of node EKG port
#PROM_HOST=127.0.0.1 # Set node Prometheus host IP
#PROM_PORT=12798 # Override automatic detection of node Prometheus port
#EKG_TIMEOUT=3 # Maximum time in seconds that you allow EKG request to take bef>
#CURL_TIMEOUT=10 # Maximum time in seconds that you allow curl file download to t>
#BLOCKLOG_DIR="${CNODE_HOME}/guild-db/blocklog" # Override default directory used to store block data for core n>
#BLOCKLOG_TZ=“UTC” # TimeZone to use when displaying blocklog - https://en.wikipedi>
#SHELLEY_TRANS_EPOCH=208 # Override automatic detection of shelley epoch start, e.g 208 f>
#TG_BOT_TOKEN="" # Uncomment and set to enable telegramSend function. To create y>
#TG_CHAT_ID="" # https://cardano-community.github.io/guild-operators/Scripts/se>
#TIMEOUT_LEDGER_STATE=300 # Timeout in seconds for querying and dumping ledger-state
#IP_VERSION=4 # The IP version to use for push and fetch, valid options: 4 | 6>
#PGREST_API=“http://127.0.0.1:8050” # Uncomment and set to enable PostgREST API queries against DB-S>
#DBSYNC_QUERY_FOLDER="${CNODE_HOME}/files/dbsync/queries" # [advanced feature] Folder containing DB-Sync chain analysis >
#WALLET_FOLDER="${CNODE_HOME}/priv/wallet" # Root folder for Wallets
#POOL_FOLDER="${CNODE_HOME}/priv/pool" # Root folder for Pools
# Each wallet and pool has a friendly name and subfolder contain>
#POOL_NAME="" # Set the pool’s name to run node as a core node (the name, NOT >
#WALLET_PAY_VK_FILENAME=“payment.vkey” # Standardized names for all wallet related files