# Unable to Change Relay to Core

**URL:** <https://forum.cardano.org/t/unable-to-change-relay-to-core/116738>\
**Category:** Operate a Stake Pool\
**Created:** [12 April 2023 21:32 UTC](https://forum.cardano.org/t/unable-to-change-relay-to-core/116738 "2023-04-12T21:32:30Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mankar](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@Mankar](https://forum.cardano.org/u/Mankar)\
**Post date:** [12 April 2023 21:32 UTC](https://forum.cardano.org/t/unable-to-change-relay-to-core/116738/1 "2023-04-12T21:32:30Z")

</div>

I stopped the node. I updated startup scripts and have the key pair and operational cert. Then started the node.

After I did that I went to gliveview and it doesn’t change from relay to core. And my below categories are missing, core and block production. Everything else looks fine. My connections stay up and it’s all synched.

I also get no slot schedule. It runs, but then doesn’t show any entries. What am I missing here?

---

<div class="post-metadata">

**Author:** ![jeremyisme](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/jeremyisme/32/54872_2.png) [@jeremyisme](https://forum.cardano.org/u/jeremyisme)\
**Post date:** [13 April 2023 00:01 UTC](https://forum.cardano.org/t/unable-to-change-relay-to-core/116738/2 "2023-04-13T00:01:51Z")

</div>

What did you update the start up script with? Was the BP running before? Or are you getting your pool set up for the first time?

---

<div class="post-metadata">

**Author:** ![Mankar](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@Mankar](https://forum.cardano.org/u/Mankar)\
**Post date:** [13 April 2023 01:29 UTC](https://forum.cardano.org/t/unable-to-change-relay-to-core/116738/3 "2023-04-13T01:29:47Z")

</div>

We have been live since epoch 401, but wasn’t getting any blocks. Wasn’t sure if it was bad luck at first. I used the coincashew guide to set up the stake pool, and we have over 800k ada staked.

This is the startup script I used:  
cat \> $NODE\_HOME/startBlockProducingNode.sh \<\< EOF  
DIRECTORY=$NODE\_HOME  
PORT=6000  
HOSTADDR=0.0.0.0  
TOPOLOGY=${DIRECTORY}/topology.json  
DB\_PATH=${DIRECTORY}/db  
SOCKET\_PATH=${DIRECTORY}/db/socket  
CONFIG=${DIRECTORY}/config.json  
KES=${DIRECTORY}/kes.skey  
VRF=${DIRECTORY}/vrf.skey  
CERT=${DIRECTORY}/node.cert  
/usr/local/bin/cardano-node run +RTS -N -A16m -qg -qb -RTS --topology ${TOPOLOGY} --database-path ${DB\_PATH} --socket-path ${SOCKET\_PATH} --host-addr ${HOSTADDR} --port ${PORT} --config ${CONFIG} --shelley-kes-key ${KES} --shelley-vrf-key ${VRF} --shelley-operational-certificate ${CERT}  
EOF

---

<div class="post-metadata">

**Author:** ![jeremyisme](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/jeremyisme/32/54872_2.png) [@jeremyisme](https://forum.cardano.org/u/jeremyisme)\
**Post date:** [13 April 2023 02:10 UTC](https://forum.cardano.org/t/unable-to-change-relay-to-core/116738/4 "2023-04-13T02:10:25Z")

</div>

Is your node fully synced? Maybe add a screenshot of your gliveview for context if you like.

---

<div class="post-metadata">

**Author:** ![Mankar](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@Mankar](https://forum.cardano.org/u/Mankar)\
**Post date:** [13 April 2023 04:37 UTC](https://forum.cardano.org/t/unable-to-change-relay-to-core/116738/5 "2023-04-13T04:37:54Z")

</div>

![image](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/c/7/c7a315360bcc92e33eab2a94f25a301e2fd589ba.png)

---

<div class="post-metadata">

**Author:** ![Zyroxa](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/zyroxa/32/17790_2.png) [@Zyroxa](https://forum.cardano.org/u/Zyroxa)\
**Post date:** [13 April 2023 05:30 UTC](https://forum.cardano.org/t/unable-to-change-relay-to-core/116738/6 "2023-04-13T05:30:15Z")

</div>

Did you check your env file?

---

<div class="post-metadata">

**Author:** ![jeremyisme](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/jeremyisme/32/54872_2.png) [@jeremyisme](https://forum.cardano.org/u/jeremyisme)\
**Post date:** [13 April 2023 05:55 UTC](https://forum.cardano.org/t/unable-to-change-relay-to-core/116738/7 "2023-04-13T05:55:08Z")

</div>

Can you have a look at the log from when the node started? Are you using the service from the coincashew guide? Maybe you have referenced the relay script instead of the BP script for start up.

---

<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:** [13 April 2023 06:01 UTC](https://forum.cardano.org/t/unable-to-change-relay-to-core/116738/8 "2023-04-13T06:01:03Z")

</div>

> [@Mankar](#):
>
> KES=${DIRECTORY}/kes.skey  
> VRF=${DIRECTORY}/vrf.skey  
> CERT=${DIRECTORY}/node.cert

try to use the explicit path for these files. also check if you changed the permision for vrf.skey file

Cheers,

---

<div class="post-metadata">

**Author:** ![kirael](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/kirael/32/58113_2.png) [@kirael](https://forum.cardano.org/u/kirael)\
**Post date:** [13 April 2023 08:37 UTC](https://forum.cardano.org/t/unable-to-change-relay-to-core/116738/9 "2023-04-13T08:37:23Z")

</div>

Have you updated your systemd service file cardano-node with your startup script : startBlockProducingNode.sh ?

---

<div class="post-metadata">

**Author:** ![Mankar](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@Mankar](https://forum.cardano.org/u/Mankar)\
**Post date:** [13 April 2023 16:36 UTC](https://forum.cardano.org/t/unable-to-change-relay-to-core/116738/10 "2023-04-13T16:36:38Z")

</div>

Checking through the env file I noticed that my operation certificate is called op.cert and the my certificate is node.cert. I changed the name in env to match, but that didn’t work.

---

<div class="post-metadata">

**Author:** ![Mankar](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@Mankar](https://forum.cardano.org/u/Mankar)\
**Post date:** [13 April 2023 16:39 UTC](https://forum.cardano.org/t/unable-to-change-relay-to-core/116738/11 "2023-04-13T16:39:37Z")

</div>

Okay, now I have the explicit paths for each. I have the vrf.skey file set to read only. Is that 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:** [13 April 2023 16:53 UTC](https://forum.cardano.org/t/unable-to-change-relay-to-core/116738/12 "2023-04-13T16:53:41Z")

</div>

should be. now restart the node

---

<div class="post-metadata">

**Author:** ![Mankar](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@Mankar](https://forum.cardano.org/u/Mankar)\
**Post date:** [13 April 2023 17:20 UTC](https://forum.cardano.org/t/unable-to-change-relay-to-core/116738/13 "2023-04-13T17:20:29Z")

</div>

Restarted, but no luck.

---

<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:** [13 April 2023 17:38 UTC](https://forum.cardano.org/t/unable-to-change-relay-to-core/116738/14 "2023-04-13T17:38:14Z")

</div>

did u start the server manually or via systemd ?

---

<div class="post-metadata">

**Author:** ![Mankar](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@Mankar](https://forum.cardano.org/u/Mankar)\
**Post date:** [13 April 2023 17:41 UTC](https://forum.cardano.org/t/unable-to-change-relay-to-core/116738/15 "2023-04-13T17:41:40Z")

</div>

I think you and @kirael are on to something. The service was referencing a different startup script.  
I changed it in the service, and looking at the logs, it says permission denied.

 ![image](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/5/0/50ee6640021a5b8ac7c6dc50eb3959909a7e0a34.jpeg)

I ran this again: sudo chmod 644 /etc/systemd/system/cardano-node.service

---

<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:** [13 April 2023 18:00 UTC](https://forum.cardano.org/t/unable-to-change-relay-to-core/116738/16 "2023-04-13T18:00:25Z")

</div>

ok, check the owner… is root or ur user? try with chmod 750 also

---

<div class="post-metadata">

**Author:** ![Mankar](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@Mankar](https://forum.cardano.org/u/Mankar)\
**Post date:** [13 April 2023 18:07 UTC](https://forum.cardano.org/t/unable-to-change-relay-to-core/116738/17 "2023-04-13T18:07:41Z")

</div>

It was permissions for the startup script I was missing that time. Now… It’s fixed!

---

<div class="post-metadata">

**Author:** ![Mankar](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@Mankar](https://forum.cardano.org/u/Mankar)\
**Post date:** [13 April 2023 18:09 UTC](https://forum.cardano.org/t/unable-to-change-relay-to-core/116738/18 "2023-04-13T18:09:25Z")

</div>

THANK YOU EVERYONE FOR THE HELP!!! We are now operational!

---

<div class="post-metadata">

**Author:** ![kirael](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/kirael/32/58113_2.png) [@kirael](https://forum.cardano.org/u/kirael)\
**Post date:** [13 April 2023 18:47 UTC](https://forum.cardano.org/t/unable-to-change-relay-to-core/116738/19 "2023-04-13T18:47:39Z")

</div>

Good news : )

I wrote an audit script that can help you check if everything is ok on your coincashew setup :

> [@Audit script for coincashew users](https://forum.cardano.org/t/audit-script-for-coincashew-users/116649):
>
> Hello there o/ I made an audit script for coincashew node installations. This v1 collects information by running the following checks (the script doesn’t modify anything, of course !) : Environnement Variables Systemd cardano-node file verification and parsing Cardano startup script verification and parsing Node operation mode (Block Producer ? Relay ?) Topology mode (p2p enabled ?) Topology configuration Keys SSHD config file parsing for hardening Null passwords check Key services running F…

---

<div class="post-metadata">

**Author:** ![Mankar](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@Mankar](https://forum.cardano.org/u/Mankar)\
**Post date:** [13 April 2023 20:39 UTC](https://forum.cardano.org/t/unable-to-change-relay-to-core/116738/20 "2023-04-13T20:39:43Z")

</div>

Thanks! This will be nice to have. I’m going to give a run.

[Next page](https://forum.cardano.org/t/unable-to-change-relay-to-core/116738.md?page=2)
