Max_G1
25 January 2022 02:35
1
hello, I am new to the field and have now managed to install the cardano-node on ubuntu. When I want to start the node, it keeps trying to activating. I would be very glad for any help.
:~/git/cardano-node$ sudo systemctl status cnode
● cnode.service - Cardano Node
Loaded: loaded (/etc/systemd/system/cnode.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Mon 2022-01-24 21:36:44 CET; 2s ago
Process: 37859 ExecStart=/bin/bash -l -c exec /opt/cardano/cnode/scripts/cnode.sh (code=exited, status=200/CHDIR)
Main PID: 37859 (code=exited, status=200/CHDIR)
Jan 24 21:36:44 systemd[37859]: cnode.service: Failed at step CHDIR spawning /bin/bash: No such file or directory
Jan 24 21:36:44 systemd[1]: cnode.service: Main process exited, code=exited, status=200/CHDIR
Jan 24 21:36:44 systemd[1]: cnode.service: Failed with result 'exit-code'.
can u share the config for startblockproducer.sh
also if u try to run ./startblockproducer.sh what is the output?
thanks,
2 Likes
Max_G1
25 January 2022 07:57
3
hello and thanks for your reply. the output is:
bash: ./startblockproducer.sh: No such file or directory
where can i find the config? thanks again and have a nice day
1 Like
Ok, try
sudo systemctl restart cnode
journalctl -e -f -u cnode
and share the outputs since last restart
1 Like
mcrio
25 January 2022 09:55
5
Alludes to some misconfiguration, like misconfigured paths
1 Like
Max_G1
25 January 2022 10:41
6
Hi I’m at work atm, I will try it as soon as I’m at home. Just for information, like I said I’m completely new, I needed the whole weekend to read some basics and install the node. Probably it’s a simple issue
Thanks
Max_G1
25 January 2022 17:28
8
is there something like a guide how to correct it? thanks!
Ok, but if u go and start the node manually… what is the output?
1 Like
Max_G1
25 January 2022 17:38
10
now its connected i guess
ok, so manually its working… then should be an issue with systemd
which guide did u followed?
also I have a guide how to install … but first I will recommend to make a fresh OS installation
Hello everybody,
Have you thinking to run a Cardano POOL but but you don’t have advanced knowledge in linux? No problem! Today I will show you how to setup a Cardano POOL using CNTOOLS in just a few minutes/steps:
But first, few recommendations for security of the nodes (should be applied on all nodes):
create an username/password, change the default ssh connections and deactivate ssh for root user
sudo adduser example
where example is your new user ; here is recomanded to use a STRONG…
FOR STEP 2
Cheers,
Max_G1
25 January 2022 17:45
13
thank you so much for taking the time, i really appreciate it! i have used several guides as most have used older versions. most of the info i got from here:
i also could not install Guild LiveView until now
Max_G1
25 January 2022 17:48
14
perfect i will set it up with your guide, can i use it to mint token and nft’s also, or just for the staking pool? Sorry for beeing such a noob
you will be able because you will run the commands manually
you want to start a pool or just to configure a passive node?
I beilieve you will not need my guide… this should be almost the same…
can u check if inside the scripts folder if you have the ./set-as-systemd.sh script?
question: did u installed 1.33.0 version?
Max_G1
25 January 2022 17:55
16
atm im not planing to start a pool, i just want to mint tokens and nft’s and i want to become familiar with the whole network
where should the scripts folder be located?
cd $CNODE_HOME/scripts
ls -l
Max_G1
25 January 2022 17:57
18
yes i did installed 1.33.0
Max_G1
25 January 2022 17:59
19
cd $CNODE_HOME/scripts
ls -l
bash: cd: /opt/cardano/cnode/scripts: No such file or directory
total 324
-rw-rw-r-- 1 cardano cardano 2475 Jan 23 21:04 CODEOWNERS
-rw-rw-r-- 1 cardano cardano 11360 Jan 23 21:04 LICENSE
-rw-rw-r-- 1 cardano cardano 3211 Jan 23 21:04 Makefile
-rw-rw-r-- 1 cardano cardano 597 Jan 23 21:04 NOTICE
-rw-rw-r-- 1 cardano cardano 19947 Jan 23 21:04 README.rst
-rw-rw-r-- 1 cardano cardano 717 Jan 23 21:04 SECURITY.md
-rw-rw-r-- 1 cardano cardano 12622 Jan 23 21:04 STYLE.md
-rw-rw-r-- 1 cardano cardano 56 Jan 23 21:04 Setup.hs
drwxrwxr-x 6 cardano cardano 4096 Jan 23 21:04 bench
-rw-rw-r-- 1 cardano cardano 183 Jan 23 21:04 bors.toml
-rw-rw-r-- 1 cardano cardano 7682 Jan 23 21:04 cabal.project
-rw-rw-r-- 1 cardano cardano 61 Jan 23 21:05 cabal.project.local
drwxrwxr-x 5 cardano cardano 4096 Jan 23 21:04 cardano-api
drwxrwxr-x 5 cardano cardano 4096 Jan 23 21:04 cardano-cli
drwxrwxr-x 2 cardano cardano 4096 Jan 23 21:04 cardano-client-demo
drwxrwxr-x 5 cardano cardano 4096 Jan 23 21:04 cardano-node
drwxrwxr-x 5 cardano cardano 4096 Jan 23 21:04 cardano-node-chairman
drwxrwxr-x 6 cardano cardano 4096 Jan 23 21:04 cardano-submit-api
drwxrwxr-x 5 cardano cardano 4096 Jan 23 21:04 cardano-testnet
drwxrwxr-x 2 cardano cardano 4096 Jan 23 21:04 ci
-rwxrwxr-x 1 cardano cardano 31 Jan 23 21:04 ci-shell
drwxrwxr-x 6 cardano cardano 4096 Jan 23 21:04 configuration
-rw-rw-r-- 1 cardano cardano 2161 Jan 23 21:04 default.nix
drwxr-xr-x 7 cardano cardano 4096 Jan 23 21:06 dist-newstyle
drwxrwxr-x 7 cardano cardano 4096 Jan 23 21:04 doc
-rw-rw-r-- 1 cardano cardano 746 Jan 23 21:04 docker-compose.yml
-rw-rw-r-- 1 cardano cardano 52005 Jan 23 22:09 env
-rw-rw-r-- 1 cardano cardano 9502 Jan 23 21:04 flake.lock
-rw-rw-r-- 1 cardano cardano 4778 Jan 23 21:04 flake.nix
-rwxr-xr-x 1 cardano cardano 51976 Jan 23 22:09 gLiveView.sh
drwxrwxr-x 3 cardano cardano 4096 Jan 25 18:34 mainnet
drwxrwxr-x 7 cardano cardano 4096 Jan 23 21:04 nix
-rw-rw-r-- 1 cardano cardano 272 Jan 23 21:04 overlay.nix
drwxrwxr-x 6 cardano cardano 4096 Jan 23 21:04 plutus-example
-rw-rw-r-- 1 cardano cardano 8781 Jan 23 21:04 release.nix
drwxrwxr-x 10 cardano cardano 4096 Jan 23 21:04 scripts
-rw-rw-r-- 1 cardano cardano 7658 Jan 23 21:04 shell.nix
-rw-rw-r-- 1 cardano cardano 35 Jan 23 21:04 supported-systems.nix
drwxrwxr-x 6 cardano cardano 4096 Jan 23 21:04 trace-dispatcher
drwxrwxr-x 4 cardano cardano 4096 Jan 23 21:04 trace-forward
drwxrwxr-x 6 cardano cardano 4096 Jan 23 21:04 trace-resources
Max_G1:
gLiveView.sh
ok, and if u run
./gLiveView.sh do u see the node started and syncing?
can u share this output?
sudo cat /etc/systemd/system/cnode.service