# Unable to start first node of cluster.

**URL:** <https://forums.percona.com/t/unable-to-start-first-node-of-cluster/3227>\
**Category:** Percona XtraDB Cluster 5.x\
**Created:** [January 27, 2014, 9:38am UTC](https://forums.percona.com/t/unable-to-start-first-node-of-cluster/3227 "2014-01-27T09:38:39Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![holvoetj](https://avatars.discourse-cdn.com/v4/letter/h/b782af/32.png) [@holvoetj](https://forums.percona.com/u/holvoetj)\
**Post date:** [January 27, 2014, 9:38am UTC](https://forums.percona.com/t/unable-to-start-first-node-of-cluster/3227/1 "2014-01-27T09:38:39Z")

</div>

Complete Percona newbie, so have some patience 🙂

I’ve installed the Percona Server software on 3 Centos nodes (version 5.6).  
After that, I installed the Cluster software (version 5.5) - most of that seemed to be already included in the server software.  
Next step : adapt the my.cnf file according to [www.percona.com/doc/percona-xtradb-cluster/5.5/howtos/cenots\_howto.html](http://www.percona.com/doc/percona-xtradb-cluster/5.5/howtos/cenots_howto.html)

Now, when I try to start the first node with  
/etc/init.d/mysql start --wsrep\_cluster\_address=“gcomm://”

I get :  
Starting MySQL (Percona Server)… ERROR! The server quit without updating PID file

and the mysql log file says :  
…  
2014-01-27 14:55:23 9723 [Note] InnoDB: Percona XtraDB ([http://www.percona.com](http://www.percona.com)) 5.6.15-rel63.0 started; log sequence number 1626027  
2014-01-27 14:55:23 9723 [ERROR] /usr/sbin/mysqld: unknown variable ‘wsrep-cluster-address=gcomm://’  
2014-01-27 14:55:23 9723 [ERROR] Aborting  
…

What have I missed ?

regards  
Jo

---

<div class="post-metadata">

**Author:** ![mirfan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/mirfan/32/16890_2.png) [@mirfan](https://forums.percona.com/u/mirfan)\
**Post date:** [January 27, 2014, 4:26pm UTC](https://forums.percona.com/t/unable-to-start-first-node-of-cluster/3227/2 "2014-01-27T16:26:17Z")

</div>

What do you mean by installed the Percona Server software on 3 Centos nodes (version 5.6) and then installed cluster software version 5.5 ? Did you installed both Percona Server and Percona XtraDB Cluster ?  
Can you show me the output of

$ rpm -qa | grep -i “percona”

---

<div class="post-metadata">

**Author:** ![madhusudan](https://avatars.discourse-cdn.com/v4/letter/m/76d3ee/32.png) [@madhusudan](https://forums.percona.com/u/madhusudan)\
**Post date:** [January 28, 2014, 2:12am UTC](https://forums.percona.com/t/unable-to-start-first-node-of-cluster/3227/3 "2014-01-28T02:12:04Z")

</div>

@holvoetj,  
The error clearly says there is a typo in [COLOR=#252C2F] ‘wsrep-cluster-address=gcomm://’ the variable should be wsrep\_cluster\_address [COLOR=#252C2F] and not wsrep-cluster-address

---

<div class="post-metadata">

**Author:** ![holvoetj](https://avatars.discourse-cdn.com/v4/letter/h/b782af/32.png) [@holvoetj](https://forums.percona.com/u/holvoetj)\
**Post date:** [January 28, 2014, 2:52am UTC](https://forums.percona.com/t/unable-to-start-first-node-of-cluster/3227/4 "2014-01-28T02:52:15Z")

</div>

Hi mirfan

the output is :

[root@553579-srv115 ~]# rpm -qa | grep -i “percona”  
percona-release-0.0-1.x86\_64  
Percona-XtraDB-Cluster-galera-2-2.8-1.157.rhel6.x86\_64  
Percona-Server-shared-56-5.6.15-rel63.0.519.rhel6.x86\_64  
Percona-Server-server-56-5.6.15-rel63.0.519.rhel6.x86\_64  
percona-xtrabackup-2.1.7-721.rhel6.x86\_64  
Percona-Server-client-56-5.6.15-rel63.0.519.rhel6.x86\_64

regards  
Jo

---

<div class="post-metadata">

**Author:** ![holvoetj](https://avatars.discourse-cdn.com/v4/letter/h/b782af/32.png) [@holvoetj](https://forums.percona.com/u/holvoetj)\
**Post date:** [January 28, 2014, 2:53am UTC](https://forums.percona.com/t/unable-to-start-first-node-of-cluster/3227/5 "2014-01-28T02:53:17Z")

</div>

Hi madhusudan,

my command line used underscores but the error message uses hyphens. It doesn’t work with either one.

regards  
Jo

---

<div class="post-metadata">

**Author:** ![madhusudan](https://avatars.discourse-cdn.com/v4/letter/m/76d3ee/32.png) [@madhusudan](https://forums.percona.com/u/madhusudan)\
**Post date:** [January 28, 2014, 3:57am UTC](https://forums.percona.com/t/unable-to-start-first-node-of-cluster/3227/6 "2014-01-28T03:57:38Z")

</div>

u should put that in correct my.cnf file, check to see which my.cnf file its using while its starting…! (usually /etc/my.cnf or /etc/mysql/my.cnf) cross check with these files.

---

<div class="post-metadata">

**Author:** ![holvoetj](https://avatars.discourse-cdn.com/v4/letter/h/b782af/32.png) [@holvoetj](https://forums.percona.com/u/holvoetj)\
**Post date:** [January 29, 2014, 4:49am UTC](https://forums.percona.com/t/unable-to-start-first-node-of-cluster/3227/7 "2014-01-29T04:49:25Z")

</div>

Hi madhusudan,

I only have one my.cnf on the server (/etc/my.cnf)

regards  
Jo

---

<div class="post-metadata">

**Author:** ![madhusudan](https://avatars.discourse-cdn.com/v4/letter/m/76d3ee/32.png) [@madhusudan](https://forums.percona.com/u/madhusudan)\
**Post date:** [January 29, 2014, 5:42am UTC](https://forums.percona.com/t/unable-to-start-first-node-of-cluster/3227/8 "2014-01-29T05:42:57Z")

</div>

What’s the output of /usr/sbin/mysqld --verbose --help | grep -A 1 “Default options” ?

and also do a grep of “[COLOR=#252C2F]wsrep[COLOR=#252C2F]-cluster[COLOR=#252C2F]-address” on all .cnf files.  
somewhere its present!, you have to remove it.

---

<div class="post-metadata">

**Author:** ![holvoetj](https://avatars.discourse-cdn.com/v4/letter/h/b782af/32.png) [@holvoetj](https://forums.percona.com/u/holvoetj)\
**Post date:** [January 29, 2014, 8:32am UTC](https://forums.percona.com/t/unable-to-start-first-node-of-cluster/3227/9 "2014-01-29T08:32:41Z")

</div>

Here you go :

[root@553579-srv115 ~]# /usr/sbin/mysqld --verbose --help 2\>&1 | grep -A 1 “Default options”  
Default options are read from the following files in the given order:  
/etc/my.cnf /etc/mysql/my.cnf /usr/etc/my.cnf ~/.my.cnf

[root@553579-srv115 ~]# ls -l /etc/my.cnf /etc/mysql/my.cnf /usr/etc/my.cnf ~/.my.cnf  
ls: cannot access /etc/mysql/my.cnf: No such file or directory  
ls: cannot access /usr/etc/my.cnf: No such file or directory  
ls: cannot access /root/.my.cnf: No such file or directory  
-rw-r–r-- 1 root root 1279 Jan 29 11:03 /etc/my.cnf

regards  
Jo

---

<div class="post-metadata">

**Author:** ![madhusudan](https://avatars.discourse-cdn.com/v4/letter/m/76d3ee/32.png) [@madhusudan](https://forums.percona.com/u/madhusudan)\
**Post date:** [January 29, 2014, 9:24am UTC](https://forums.percona.com/t/unable-to-start-first-node-of-cluster/3227/10 "2014-01-29T09:24:15Z")

</div>

have u looked into that /etc/my.cnf file clearly for [COLOR=#252C2F]wsrep[COLOR=#252C2F]-cluster[COLOR=#252C2F]-address…?

---

<div class="post-metadata">

**Author:** ![holvoetj](https://avatars.discourse-cdn.com/v4/letter/h/b782af/32.png) [@holvoetj](https://forums.percona.com/u/holvoetj)\
**Post date:** [January 29, 2014, 10:43am UTC](https://forums.percona.com/t/unable-to-start-first-node-of-cluster/3227/11 "2014-01-29T10:43:02Z")

</div>

Yes 🙂  
only underscores …

regards  
Jo

---

<div class="post-metadata">

**Author:** ![madhusudan](https://avatars.discourse-cdn.com/v4/letter/m/76d3ee/32.png) [@madhusudan](https://forums.percona.com/u/madhusudan)\
**Post date:** [January 30, 2014, 4:20am UTC](https://forums.percona.com/t/unable-to-start-first-node-of-cluster/3227/12 "2014-01-30T04:20:33Z")

</div>

Strange!!, only way to find is, do a grep on entire system!.. it will take time but u will get the culprit… 🙂

find / -exec grep -l “wsrep-cluster-address” {} ;

for quicker search  
find / -name “\*.cnf” -exec grep -l “wsrep-cluster-address” {} ;

---

<div class="post-metadata">

**Author:** ![holvoetj](https://avatars.discourse-cdn.com/v4/letter/h/b782af/32.png) [@holvoetj](https://forums.percona.com/u/holvoetj)\
**Post date:** [February 3, 2014, 5:11am UTC](https://forums.percona.com/t/unable-to-start-first-node-of-cluster/3227/13 "2014-02-03T05:11:11Z")

</div>

Hi madhusudan,

I gave up 🙂 and started from scratch.

1. I made sure “yum list” and “rpm -qa” listed nothing installed from percona or mysql
2. then ran “yum install Percona-XtraDB-Cluster-server-56” (last time I tried version 5.5)
3. Created the file /etc/my.cnf with the contents of [url][Percona XtraDB Cluster](http://www.percona.com/doc/percona-xtradb-cluster/5.5/howtos/cenots_howto.html#centos-howto%5B/url%5D)
4. Started it up with /etc/init.d/mysql start --wsrep-cluster-address=“gcomm://”

output :

[root@553579-srv115 ~]# /etc/init.d/mysql start --wsrep-cluster-address=“gcomm://”  
Starting MySQL (Percona XtraDB Cluster). SUCCESS!

I can only imagine I had a conflict somewhere with packages installed earlier by someone else …

Many, many thanks for all your help !

regards  
Jo
