# Problems with SST

**URL:** <https://forums.percona.com/t/problems-with-sst/2431>\
**Category:** Percona XtraDB Cluster 5.x\
**Created:** [June 3, 2012, 3:01am UTC](https://forums.percona.com/t/problems-with-sst/2431 "2012-06-03T03:01:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Os-T](https://avatars.discourse-cdn.com/v4/letter/o/779978/32.png) [@Os-T](https://forums.percona.com/u/Os-T)\
**Post date:** [June 3, 2012, 3:01am UTC](https://forums.percona.com/t/problems-with-sst/2431/1 "2012-06-03T03:01:05Z")

</div>

Hi,

I upgraded one node to the new version of XtraDB Cluster and because of this the node now tries to get a SST from a donor.  
Everything seems working smoothly (the donor doesn’t report any errors and I can see the pipe with the xtrabackup-data with ps -Al).  
But it seems, that xtrabackup on the node which receives the the SST doesn’t can work the data.  
innobackup.prepare.log says:

InnoDB Backup Utility v1.5.1-xtrabackup; Copyright 2003, 2009 Innobase Oy and Percona Inc 2009-2012. All Rights Reserved.xtrabackup: Error: Please set parameter 'datadir’innobackupex: fatal error: no ‘mysqld’ group in MySQL optionsinnobackupex: fatal error: OR no ‘datadir’ option in group ‘mysqld’ in MySQL options

In /etc/mysql/my.cnf I have:

[mysqld]datadir=/var/lib/mysqltmpdir=/tmpuser=mysql

and of course many other options, but nothing overwrites these…

I have no idea how to set the datadir-option for innobackupex.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![ayurchen](https://avatars.discourse-cdn.com/v4/letter/a/35a633/32.png) [@ayurchen](https://forums.percona.com/u/ayurchen)\
**Post date:** [June 3, 2012, 5:39am UTC](https://forums.percona.com/t/problems-with-sst/2431/2 "2012-06-03T05:39:19Z")

</div>

You should have something like that in your node error log:

120529 23:23:46 [Note] WSREP: Running: ‘wsrep\_sst\_xtrabackup ‘joiner’ ‘192.168.0.3:3303’ ‘root:rootpass’ ‘/tmp/galera2/mysql/var/’ ‘/etc/my.cnf’ ‘4693’ 2\>sst.err’

Check that my.cnf path (5th argument) points to the right file.

---

<div class="post-metadata">

**Author:** ![Os-T](https://avatars.discourse-cdn.com/v4/letter/o/779978/32.png) [@Os-T](https://forums.percona.com/u/Os-T)\
**Post date:** [June 3, 2012, 8:52am UTC](https://forums.percona.com/t/problems-with-sst/2431/3 "2012-06-03T08:52:52Z")

</div>

Thanks so much!!!  
The default config in the debian-package uses the /etc/mysql/conf.d/percona.cnf not the /etc/mysql/my.cnf  
After adding the datadir-param in this file everything works smoothly!
