# Wsrep doesn't turn on

**URL:** <https://forums.percona.com/t/wsrep-doesnt-turn-on/21954>\
**Category:** Percona XtraDB Cluster 5.x\
**Created:** [May 9, 2023, 7:42am UTC](https://forums.percona.com/t/wsrep-doesnt-turn-on/21954 "2023-05-09T07:42:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aldrin\_John\_Lagrima1](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@Aldrin\_John\_Lagrima1](https://forums.percona.com/u/Aldrin_John_Lagrima1)\
**Post date:** [May 9, 2023, 7:42am UTC](https://forums.percona.com/t/wsrep-doesnt-turn-on/21954/1 "2023-05-09T07:42:29Z")

</div>

I’m trying to start a new cluster named pxc-cluster  
Cluster is being bootstrapped successfully but galera library isn’t being read if placed in wsrep.cnf but after transferring it to my.cnf it shows the following error:

2023-05-09T07:29:51.948011Z 0 [ERROR] WSREP: failed to open gcomm backend connection: 110: failed to reach primary view (pc.wait\_prim\_timeout): 110 (Connection timed out)  
at gcomm/src/pc.cpp:connect():161  
2023-05-09T07:29:51.948088Z 0 [ERROR] WSREP: gcs/src/gcs\_core.cpp:gcs\_core\_open():209: Failed to open backend connection: -110 (Connection timed out)  
2023-05-09T07:29:51.948227Z 0 [ERROR] WSREP: gcs/src/gcs.cpp:gcs\_open():1528: Failed to open channel ‘pxc-cluster’ at ‘gcomm://192.168.1.167,192.168.1.247,192.168.1.233,1192.168.1.186’: -110 (Connection timed out)  
2023-05-09T07:29:51.948254Z 0 [ERROR] WSREP: gcs connect failed: Connection timed out  
2023-05-09T07:29:51.948281Z 0 [ERROR] WSREP: Provider/Node (gcomm://192.168.1.167,192.168.1.247,192.168.1.233,1192.168.1.186) failed to establish connection with cluster (reason: 7)  
2023-05-09T07:29:51.948291Z 0 [ERROR] Aborting

---

<div class="post-metadata">

**Author:** ![Aldrin\_John\_Lagrima1](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@Aldrin\_John\_Lagrima1](https://forums.percona.com/u/Aldrin_John_Lagrima1)\
**Post date:** [May 9, 2023, 7:50am UTC](https://forums.percona.com/t/wsrep-doesnt-turn-on/21954/2 "2023-05-09T07:50:37Z")

</div>

Distributor ID: Ubuntu  
Description: Ubuntu 16.04.3 LTS  
Release: 16.04  
Codename: xenial  
Percona version: 5.7.36-39

---

<div class="post-metadata">

**Author:** ![kedarpercona](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/kedarpercona/32/809_2.png) [@kedarpercona](https://forums.percona.com/u/kedarpercona)\
**Post date:** [May 9, 2023, 10:07am UTC](https://forums.percona.com/t/wsrep-doesnt-turn-on/21954/3 "2023-05-09T10:07:51Z")

</div>

Hello Aldrin and Welcome to the Percona Community.

So, reading error log whenever I see “Connection timed out”, I always question that something is blocking me from talking to someone else on the other side. Check firewalls selinux or other networking access and verify that the following ports are open: 3306, 4444, and 4567.

Also [check this question](https://forums.percona.com/t/getting-error-after-configuration-percona-xtradb-8-0/7894/13) hinting at similar problems for PXC.

Thanks,  
Kedar.

---

<div class="post-metadata">

**Author:** ![Aldrin\_John\_Lagrima1](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@Aldrin\_John\_Lagrima1](https://forums.percona.com/u/Aldrin_John_Lagrima1)\
**Post date:** [May 9, 2023, 11:51pm UTC](https://forums.percona.com/t/wsrep-doesnt-turn-on/21954/4 "2023-05-09T23:51:37Z")

</div>

Thanks for the reply @kedarpercona, those ports were already added to the security group of both ec2-instances. Anyways we found out that the config file location was the issue. We transferred the config from wsrep.cnf to my.cnf.
