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 20:17:58 UTC; 2s ago
Feb 27 20:17:58 ip-s systemd[1]: cardano-node.service: Scheduled restart job, restart counter is at 69.
Feb 27 20:17:58 ip-x systemd[1]: Stopped Cardano node service.
Feb 27 20:17:58 ip-x systemd[1]: cardano-node.service: Failed to load environment files: No such file or directory
Feb 27 20:17:58 x systemd[1]: cardano-node.service: Failed to run āstartā task: No such file or directory
Feb 27 20:17:58 x systemd[1]: cardano-node.service: Failed with result āresourcesā.
Feb 27 20:17:58 ipx systemd[1]: Failed to start Cardano node service.
cnode.service: Changing to the requested working directory failed: No such file or directory
Feb 27 20:30:13 systemd[3945]: cnode.service: Failed at step CHDIR spawning /bin/bash: No such file or directory
Feb 27 20:30:18 systemd[3957]: cnode.service: Changing to the requested working directory failed: No such file or direc
journalctl -e -f -u cardano-node.service
/home//cardano-my-node/startBlockProducingNode.sh: line 11: cardano-node: command not found
Feb 25 16:51:34 bash[415016]: /home//cardano-my-node/startBlockProducingNode.sh: line 11: cardano-node: command not found
So , u have the env file for glive right?
Ur script for starting the node has no connection with env⦠u can adapt the path in env for config, topology files, db socket, etc and try again
You do see that there are double slashes ā//ā?
Maybe thatās the problem.
Iām not familiar with your setup but Iād guess you need to change it to:
/home/cardano-my-nodeā¦
Everything else seems to be pointing to systemd not being able to locate or find a file / directory.
Ur systemd use env file so, maybe u will need to set the right path for ur files in env
For example socket line⦠uncomment the line at write the path (go to ur file where ur socket is located and type pwd ⦠and add that path in envā¦
this operation should be done for all files used by ur script (config file, topology file, etc