Node won't run after installing configuration files

HI All,

Although I am new to Linux I am following the guide to set up a node.

I have got to the point where the node is built and have installed all four configuration files under a ‘Relay’ directory.

However, I get the "command not found’ error when I try to run the node using the following command:

cardano-node run
–topology testnet-topology.json
–database-path db
–socket-path db/node.socket
–host-addr \
–port 3001
–config testnet-config.json

I have added my public IP address in the host-addr command line)

Anyone have an idea what I’m lacking here? :slight_smile:


The forum change the format… can u add a screenshot with ur command?


Hi Alex,

Based on your help to others, I was hoping you would reach out to help and you did!!

Here is the screenshot:


Try this way

cardano-node run \
--topology testnet-topology.json \
--database-path db \
--socket-path db/node.socket \
--host-addr \
--port 3001 \
--config testnet-config.json

Similar error – command not found:

ls -l

What guide are u following?

I am following the training guide:

Is this outdated?

I hope u installed 1.25.1 version right?

I think I did… how do I confirm? :slight_smile:

Yes the following was installed, but I installed it again anyway (I hope that won’t be an issue)

export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"
export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"

git clone h ttps://
cd libsodium
git checkout 66f017f1
sudo make install

cardano-node -version


cardano-cli --version
cardano-node --version

Did u modified the peotocol to “Cardano” on genesys file?


Make sure you have to Cardano as the protocol, the correct path to the testnet-shelley-genesis.json

“Protocol”: “Cardano”,
“GenesisFile”: “testnet-shelley-genesis.json”,
“RequiresNetworkMagic”: “RequiresMagic”,


Below is the testnet-shelley-genesis.json:
genesis files

And below is the testnet-config.json file:
Config file

And in trying to figure out the version of the node I installed, I get the following error:

Bare with me please, I am very early in my learning curve :slight_smile:

It seems u not compiled the cardano node

Where do I make the change the protocol to ‘Cardano’? in the genesis or in the config file? The config file seems to have it specified.

Yes, it is fine… the config file already has

Try this

ghc --version

emmm… oh okay

version is 8.10.2

Ok; the. U remember of u compiled the node?

git fetch --all --tags
git tag
git checkout tags/1.25.1

Hi Alex!!

I think this good news, now I have a different error (YAML exception) when I try to run the node. I will try to follow the trouble shooting you’ve done with another user, but if you have easier solutions, I would really appreciate it :slight_smile:

(as an appreciation for your support I will delegate some ADA to your pool)

Yes, that update but u applied the above version?

yes… I performed that and I believe I used version 1.25.1 which is the latest version