I am trying to start up my Producer/Relay node but I am coming across the following error.
After running here, there is no more.
Below is the relay Node startup script
#!/bin/bash
DIRECTORY=/root/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} --host-addr ${HOSTADDR} --port ${PORT} --config ${CONFIG}
Below is the producer Node startup script
#!/bin/bash
DIRECTORY=/root/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
KES=${DIRECTORY}/kes.skey
VRF=${DIRECTORY}/vrf.skey
CERT=${DIRECTORY}/node.cert
/usr/local/bin/cardano-node run +RTS -N -A16m -qg -qb -RTS --topology ${TOPOLOGY} --database-path ${DB_PATH} --socket-path ${SOCKET_PATH} --host-addr ${HOSTADDR} --port ${PORT} --config ${CONFIG} --shelley-kes-key ${KES} --shelley-vrf-key ${VRF} --shelley-operational-certificate ${CERT}
Thanks,
D
from where did u downloaded the files?
try to download the files again from here
https://hydra.iohk.io/build/7654130/download/1/index.html
What version of cardano-node are you using? If it is not a current one, this might be the reason.
I believe the oldest one working now should be 1.29.0, but the current one should be 1.32.1 and soon 1.33.0.
mcrio
6 January 2022 22:25
4
Any particular error or just the info text from the screenshot?
when I manually execute the start script It will stop there every time, I can’t see any error
stop on here
NodeToClientV_10 HardForkNodeToClientEnabled HardForkSpecificNodeToClientVersion2 (EraNodeToClientEnabled ByronNodeToClientVersion1 :* EraNodeToClientEnabled ShelleyNodeToClientVersion4 :* EraNodeToClientEnabled ShelleyNodeToClientVersion4 :* EraNodeToClientEnabled ShelleyNodeToClientVersion4 :* EraNodeToClientEnabled ShelleyNodeToClientVersion4 :* Nil)
I’m using
cardano-node 1.32.1 - linux-x86_64 - ghc-8.10
cardano-cli 1.32.1 - linux-x86_64 - ghc-8.10
I download it from the list below
wget -N https://hydra.iohk.io/job/Cardano/cardano-node/cardano-deployment/latest-finished/download/1/${NODE_CONFIG}-config.json
wget -N https://hydra.iohk.io/job/Cardano/cardano-node/cardano-deployment/latest-finished/download/1/${NODE_CONFIG}-byron-genesis.json
wget -N https://hydra.iohk.io/job/Cardano/cardano-node/cardano-deployment/latest-finished/download/1/${NODE_CONFIG}-shelley-genesis.json
wget -N https://hydra.iohk.io/job/Cardano/cardano-node/cardano-deployment/latest-finished/download/1/${NODE_CONFIG}-alonzo-genesis.json
wget -N https://hydra.iohk.io/job/Cardano/cardano-node/cardano-deployment/latest-finished/download/1/${NODE_CONFIG}-topology.json
I compared it with you and it is a bit different.
In mainnet-config.json, I changed
"TraceBlockFetchDecisions": true,
in mainnet-topology.json, I changed to connect relay/producer node
and I don’t have mainnet-db-sync-config.json and rest-config.json , do I need those in the server ?
did u ran the testnet before?
no, but there was no problem before (yesterday), suddenly this happened today
understand, for both node? the IP or something else changed meantime?
did u modified/applied something on nodes?
Yes, it happened on both nodes, and the IP didn’t change, but yesterday I upgraded to 1.32.1 from 1.26.1.
And then I downloaded the config files because 1.26.1 does not have mainnet-alonzo-genesis.json.
After that, I changed 2 config files (mainnet-config.json and mainnet-topology.json)
and now, what version have the nodes?
type cardano-node --version
@georgem1976 asked u 3h agooo
download also the db-sync file, I have it on my nodes
try to delete and download again the files, and restart the nodes
do I need to set the db-sync file to the start script?
then, something happened with the nodes… you don’t have bkp right?
if I delete the DB folder, it works, but I need re-sync the db
@Alexd1985 thank you for your help