Not the answer you need?
Register and ask your own question!

wsrep/xtrabackup-v2 fails when having a dedicated binary logfile directory

WolfsrudelWolfsrudel EntrantInactive User Role Beginner
I've already setup the donor and now want to start the second node.

rpm -qa | grep -i percona
Percona-XtraDB-Cluster-client-56-5.6.21-25.8.938.el6.x86_64
percona-xtrabackup-2.2.7-5050.el6.x86_64
Percona-XtraDB-Cluster-shared-56-5.6.21-25.8.938.el6.x86_64
Percona-XtraDB-Cluster-server-56-5.6.21-25.8.938.el6.x86_64
percona-release-0.1-3.noarch
Percona-XtraDB-Cluster-galera-3-3.8-1.3390.rhel6.x86_64

sst-method is set to 'xtrabackup-v2'.
With a dedicated binlog directory '/db03/mysql56-01/binlogs', wsrep fails with the following messages:

WSREP_SST: [INFO] Cleaning the existing datadir and innodb-data/log directories (20141219 09:03:29.673)
removed `/db02/mysql56-01/innodata/undo001'
removed `/db02/mysql56-01/innodata/ibdata2'
removed `/db02/mysql56-01/innodata/auto.cnf'
removed `/db02/mysql56-01/innodata/ibdata1'
removed `/db04/mysql56-01/innologs/ib_logfile1'
removed `/db04/mysql56-01/innologs/ib_logfile0'
dirname: extra operand `/db03/mysql56-01/binlogs/mysql56-01-bin'
Try `dirname --help' for more information.
WSREP_SST: [ERROR] Cleanup after exit with status:1 (20141219 09:03:29.770)
2014-12-19 09:03:29 17264 [ERROR] WSREP: Process completed with error: wsrep_sst_xtrabackup-v2 --role 'joiner' --address '192.168.137.171' --auth 'root:mysql' --datadir '/db02/mysql56-01/innodata/' --defaults-file '/db05/mysql56-01/admin/startup/my.cnf' --parent '17264' '' : 1 (Operation not permitted)
2014-12-19 09:03:29 17264 [ERROR] WSREP: Failed to read uuid:seqno from joiner script.
2014-12-19 09:03:29 17264 [ERROR] WSREP: SST failed: 1 (Operation not permitted)
2014-12-19 09:03:29 17264 [ERROR] Aborting

The 'dirname' command is somehow used with the wrong amount of arguments, i guess.

The whole err-log is attached.

Kind regards,
Wolfsrudel

Comments

Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.