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 0.0.0.0 \
–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?
Thanks,
Kitaw
The forum change the format… can u add a screenshot with ur command?
Cheers,
Hi Alex,
Based on your help to others, I was hoping you would reach out to help and you did!!
Here is the screenshot:
Thanks!
Try this way
cardano-node run \
--topology testnet-topology.json \
--database-path db \
--socket-path db/node.socket \
--host-addr 0.0.0.0 \
--port 3001 \
--config testnet-config.json
Similar error – command not found:
ls -l
What guide are u following?
I hope u installed 1.25.1 version right?
I think I did… how do I confirm?
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://github.com/input-output-hk/libsodium
cd libsodium
git checkout 66f017f1
./autogen.sh
./configure
make
sudo make install
cardano-node -version
or
cardano-cli --version
cardano-node --version
Did u modified the peotocol to “Cardano” on genesys file?
testnet-shelley-genesis.json
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”,
Hi
Below is the testnet-shelley-genesis.json:
And below is the testnet-config.json 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
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
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
(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