# XtraDB Cluster wont start with wsrep\_provider

**URL:** <https://forums.percona.com/t/xtradb-cluster-wont-start-with-wsrep-provider/2464>\
**Category:** Percona XtraDB Cluster 5.x\
**Created:** [August 10, 2012, 10:28am UTC](https://forums.percona.com/t/xtradb-cluster-wont-start-with-wsrep-provider/2464 "2012-08-10T10:28:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chriss](https://avatars.discourse-cdn.com/v4/letter/c/c37758/32.png) [@chriss](https://forums.percona.com/u/chriss)\
**Post date:** [August 10, 2012, 10:28am UTC](https://forums.percona.com/t/xtradb-cluster-wont-start-with-wsrep-provider/2464/1 "2012-08-10T10:28:04Z")

</div>

hi,  
i tried to install the percona cluster on a fresh debian and even ubuntu system, but every time i’m ready with the installation and config the mysql wont start anymore. the problem is the line with the wsrep\_provider (wsrep\_provider=/usr/lib/libgalera\_smm.so). when i remove the line the server starts without any problems.

is there anything i have overlooked?

syslog with wsrep\_provider:  
Aug 10 17:42:01 net1 /etc/init.d/mysql[10691]: 0 processes alive and ‘/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping’ resulted in  
Aug 10 17:42:01 net1 /etc/init.d/mysql[10691]: #007/usr/bin/mysqladmin: connect to server at ‘localhost’ failed  
Aug 10 17:42:01 net1 /etc/init.d/mysql[10691]: error: ‘Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)’  
Aug 10 17:42:01 net1 /etc/init.d/mysql[10691]: Check that mysqld is running and that the socket: ‘/var/run/mysqld/mysqld.sock’ exists!  
Aug 10 17:42:01 net1 /etc/init.d/mysql[10691]:

syslog wsrep\_provider removed:  
Aug 10 17:41:32 net1 /etc/mysql/debian-start[9622]: Upgrading MySQL tables if necessary.  
Aug 10 17:41:32 net1 /etc/mysql/debian-start[9626]: /usr/bin/mysql\_upgrade: the ‘–basedir’ option is always ignored  
Aug 10 17:41:32 net1 /etc/mysql/debian-start[9626]: Looking for ‘mysql’ as: /usr/bin/mysql  
Aug 10 17:41:32 net1 /etc/mysql/debian-start[9626]: Looking for ‘mysqlcheck’ as: /usr/bin/mysqlcheck  
Aug 10 17:41:32 net1 /etc/mysql/debian-start[9626]: This installation of MySQL is already upgraded to 5.5.24, use --force if you still need to run mysql\_upgrade  
Aug 10 17:41:32 net1 /etc/mysql/debian-start[9637]: Checking for insecure root accounts.  
Aug 10 17:41:32 net1 /etc/mysql/debian-start[9642]: Triggering myisam-recover for all MyISAM tables

mysqld config  
[mysqld]

wsrep\_provider=/usr/lib/libgalera\_smm.so  
wsrep\_cluster\_address=gcomm://10.10.10.21

wsrep\_slave\_threads=8  
wsrep\_sst\_method=rsync

wsrep\_cluster\_name=db\_cluster  
wsrep\_node\_name=net1

binlog\_format=ROW  
default\_storage\_engine=InnoDB  
innodb\_autoinc\_lock\_mode=2  
innodb\_locks\_unsafe\_for\_binlog=1

---

<div class="post-metadata">

**Author:** ![lefred](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/lefred/32/16885_2.png) [@lefred](https://forums.percona.com/u/lefred)\
**Post date:** [August 14, 2012, 1:28am UTC](https://forums.percona.com/t/xtradb-cluster-wont-start-with-wsrep-provider/2464/2 "2012-08-14T01:28:54Z")

</div>

Hi chriss,

do you have the file /usr/lib/libgalera\_smm.so present on your system in that directory ?

if the file is present, could you paste the start of the log too ?

Regards,
