#BLOCKLOG_DIR="${CNODE_HOME}/guild-db/blocklog" # Override default directory used to store block data for core node
What is this?
#BLOCKLOG_DIR="${CNODE_HOME}/guild-db/blocklog" # Override default directory used to store block data for core node
What is this?
Well I changed all the paths I knew the locations in the ENV file and got this:
sudo systemctl status cardano-node
● cardano-node.service - Cardano node service
Loaded: loaded (/etc/systemd/system/cardano-node.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: resources) since Sat 2021-02-27 22:02:04 UTC; 892ms ago
sudo systemctl restart cardano-node
sudo systemctl status cardano-node
For cntoools
sudo systemctl restart cardano-node
Job for cardano-node.service failed because of unavailable resources or another system error.
See “systemctl status cardano-node.service” and “journalctl -xe” for details.
systemctl status cardano-node.service
● cardano-node.service - Cardano node service
Loaded: loaded (/etc/systemd/system/cardano-node.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: resources) since Sat 2021-02-27 22:11:11 UTC; 5s ago
For relay
Di u followed all these steps?
Chapter 7 from
https://www.coincashew.com/coins/overview-ada/guide-how-to-build-a-haskell-stakepool-node
yes .
i mean my nodes are all talking to each other, and their running.
its just this systemd /systemctl issue
No, I mean how to configure systemd chapter/subchapter. There are some steps provided into the guide
I noticed this wasnt in my config:
Run the following to modify mainnet-config.json and
sed -i ${NODE_CONFIG}-config.json \
-e “s/TraceBlockFetchDecisions”: false/TraceBlockFetchDecisions": true/g"
I just added that
and ran the command
cardano-node.service - Cardano node service
Loaded: loaded (/etc/systemd/system/cardano-node.service; enabled; vendor >
Active: activating (auto-restart) (Result: resources) since Sat 2021-02-27>
lines 1-3/3 (END)…skipping…
● cardano-node.service - Cardano node service
Loaded: loaded (/etc/systemd/system/cardano-node.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: resources) since Sat 2021-02-27 22:30:10 UTC; 4s ago
~
~
~
~
~
~
~
~
~
~
systemctl status cardano-node.service
This step was configured?
Move the unit file to /etc/systemd/system and give it permissions.
sudo mv $NODE_HOME/cardano-node.service /etc/systemd/system/cardano-node.service
sudo chmod 644 /etc/systemd/system/cardano-node.service
sudo systemctl status cardano-node
● cardano-node.service - Cardano node service
Loaded: loaded (/etc/systemd/system/cardano-node.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: resources) since Sat 2021-02-27 22:37:58 UTC; 2s ago
Feb 27 22:37:58 ip-x systemd[1]: Failed to start Cardano node service.

I think cardano-node.service & cnode.service might be conflicting? Should I delete cnode.service ( that might of been another tutorial I tried I never finished)
Yes u can delete it
journalctl -e -f -u cardano-node.service
sudo systemctl status cardano-node
● cardano-node.service - Cardano node service
Loaded: loaded (/etc/systemd/system/cardano-node.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: resources) since Sat 2021-02-27 22:42:25 UTC; 2s ago
journalctl -e -f -u cardano-node.service
Hint: You are currently not seeing messages from other users and the system.
Users in groups ‘adm’, ‘systemd-journal’ can see all messages.
Pass -q to turn off this notice.
cardano-my-node/startBlockProducingNode.sh: line 11: cardano-node: command not found
Ok,
U can make a test
Stop ur node and try to run the script from home location/path… see if it’s working
Show me a screenshot with the output for
nano /etc/systemd/system/cardano-node.service

– The error number returned by this process is ERRNO.
Feb 28 12:02:58 x systemd[138989]: cnode.service: Changing to the requested working directory failed: No such file or directory
Feb 28 12:02:58 xsystemd[138989]: cnode.service: Failed at step CHDIR spawning /bin/bash: No such file or directory
– Subject: Process /bin/bash could not be executed
– Defined-By: systemd
still coming up as cnode.service instead of cardano-node.service