it’s just blank
Sorry
nano startBlockProducingNode.sh
:oo
I checked the coincashew guide amd it seems u omited the \ caracter after the =
Example
TOPOLOGY=\$
cat > $NODE_HOME/startBlockProducingNode.sh << EOF
#!/bin/bash
DIRECTORY=$NODE_HOME
PORT=6000
HOSTADDR=0.0.0.0
TOPOLOGY=\${DIRECTORY}/${NODE_CONFIG}-topology.json
DB_PATH=\${DIRECTORY}/db
SOCKET_PATH=\${DIRECTORY}/db/socket
CONFIG=\${DIRECTORY}/${NODE_CONFIG}-config.json
/usr/local/bin/cardano-node run --topology \${TOPOLOGY} --database-path \${DB_PATH} --socket-path \${SOCKET_PATH} --host-addr \${HOSTADDR} --port \${PORT} --config \${CONFIG}
EOF
Should I run this step again?
cat > $NODE_HOME/startBlockProducingNode.sh << EOF
#!/bin/bash
DIRECTORY=$NODE_HOME
PORT=6000
HOSTADDR=0.0.0.0
TOPOLOGY=${DIRECTORY}/${NODE_CONFIG}-topology.json
DB_PATH=${DIRECTORY}/db
SOCKET_PATH=${DIRECTORY}/db/socket
CONFIG=${DIRECTORY}/${NODE_CONFIG}-config.json
/usr/local/bin/cardano-node run --topology ${TOPOLOGY} --database-path ${DB_PATH} --socket-path ${SOCKET_PATH} --host-addr ${HOSTADDR} --port ${PORT} --config ${CONFIG}
EOF
Yes, run again and check after if \ where added
looks the same here
Type nano startBlockProducingNode.sh
Delete all and paste the script
Save the file Ctrl+x y and enter
Then check again
paste this script it?
cat > $NODE_HOME/startBlockProducingNode.sh << EOF
#!/bin/bash
DIRECTORY=$NODE_HOME
PORT=6000
HOSTADDR=0.0.0.0
TOPOLOGY=${DIRECTORY}/${NODE_CONFIG}-topology.json
DB_PATH=${DIRECTORY}/db
SOCKET_PATH=${DIRECTORY}/db/socket
CONFIG=${DIRECTORY}/${NODE_CONFIG}-config.json
/usr/local/bin/cardano-node run --topology ${TOPOLOGY} --database-path ${DB_PATH} --socket-path ${SOCKET_PATH} --host-addr ${HOSTADDR} --port ${PORT} --config ${CONFIG}
EOF
without the cat > … <<EOF tho?
ok, now restart the node
sudo systemctl restart cardano-node
wait 1 min and
sudo systemctl status cardano-node
top and check if you see the cardano-node process 100% CPU
journalctl -e -f -u cardano-node
ok, what is the permision of the script?
can you type ls -l inside cardano-my-node folder?
sure
type
chmod +x startBlockProducingNode.sh and type again ls -l
think nothing has changed
Just a quick thank you again for helping out!!! Went on mainnet and made a mistake, following by some wrong commands. Got my ADA etc on it and really want to to work out. Thank you so much for helping!