# Trying to install Stake Pool Node

**URL:** <https://forum.cardano.org/t/trying-to-install-stake-pool-node/108050>\
**Category:** Setup a Stake Pool\
**Created:** [23 September 2022 19:48 UTC](https://forum.cardano.org/t/trying-to-install-stake-pool-node/108050 "2022-09-23T19:48:23Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Greyhart](https://avatars.discourse-cdn.com/v4/letter/g/b5a626/32.png) [@Greyhart](https://forum.cardano.org/u/Greyhart)\
**Post date:** [23 September 2022 19:48 UTC](https://forum.cardano.org/t/trying-to-install-stake-pool-node/108050/1 "2022-09-23T19:48:23Z")

</div>

I’m trying to set up a Stake Pool on a VM running Ubuntu. I’ve been following the instructions in the Stake Pool Course.  
I entered the command: cabal configure --with-compiler=ghc-8.10.7 which ran for a very long time.

It got to step [14 of 189] and ended with the following error:

[14 of 189] Compiling PlutusCore.Pretty.Readable ( plutus-core/src/PlutusCore/Pretty/Readable.hs, dist/build/PlutusCore/Pretty/Readable.o, dist/build/PlutusCore/Pretty/Readable.dyn\_o )  
: libsecp256k1.so.0: cannot open shared object file: No such file or directory  
cabal: Failed to build plutus-core-1.0.0.0 (which is required by  
test:cardano-node-test from cardano-node-1.35.3, exe:cardano-node from  
cardano-node-1.35.3 and others).

Now, I have been playing with computers since the 1970’s but really never picked up much linux, so I really don’t even know where to begin to troubleshoot this.

Any help would be appreciated.

---

<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 September 2022 19:50 UTC](https://forum.cardano.org/t/trying-to-install-stake-pool-node/108050/2 "2022-09-23T19:50:50Z")

</div>

perhaps the guide is not updated… so better to use other guides…  
There is coincashew guide or cntools (more friendly with user … using scripts)

> **[Guide: How to Set Up a Cardano Stake Pool](https://www.coincashew.com/coins/overview-ada/guide-how-to-build-a-haskell-stakepool-node)**
>
> On Ubuntu/Debian, this guide will illustrate how to install and configure a Cardano stake pool from source code on a two node setup with 1 block producer node and 1 relay node.

> [@How to set up a POOL in a few minutes - and register using CNTOOLS](https://forum.cardano.org/t/how-to-set-up-a-pool-in-a-few-minutes-and-register-using-cntools/48767):
>
> 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…

> libsecp256k1.so.0: cannot open shared object file: No such file or directory

for this error u will need to install libsecp256k1

U can fund the steps here

> [@\[Guide\] Upgrading to 1.35.3 for CoinCashew Users](https://forum.cardano.org/t/guide-upgrading-to-1-35-3-for-coincashew-users/106099):
>
> I struggled so much while upgrading to the latest version since the information were scatted, so I am going to share the steps that I did and make your life easier: Note: You do all of the below on both of your BP and relays Do the routine updates: sudo apt-get update -y sudo apt-get upgrade -y Update gLiveView automatically: cd $NODE\_HOME ./gLiveView.sh # Click yes if it asked you to update Make sure that you have ghc 8.10.7 and cabal 3.6.2.0 (Skip if you already have them): ghcup upg…

---

<div class="post-metadata">

**Author:** ![Greyhart](https://avatars.discourse-cdn.com/v4/letter/g/b5a626/32.png) [@Greyhart](https://forum.cardano.org/u/Greyhart)\
**Post date:** [24 September 2022 16:30 UTC](https://forum.cardano.org/t/trying-to-install-stake-pool-node/108050/3 "2022-09-24T16:30:42Z")

</div>

Thanks Alex,

I’ve bookmarked the site. I’ll probably wait until Monday to see if I can get it up and running.

Will the steps I’ve already done in the Stake Pool Course cause any problems, or can I just overwrite what’s there?

---

<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 September 2022 17:53 UTC](https://forum.cardano.org/t/trying-to-install-stake-pool-node/108050/4 "2022-09-24T17:53:24Z")

</div>

hmm, it depends which guide did u use

---

<div class="post-metadata">

**Author:** ![Greyhart](https://avatars.discourse-cdn.com/v4/letter/g/b5a626/32.png) [@Greyhart](https://forum.cardano.org/u/Greyhart)\
**Post date:** [25 September 2022 15:25 UTC](https://forum.cardano.org/t/trying-to-install-stake-pool-node/108050/5 "2022-09-25T15:25:04Z")

</div>

I used the one in the Stake Pool Course at [developers.cardano.org](http://developers.cardano.org).

It seemed like the proper one to follow. 🙂

---

<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 September 2022 16:27 UTC](https://forum.cardano.org/t/trying-to-install-stake-pool-node/108050/6 "2022-09-25T16:27:19Z")

</div>

then try to install libsecp256kp1 manually and continue with the guide

---

<div class="post-metadata">

**Author:** ![Greyhart](https://avatars.discourse-cdn.com/v4/letter/g/b5a626/32.png) [@Greyhart](https://forum.cardano.org/u/Greyhart)\
**Post date:** [26 September 2022 18:30 UTC](https://forum.cardano.org/t/trying-to-install-stake-pool-node/108050/7 "2022-09-26T18:30:11Z")

</div>

Ok, I went back to the directions for downloading and compiling. There was a command - git checkout $(curl -s [https://api.github.com/repos/input-output-hk/cardano-node/releases/latest](https://api.github.com/repos/input-output-hk/cardano-node/releases/latest) | jq -r .tag\_name) that was longer than the window showing it. I may not have copied the entire string before.

This time I copied the entire string and continued on through the process. I got a LOT fewer WARNINGs this time, most of which were about various things being experimental. This time there wasn’t an abort. It looks like I got all the way through.

```auto
$ cardano-cli --version
cardano-cli 1.35.3 - linux-x86_64 - ghc-8.10
git rev ea6d78c775d0f70dde979b52de022db749a2cc32

```

```auto
$ cardano-node --version
cardano-node 1.35.3 - linux-x86_64 - ghc-8.10
git rev ea6d78c775d0f70dde979b52de022db749a2cc32

```

Thanks for the help!

---

<div class="post-metadata">

**Author:** ![Greyhart](https://avatars.discourse-cdn.com/v4/letter/g/b5a626/32.png) [@Greyhart](https://forum.cardano.org/u/Greyhart)\
**Post date:** [26 September 2022 20:05 UTC](https://forum.cardano.org/t/trying-to-install-stake-pool-node/108050/8 "2022-09-26T20:05:52Z")

</div>

Learning…learning…always learning…

Ok, I got my node to run by copying the following command:  
cardano-node run \

This of course doesn’t have any of the information required for Paths and IP, but the Node runs.

The YT video by Carlos talks about making the node information easier to read by changing a couple of things in the mainnet-config.json file. I’ve used Config files for 30 years, so I’m comfortable changing something inside.

Changed “TraceBlockFetchDecisions”: to true  
He also changed “ViewMode”: to “LiveView”  
My config didn’t have a ViewMode, so I inserted it between the two lines it showed on his file, making sure to use correct syntax. I’m assuming position of the command doesn’t matter, but I wanted to be safe.  
I saved the config file, then modified the run commands so that the Paths are correct.

Because I’m running this at home, I have a Dynamic IP. My VPN gives me a static IP address, along with Port Forwarding, so I used that IP address and made sure the VPN was running.

The error I got is:  
cardano-node: Network.Socket.bind: unsupported operation (Cannot assign requested address)

I was guessing the VPN is interfering with the node. I didn’t have the VPN running when the node worked by typing in cardano-node run\

Just for shitsandgiggles I also tried it without the VPN running, using the Dynamic IP address I currently have. 10.0.0.58  
That gave me the same error.

---

<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:** [27 September 2022 05:02 UTC](https://forum.cardano.org/t/trying-to-install-stake-pool-node/108050/9 "2022-09-27T05:02:22Z")

</div>

> [@Greyhart](#):
>
> The error I got is:  
> cardano-node: Network.Socket.bind: unsupported operation (Cannot assign requested address)

Try with 0.0.0.0

---

<div class="post-metadata">

**Author:** ![Greyhart](https://avatars.discourse-cdn.com/v4/letter/g/b5a626/32.png) [@Greyhart](https://forum.cardano.org/u/Greyhart)\
**Post date:** [27 September 2022 16:33 UTC](https://forum.cardano.org/t/trying-to-install-stake-pool-node/108050/10 "2022-09-27T16:33:45Z")

</div>

Ok, that works but I’m confused.

The way Carlos explained it in the video, it sounded like the IP address had to be the IP address I’m using.

Apparently “ViewMode” doesn’t work. At least not as described in the video. I’m not too worried about it, I have a working 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:** [27 September 2022 16:37 UTC](https://forum.cardano.org/t/trying-to-install-stake-pool-node/108050/11 "2022-09-27T16:37:28Z")

</div>

0.0.0.0 will listen on all interfaces  
install or use gliveview  
PS: the guide is to old I believe
