# Unable to create DB Replication Master-\>Slave

**URL:** <https://forums.percona.com/t/unable-to-create-db-replication-master-slave/4844>\
**Category:** Other MySQL® Questions\
**Created:** [April 18, 2016, 6:42am UTC](https://forums.percona.com/t/unable-to-create-db-replication-master-slave/4844 "2016-04-18T06:42:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![iovcho.iovchev](https://avatars.discourse-cdn.com/v4/letter/i/c6cbf5/32.png) [@iovcho.iovchev](https://forums.percona.com/u/iovcho.iovchev)\
**Post date:** [April 18, 2016, 6:42am UTC](https://forums.percona.com/t/unable-to-create-db-replication-master-slave/4844/1 "2016-04-18T06:42:59Z")

</div>

Hello there.  
I have two server with the same hardware and software specifications.  
The OS is Debian 8.4.  
The Percona Version is 5.7.11-4-1.jessie  
I use this ( [https://www.percona.com/doc/percona-xtrabackup/2.1/howtos/setting\_up\_replication.html](https://www.percona.com/doc/percona-xtrabackup/2.1/howtos/setting_up_replication.html) ) documentation for cluster setup.  
I have this problem on STEP 1:

* * *

root@db01m:~# innobackupex --user=root --password=‘\*\*\*\*\*\*\*’ --apply-log /root/backup/$TIMESTAMP  
160418 15:01:58 innobackupex: Starting the apply-log operation

IMPORTANT: Please check that the apply-log run completes successfully.  
At the end of a successful apply-log run innobackupex  
prints “completed OK!”.

## innobackupex version 2.4.2 based on MySQL server 5.7.11 Linux (x86\_64) (revision id: 8e86a84) xtrabackup: cd to /root/backup xtrabackup: Error: cannot open ./xtrabackup\_checkpoints xtrabackup: error: xtrabackup\_read\_metadata() xtrabackup: This target seems not to have correct metadata… InnoDB: Number of pools: 1 InnoDB: Operating system error number 2 in a file operation. InnoDB: The error means the system cannot find the path specified. xtrabackup: Warning: cannot open ./xtrabackup\_logfile. will try to find. InnoDB: Operating system error number 2 in a file operation. InnoDB: The error means the system cannot find the path specified. xtrabackup: Fatal error: cannot find ./xtrabackup\_logfile. xtrabackup: Error: xtrabackup\_init\_temp\_log() failed.

If try to create dump without option ‘–apply-log’ , everything is correct:

* * *

root@db01m:~# innobackupex --user=root --password=‘\*\*\*\*\*’ /root/backup/$TIMESTAMP  
160418 15:03:15 innobackupex: Starting the backup operation

…

## xtrabackup: Transaction log of lsn (2491315) to (2491324) was copied. 160418 15:03:19 completed OK!

---

<div class="post-metadata">

**Author:** ![iovcho.iovchev](https://avatars.discourse-cdn.com/v4/letter/i/c6cbf5/32.png) [@iovcho.iovchev](https://forums.percona.com/u/iovcho.iovchev)\
**Post date:** [April 19, 2016, 7:31am UTC](https://forums.percona.com/t/unable-to-create-db-replication-master-slave/4844/2 "2016-04-19T07:31:24Z")

</div>

Hi,

Someone have the same issue or have any information how can I fix it and complete the replication?  
Thanks,

---

<div class="post-metadata">

**Author:** ![Logger](https://avatars.discourse-cdn.com/v4/letter/l/34f0e0/32.png) [@Logger](https://forums.percona.com/u/Logger)\
**Post date:** [May 24, 2016, 2:56am UTC](https://forums.percona.com/t/unable-to-create-db-replication-master-slave/4844/3 "2016-05-24T02:56:15Z")

</div>

Can you tell us exact steps what you did with result?

---

<div class="post-metadata">

**Author:** ![iovcho.iovchev](https://avatars.discourse-cdn.com/v4/letter/i/c6cbf5/32.png) [@iovcho.iovchev](https://forums.percona.com/u/iovcho.iovchev)\
**Post date:** [April 26, 2018, 8:41am UTC](https://forums.percona.com/t/unable-to-create-db-replication-master-slave/4844/4 "2018-04-26T08:41:36Z")

</div>

I startover with setup and everything is correct. Sorry for my late reply.
