# How to set up a POOL in a few minutes - and register using CNTOOLS

**URL:** <https://forum.cardano.org/t/how-to-set-up-a-pool-in-a-few-minutes-and-register-using-cntools/48767>\
**Category:** Setup a Stake Pool\
**Created:** [19 February 2021 06:48 UTC](https://forum.cardano.org/t/how-to-set-up-a-pool-in-a-few-minutes-and-register-using-cntools/48767 "2021-02-19T06:48:12Z")\
**Posts on this page:** 20\
**Page:** 58

<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:** [17 June 2021 04:41 UTC](https://forum.cardano.org/t/how-to-set-up-a-pool-in-a-few-minutes-and-register-using-cntools/48767/1159 "2021-06-17T04:41:09Z")

</div>

For step 5 u can use import wallet but I think u need to rebuild the node

type cabal - -version

If u have 3.4.0.0 then u will need 3.2.0.0

ghcup install cabal 3.2.0.0  
ghcup set cabal 3.2.0.0  
check the version  
cabal - -version. (U should see 3.2.0.0)  
Now stop the node and rebuild  
sudo systemctl stop cnode  
cd ~/git  
cd cardano-node  
$CNODE\_HOME/scripts/cabal-build-all.sh -o

---

<div class="post-metadata">

**Author:** ![poonasor](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/poonasor/32/37520_2.png) [@poonasor](https://forum.cardano.org/u/poonasor)\
**Post date:** [17 June 2021 11:58 UTC](https://forum.cardano.org/t/how-to-set-up-a-pool-in-a-few-minutes-and-register-using-cntools/48767/1160 "2021-06-17T11:58:49Z")

</div>

Thanks but when I try to rebuild the node im getting

```auto
cabal: Could not resolve dependencies:
[__0] trying: Win32-network-0.1.0.0 (user goal)
[__1] trying: base-4.12.0.0/installed-4.12.0.0 (dependency of Win32-network)
[__2] next goal: cardano-api (user goal)
[__2] rejecting: cardano-api-1.27.0 (conflict:
base==4.12.0.0/installed-4.12.0.0, cardano-api => base>=4.14 && <4.15)
[__2] fail (backjumping, conflict set: base, cardano-api)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: cardano-api, base, Win32-network

```

---

<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:** [17 June 2021 12:09 UTC](https://forum.cardano.org/t/how-to-set-up-a-pool-in-a-few-minutes-and-register-using-cntools/48767/1161 "2021-06-17T12:09:02Z")

</div>

Try

type cabal - -version

If u have 3.4.0.0 then u will need 3.2.0.0

ghcup install cabal 3.2.0.0  
ghcup set cabal 3.2.0.0  
check the version  
cabal - -version. (U should see 3.2.0.0)  
Now stop the node and rebuild  
sudo systemctl stop cnode  
cd ~/git  
cd cardano-node

git fetch --tags --all  
git checkout 1.27.0  
git pull origin master

echo -e “package cardano-crypto-praos\n flags: -external-libsodium-vrf” \> cabal.project.local

$CNODE\_HOME/scripts/cabal-build-all.sh -o

---

<div class="post-metadata">

**Author:** ![poonasor](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/poonasor/32/37520_2.png) [@poonasor](https://forum.cardano.org/u/poonasor)\
**Post date:** [17 June 2021 12:26 UTC](https://forum.cardano.org/t/how-to-set-up-a-pool-in-a-few-minutes-and-register-using-cntools/48767/1162 "2021-06-17T12:26:36Z")

</div>

thank you but no luck same error messages

---

<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:** [17 June 2021 16:40 UTC](https://forum.cardano.org/t/how-to-set-up-a-pool-in-a-few-minutes-and-register-using-cntools/48767/1163 "2021-06-17T16:40:55Z")

</div>

Try without pull master command

ghcup install cabal 3.2.0.0  
ghcup set cabal 3.2.0.0  
check the version  
cabal - -version. (U should see 3.2.0.0)  
Now stop the node and rebuild  
sudo systemctl stop cnode  
cd ~/git  
cd cardano-node

git fetch --tags --all  
git checkout 1.27.0

echo -e “package cardano-crypto-praos\n flags: -external-libsodium-vrf” \> cabal.project.local

$CNODE\_HOME/scripts/cabal-build-all.sh -o

---

<div class="post-metadata">

**Author:** ![poonasor](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/poonasor/32/37520_2.png) [@poonasor](https://forum.cardano.org/u/poonasor)\
**Post date:** [17 June 2021 18:56 UTC](https://forum.cardano.org/t/how-to-set-up-a-pool-in-a-few-minutes-and-register-using-cntools/48767/1164 "2021-06-17T18:56:14Z")

</div>

No luck, here’s the full printout if that helps

```auto
Overwriting cabal.project.local to include cardano-addresses and bech32 (previous file, if any, will be saved as cabal.project.local.swp)..
From https://github.com/input-output-hk/cardano-ledger-specs
   dc5a1c217..96e476ee1 jc/address-audits-2021-06 -> origin/jc/address-audits-2021-06
 + 6f8046809...890e70955 lehins/fix-unit-interval-ratio-word64 -> origin/lehins/fix-unit-interval-ratio-word64 (forced update)
   6474f68b2..b590b8cef master -> origin/master
   ad2ed48a0..dcf537b27 ts-feeTooSmallAftergenEraTweakBlock -> origin/ts-feeTooSmallAftergenEraTweakBlock
From https://github.com/input-output-hk/ouroboros-network
   be47fbb3d..11f61bffc bors/staging -> origin/bors/staging
   be47fbb3d..11f61bffc master -> origin/master
cabal: Could not resolve dependencies:
[__0] trying: Win32-network-0.1.0.0 (user goal)
[__1] trying: base-4.12.0.0/installed-4.12.0.0 (dependency of Win32-network)
[__2] next goal: cardano-api (user goal)
[__2] rejecting: cardano-api-1.27.0 (conflict:
base==4.12.0.0/installed-4.12.0.0, cardano-api => base>=4.14 && <4.15)
[__2] fail (backjumping, conflict set: base, cardano-api)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: cardano-api, base, Win32-network

Running cabal update to ensure you're on latest dependencies..
HEAD is now at 94153b6 Fixed title of haddock page
HEAD is now at f730793 Merge pull request #69 from newhoggy/add-ghc-8.6.5-and-8.10.2-to-ci
HEAD is now at e8f19bcc9 Merge #2135
HEAD is now at 8bcd3c9 Downgrade cabal file version to 2.4 because 3.0 is incompatible with stack
HEAD is now at 9b279c754 Merge #3036
Downloading the latest package list from hackage.haskell.org
To revert to previous state run:
    cabal v2-update 'hackage.haskell.org,2021-06-17T10:49:09Z'
Building..
Warning: Requested index-state2021-03-15T00:00:00Z is newer than
'hackage.haskell.org'! Falling back to older state (2021-03-14T23:47:09Z).
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] trying: Win32-network-0.1.0.0 (user goal)
[__1] trying: base-4.12.0.0/installed-4.12.0.0 (dependency of Win32-network)
[__2] next goal: cardano-api (user goal)
[__2] rejecting: cardano-api-1.27.0 (conflict:
base==4.12.0.0/installed-4.12.0.0, cardano-api => base>=4.14 && <4.15)
[__2] fail (backjumping, conflict set: base, cardano-api)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: cardano-api, base, Win32-network

```

---

<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:** [17 June 2021 19:09 UTC](https://forum.cardano.org/t/how-to-set-up-a-pool-in-a-few-minutes-and-register-using-cntools/48767/1165 "2021-06-17T19:09:07Z")

</div>

Did u used my guide? Also do u have ubuntu OS?

---

<div class="post-metadata">

**Author:** ![Harianto](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/harianto/32/30565_2.png) [@Harianto](https://forum.cardano.org/u/Harianto)\
**Post date:** [19 June 2021 00:41 UTC](https://forum.cardano.org/t/how-to-set-up-a-pool-in-a-few-minutes-and-register-using-cntools/48767/1166 "2021-06-19T00:41:44Z")

</div>

@Alexd1985 or anybody who are knowledgable, I wonder if you know what’s going on that gLiveview on BP show status starting frequently, after a while it will show fine. I check everything is OK.  
 ![image](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/b/d/bd0c132d90193119b42df788e1766a388d2e84d9.png)

After several minutes the OK condition is shown:  
 ![image](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/c/0/c088c796e9a9c33b4928f8cd638f045f5d601708.png)

Then I leave it for the day, the next day I come back it will show ‘starting’ status again. Not sure when and why. I tried to reinstall cabal update and build the node again, but that didn’t fix it.  
This happens to the new server for BP as I want to upgrade and migrate it.  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Harianto](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/harianto/32/30565_2.png) [@Harianto](https://forum.cardano.org/u/Harianto)\
**Post date:** [19 June 2021 00:42 UTC](https://forum.cardano.org/t/how-to-set-up-a-pool-in-a-few-minutes-and-register-using-cntools/48767/1167 "2021-06-19T00:42:54Z")

</div>

I just finished posting the OK status, now it’s ‘starting’ again. So annoying.

---

<div class="post-metadata">

**Author:** ![Ethan\_Duysen](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/ethan_duysen/32/16197_2.png) [@Ethan\_Duysen](https://forum.cardano.org/u/Ethan_Duysen)\
**Post date:** [19 June 2021 02:55 UTC](https://forum.cardano.org/t/how-to-set-up-a-pool-in-a-few-minutes-and-register-using-cntools/48767/1168 "2021-06-19T02:55:30Z")

</div>

i am having a similar 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:** [19 June 2021 03:45 UTC](https://forum.cardano.org/t/how-to-set-up-a-pool-in-a-few-minutes-and-register-using-cntools/48767/1169 "2021-06-19T03:45:15Z")

</div>

What is the hw configuration of the node?

---

<div class="post-metadata">

**Author:** ![Harianto](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/harianto/32/30565_2.png) [@Harianto](https://forum.cardano.org/u/Harianto)\
**Post date:** [19 June 2021 03:56 UTC](https://forum.cardano.org/t/how-to-set-up-a-pool-in-a-few-minutes-and-register-using-cntools/48767/1170 "2021-06-19T03:56:55Z")

</div>

Intel(R) Xeon(R) Gold 5120 CPU @ 2.20GHz  
CPU: 4 vCore  
RAM: 8 GB  
SSD: 160 GB  
Data transfer rate up to: 400 Mbps

On ubuntu 20.04

---

<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:** [19 June 2021 05:11 UTC](https://forum.cardano.org/t/how-to-set-up-a-pool-in-a-few-minutes-and-register-using-cntools/48767/1171 "2021-06-19T05:11:19Z")

</div>

And if u type journalctl -e -f -u cnode do u see any kill command?

---

<div class="post-metadata">

**Author:** ![ALoop](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/aloop/32/38020_2.png) [@ALoop](https://forum.cardano.org/u/ALoop)\
**Post date:** [19 June 2021 05:55 UTC](https://forum.cardano.org/t/how-to-set-up-a-pool-in-a-few-minutes-and-register-using-cntools/48767/1172 "2021-06-19T05:55:46Z")

</div>

Memory might not be enough for your BP. I tested my relays with 4GB and they were restarting like 3-4 times a day. I added more memory, and they turned stable

---

<div class="post-metadata">

**Author:** ![Harianto](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/harianto/32/30565_2.png) [@Harianto](https://forum.cardano.org/u/Harianto)\
**Post date:** [19 June 2021 19:48 UTC](https://forum.cardano.org/t/how-to-set-up-a-pool-in-a-few-minutes-and-register-using-cntools/48767/1173 "2021-06-19T19:48:41Z")

</div>

> [@Alexd1985](#):
>
> journalctl -e -f -u cnode

Yes there are, and the latest:

un 19 15:40:11 localhost cnode[1322746]: /opt/cardano/cnode/scripts/cnode.sh: line 57: 1323172 Killed cardano-node “${CPU\_RUNTIME[@]}” run --topology “${TOPOLOGY}” --config “${CONFIG}” --database-path “${DB\_DIR}” --socket-path “${CARDANO\_NODE\_SOCKET\_PATH}” --shelley-kes-key “${POOL\_DIR}/${POOL\_HOTKEY\_SK\_FILENAME}” --shelley-vrf-key “${POOL\_DIR}/${POOL\_VRF\_SK\_FILENAME}” --shelley-operational-certificate “${POOL\_DIR}/${POOL\_OPCERT\_FILENAME}” --port ${CNODE\_PORT} “${host\_addr[@]}”  
Jun 19 15:40:17 localhost cnode[1338975]: WARN: A prior running Cardano node was not cleanly shutdown, socket file still exists. Cleaning up.  
Jun 19 15:40:19 localhost cnode[1339449]: Listening on [http://127.0.0.1:12798](http://127.0.0.1:12798)

I think @ALoop is correct, the MEM is not enough. I answer ‘yes’ to all questions for BP’s deploy-as-systemd.sh.  
Thanks @Alexd1985 & @ALoop !

---

<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:** [19 June 2021 20:00 UTC](https://forum.cardano.org/t/how-to-set-up-a-pool-in-a-few-minutes-and-register-using-cntools/48767/1174 "2021-06-19T20:00:56Z")

</div>

> [@Harianto](#):
>
> I answer ‘yes’ to all questions for BP’s deploy-as-systemd.sh.

run again and press N for topology updater, u don’t need it on BP

and edit again the topology file (add only the relays) + restart the node;

And upgrade the servers

if u will want a cheap VPS solution with ~17€ u will have a good setup for alonzo era:

![image](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/1/7/172613776bf26d54c8d8e4491fecba2893e072e8.jpeg)  
 ![image](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/a/9/a906f46e98e2beadad650894a43569e14f26ca37.jpeg)

---

<div class="post-metadata">

**Author:** ![Harianto](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/harianto/32/30565_2.png) [@Harianto](https://forum.cardano.org/u/Harianto)\
**Post date:** [19 June 2021 20:08 UTC](https://forum.cardano.org/t/how-to-set-up-a-pool-in-a-few-minutes-and-register-using-cntools/48767/1175 "2021-06-19T20:08:16Z")

</div>

Will do, the VPS pricing is attractive, too!  
Thanks Alex!

---

<div class="post-metadata">

**Author:** ![ADA\_larsen](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/ada_larsen/32/36496_2.png) [@ADA\_larsen](https://forum.cardano.org/u/ADA_larsen)\
**Post date:** [21 June 2021 10:17 UTC](https://forum.cardano.org/t/how-to-set-up-a-pool-in-a-few-minutes-and-register-using-cntools/48767/1176 "2021-06-21T10:17:07Z")

</div>

I see on your last screenshot that the ‘BLOCKS’ section of gLiveView under “Ideal” and “Luck” states nothing.  
Has it always been like this, or did this just happen to you? I have 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:** [21 June 2021 10:38 UTC](https://forum.cardano.org/t/how-to-set-up-a-pool-in-a-few-minutes-and-register-using-cntools/48767/1177 "2021-06-21T10:38:15Z")

</div>

It will be updated when u will have blocks assigned

---

<div class="post-metadata">

**Author:** ![santonode](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/santonode/32/36071_2.png) [@santonode](https://forum.cardano.org/u/santonode)\
**Post date:** [21 June 2021 23:36 UTC](https://forum.cardano.org/t/how-to-set-up-a-pool-in-a-few-minutes-and-register-using-cntools/48767/1178 "2021-06-21T23:36:18Z")

</div>

My BP node runs no issues in 8gb ram with 2gb swap file on ubuntu 18. However, When I run cntools detail pool query it will crash and not cleanly shutdown

I saw your error “not cleanly shut down” this will cause node to try to restart over and over

my workaround below

ps -aux  
(find the PID for cardano-node)  
kill -9 PID  
sudo systemctl stop cnode  
sudo systemctl start cnode  
sudo systemctl status cnode  
(should be no errors, just listening)

[Previous page](https://forum.cardano.org/t/how-to-set-up-a-pool-in-a-few-minutes-and-register-using-cntools/48767.md?page=57)

[Next page](https://forum.cardano.org/t/how-to-set-up-a-pool-in-a-few-minutes-and-register-using-cntools/48767.md?page=59)
