# Stake pool course YMAL file not found

**URL:** <https://forum.cardano.org/t/stake-pool-course-ymal-file-not-found/67383>\
**Category:** Setup a Stake Pool\
**Created:** [22 July 2021 23:00 UTC](https://forum.cardano.org/t/stake-pool-course-ymal-file-not-found/67383 "2021-07-22T23:00:03Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrturtle27](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/mrturtle27/32/39382_2.png) [@mrturtle27](https://forum.cardano.org/u/mrturtle27)\
**Post date:** [22 July 2021 23:00 UTC](https://forum.cardano.org/t/stake-pool-course-ymal-file-not-found/67383/1 "2021-07-22T23:00:03Z")

</div>

Hi I’m following the lessons from the stake pool course and I encountered a issue while entering this exact line into putty. cardano-node run, if done successfully I would have gotten a long explanation on what I can do with this command(As shown in the video.) However im encountering InvalidYaml (Just (YamlException “Yaml file not found: configuration/cardano/mainnet-config.json”))

cardano-node: YAML exception:  
Yaml file not found: configuration/cardano/mainnet-config.json

I don’t know where to go from here I have tried reinstalling the cardano node and I experience the same issue, it may be a simple issue however I am quite new to this type of thing. I am using putty to talk to my AWS. and I’m on lesson 1 “Get configuration files and run the node”

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [23 July 2021 03:34 UTC](https://forum.cardano.org/t/stake-pool-course-ymal-file-not-found/67383/2 "2021-07-23T03:34:13Z")

</div>

Try to edit the start script and add the full path for the file  
also use host-addr 0.0.0.0

> [@Cardano-node run gives Yaml file not found error](https://forum.cardano.org/t/cardano-node-run-gives-yaml-file-not-found-error/52351/23):
>
> Greetings, getting a similar error here: InvalidYaml (Just (YamlException “Yaml file not found: configuration/cardano/mainnet-config.json”)) cardano-node: YAML exception: Yaml file not found: configuration/cardano/mainnet-config.json I created a db folder inside the rely folder since i did not have one. Will this be an issue? Additionally, i have testnet… instead of mainnet… like polaris…

---

<div class="post-metadata">

**Author:** ![mrturtle27](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/mrturtle27/32/39382_2.png) [@mrturtle27](https://forum.cardano.org/u/mrturtle27)\
**Post date:** [24 July 2021 18:14 UTC](https://forum.cardano.org/t/stake-pool-course-ymal-file-not-found/67383/3 "2021-07-24T18:14:51Z")

</div>

The issue may be because I downloaded the testnet instead of the mainnet and it could be that when downloading the testnet it doesnt provide you with the scripts to run the node?

---

<div class="post-metadata">

**Author:** ![mrturtle27](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/mrturtle27/32/39382_2.png) [@mrturtle27](https://forum.cardano.org/u/mrturtle27)\
**Post date:** [24 July 2021 18:22 UTC](https://forum.cardano.org/t/stake-pool-course-ymal-file-not-found/67383/5 "2021-07-24T18:22:29Z")

</div>

I tried switching to my Linux computer and completely restarted the entire process of creating to node. I am stuck at the same issue.

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [24 July 2021 18:57 UTC](https://forum.cardano.org/t/stake-pool-course-ymal-file-not-found/67383/6 "2021-07-24T18:57:20Z")

</div>

Can u share the start up script?

---

<div class="post-metadata">

**Author:** ![mrturtle27](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/mrturtle27/32/39382_2.png) [@mrturtle27](https://forum.cardano.org/u/mrturtle27)\
**Post date:** [24 July 2021 19:05 UTC](https://forum.cardano.org/t/stake-pool-course-ymal-file-not-found/67383/7 "2021-07-24T19:05:12Z")

</div>

Sure, forgive me if I provided the wrong script  
cardano-node run  
InvalidYaml (Just (YamlException “Yaml file not found: configuration/cardano/mainnet-config.json”))

cardano-node: YAML exception:  
Yaml file not found: configuration/cardano/mainnet-config.json

---

<div class="post-metadata">

**Author:** ![mrturtle27](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/mrturtle27/32/39382_2.png) [@mrturtle27](https://forum.cardano.org/u/mrturtle27)\
**Post date:** [24 July 2021 19:08 UTC](https://forum.cardano.org/t/stake-pool-course-ymal-file-not-found/67383/8 "2021-07-24T19:08:21Z")

</div>

I had tried ```  
cardano-node run   
–topology mainnet-topology.json   
–database-path /db   
–socket-path /db/node.socket   
–host-addr 0.0.0.0   
–port 3001   
–config testnet-config.json

However the error:  
Shutting down…

cardano-node: /db: createDirectory: permission denied (Permission denied)

And I dont know how to grant permission.

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [24 July 2021 19:17 UTC](https://forum.cardano.org/t/stake-pool-course-ymal-file-not-found/67383/9 "2021-07-24T19:17:08Z")

</div>

> [@mrturtle27](#):
>
> configuration/cardano/mainnet-config.json”))

Testnet or mainnet? How do u want to start the node?

---

<div class="post-metadata">

**Author:** ![mrturtle27](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/mrturtle27/32/39382_2.png) [@mrturtle27](https://forum.cardano.org/u/mrturtle27)\
**Post date:** [25 July 2021 00:49 UTC](https://forum.cardano.org/t/stake-pool-course-ymal-file-not-found/67383/12 "2021-07-25T00:49:07Z")

</div>

I want to start the node through testnet

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [25 July 2021 04:03 UTC](https://forum.cardano.org/t/stake-pool-course-ymal-file-not-found/67383/13 "2021-07-25T04:03:24Z")

</div>

Can u try journalct -e -f -u cardano-node

---

<div class="post-metadata">

**Author:** ![mrturtle27](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/mrturtle27/32/39382_2.png) [@mrturtle27](https://forum.cardano.org/u/mrturtle27)\
**Post date:** [25 July 2021 04:50 UTC](https://forum.cardano.org/t/stake-pool-course-ymal-file-not-found/67383/15 "2021-07-25T04:50:44Z")

</div>

I tried:  
journalct -e -f -u cardano-node  
-bash: journalct: command not found  
and the terminal gave me this response.  
-bash: journalct: command not found

This also happened when I tried using apt-get instead of sudo yum in order to install the. But I discovered that only sudo yum worked binaries at the start of the stake pool course, however I am on linux so apt-get should be working if I am correct?

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [25 July 2021 05:09 UTC](https://forum.cardano.org/t/stake-pool-course-ymal-file-not-found/67383/16 "2021-07-25T05:09:49Z")

</div>

Try journalctl -e -f -u cardano.node

I omited the l

---

<div class="post-metadata">

**Author:** ![mrturtle27](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/mrturtle27/32/39382_2.png) [@mrturtle27](https://forum.cardano.org/u/mrturtle27)\
**Post date:** [25 July 2021 05:17 UTC](https://forum.cardano.org/t/stake-pool-course-ymal-file-not-found/67383/17 "2021-07-25T05:17:15Z")

</div>

After entering that command, I have been left on  
– Logs begin at Fri 2021-07-23 18:18:47 UTC. – for around 5 minutes now should I continue to wait?

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [25 July 2021 06:32 UTC](https://forum.cardano.org/t/stake-pool-course-ymal-file-not-found/67383/18 "2021-07-25T06:32:58Z")

</div>

Nope, I think u will need to adapt the start script with the all path to the files

go to the folder where the files are located and type pwd  
use that path inside the start script

For example

–topology all\_path\_to\_file/mainnet-topology.json

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [25 July 2021 07:10 UTC](https://forum.cardano.org/t/stake-pool-course-ymal-file-not-found/67383/20 "2021-07-25T07:10:38Z")

</div>

Where u donwloaded

---

<div class="post-metadata">

**Author:** ![mrturtle27](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/mrturtle27/32/39382_2.png) [@mrturtle27](https://forum.cardano.org/u/mrturtle27)\
**Post date:** [25 July 2021 07:17 UTC](https://forum.cardano.org/t/stake-pool-course-ymal-file-not-found/67383/23 "2021-07-25T07:17:23Z")

</div>

okay ill let you know once I find that

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [25 July 2021 07:22 UTC](https://forum.cardano.org/t/stake-pool-course-ymal-file-not-found/67383/24 "2021-07-25T07:22:47Z")

</div>

What guide did u followed to install the node?

---

<div class="post-metadata">

**Author:** ![mrturtle27](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/mrturtle27/32/39382_2.png) [@mrturtle27](https://forum.cardano.org/u/mrturtle27)\
**Post date:** [25 July 2021 07:24 UTC](https://forum.cardano.org/t/stake-pool-course-ymal-file-not-found/67383/25 "2021-07-25T07:24:16Z")

</div>

I followed the stake pool course

> **[Start your node](https://cardano-foundation.gitbook.io/stake-pool-course/stake-pool-guide/start_your_nodes/start-your-node)**

---

<div class="post-metadata">

**Author:** ![mrturtle27](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/mrturtle27/32/39382_2.png) [@mrturtle27](https://forum.cardano.org/u/mrturtle27)\
**Post date:** [25 July 2021 07:27 UTC](https://forum.cardano.org/t/stake-pool-course-ymal-file-not-found/67383/26 "2021-07-25T07:27:58Z")

</div>

I followed the Stake pool course and I am on lesson 1 “Installing cardano-node”

I followed all of the steps however was presented with the current issue.

> **[Installing cardano-node](https://cardano-foundation.gitbook.io/stake-pool-course/lessons/lesson-1/installing)**
>
> In this lesson you will learn how to build cardano-node from source.

---

<div class="post-metadata">

**Author:** ![adatainment](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/adatainment/32/81481_2.png) [@adatainment](https://forum.cardano.org/u/adatainment)\
**Post date:** [25 July 2021 08:26 UTC](https://forum.cardano.org/t/stake-pool-course-ymal-file-not-found/67383/27 "2021-07-25T08:26:38Z")

</div>

No, that is fine. You should do the course on testnet.

[Next page](https://forum.cardano.org/t/stake-pool-course-ymal-file-not-found/67383.md?page=2)
