Hello.
I’m attempting to start my node for the Preview network. I’m getting an error when I start the node.
cardano-node.service - Cardano Node Service
Loaded: loaded (/etc/systemd/system/cardano-node.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Fri 2022-11-25 17:05:48 UTC; 2s ago
Process: 120832 ExecStart=/bin/bash -c home/ubuntu/cardano-my-node/startCardanoNode.sh (code=exited, status=127)
Main PID: 120832 (code=exited, status=127)
I have downloaded the preview network files.
Set environment variables so that the compiler finds libsodium on your computer
export LD_LIBRARY_PATH=“/usr/local/lib:$LD_LIBRARY_PATH”
export PKG_CONFIG_PATH=“/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH”
Set an environment variable indicating the file path to configuration files and scripts
related to operating your Cardano node
export NODE_HOME=“$HOME/cardano-my-node”
Set an environment variable indicating the Cardano network cluster where your node runs
export NODE_CONFIG=“preview”