# innobackupex fails on InnoDB cannot find the path specified File name ./ib\_logfile0

**URL:** <https://forums.percona.com/t/innobackupex-fails-on-innodb-cannot-find-the-path-specified-file-name-ib-logfile0/3065>\
**Category:** Percona XtraBackup\
**Created:** [November 7, 2013, 10:15am UTC](https://forums.percona.com/t/innobackupex-fails-on-innodb-cannot-find-the-path-specified-file-name-ib-logfile0/3065 "2013-11-07T10:15:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![egodlevsky](https://avatars.discourse-cdn.com/v4/letter/e/e68b1a/32.png) [@egodlevsky](https://forums.percona.com/u/egodlevsky)\
**Post date:** [November 7, 2013, 10:15am UTC](https://forums.percona.com/t/innobackupex-fails-on-innodb-cannot-find-the-path-specified-file-name-ib-logfile0/3065/1 "2013-11-07T10:15:15Z")

</div>

I try to backup running (with no problem) MySQL instance, but percona hits error below which I can not overcome and do not understand the reason. Looks like InnoDB engine can not find it is own log…

Can some one help please? Any ideas?

Thanks  
Ed

[I]innobackupex --parallel=6 --user=root --port=8091 --host=127.0.0.1 $TEMP\_DEST --no-timestamp

InnoDB Backup Utility v1.5.1-xtrabackup; Copyright 2003, 2009 Innobase Oy  
and Percona LLC and/or its affiliates 2009-2013. All Rights Reserved.

This software is published under  
the GNU GENERAL PUBLIC LICENSE Version 2, June 1991.

131107 09:37:21 innobackupex: Connecting to MySQL server with DSN ‘dbi:mysql:;mysql\_read\_default\_group=xtrabackup;host=127.0.0.1;port=8091’ as ‘root’ (using password: NO).  
131107 09:37:21 innobackupex: Connected to MySQL server  
IMPORTANT: Please check that the backup run completes successfully.  
At the end of a successful backup run innobackupex  
prints “completed OK!”.

innobackupex: Using mysql server version 5.6.12-enterprise-commercial-advanced

innobackupex: Created backup directory /data/percona\_backups/dbtuna/Thu\_new

131107 09:37:21 innobackupex: Starting ibbackup with command: xtrabackup\_56 --defaults-group=“mysqld” --backup --suspend-at-end --target-dir=/data/percona\_backups/dbtuna/Thu\_new --tmpdir=/tmp --parallel=6  
innobackupex: Waiting for ibbackup (pid=15681) to suspend  
innobackupex: Suspend file ‘/data/percona\_backups/dbtuna/Thu\_new/xtrabackup\_suspended\_2’

xtrabackup\_56 version 2.1.5 for MySQL server 5.6.11 Linux (x86\_64) (revision id: 680)  
xtrabackup: uses posix\_fadvise().  
xtrabackup: cd to  
xtrabackup: using the following InnoDB configuration:  
xtrabackup: innodb\_data\_home\_dir = ./  
xtrabackup: innodb\_data\_file\_path = ibdata1:10M:autoextend  
xtrabackup: innodb\_log\_group\_home\_dir = ./  
xtrabackup: innodb\_log\_files\_in\_group = 2  
xtrabackup: innodb\_log\_file\_size = 50331648  
2013-11-07 09:37:21 7fd957e1c720 InnoDB: Operating system error number 2 in a file operation.  
InnoDB: The error means the system cannot find the path specified.  
2013-11-07 09:37:21 7fd957e1c720 InnoDB: File name ./ib\_logfile0  
2013-11-07 09:37:21 7fd957e1c720 InnoDB: File operation call: ‘open’ returned OS error 71.  
2013-11-07 09:37:21 7fd957e1c720 InnoDB: Cannot continue operation.  
innobackupex: Error: The xtrabackup child process has died at /appdynamics/percona\_xtrabackup/percona-xtrabackup-2.1.5-Linux-x86\_64/bin/innobackupex line 2579.[/I]

---

<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:** [November 8, 2013, 4:23am UTC](https://forums.percona.com/t/innobackupex-fails-on-innodb-cannot-find-the-path-specified-file-name-ib-logfile0/3065/2 "2013-11-08T04:23:29Z")

</div>

Do you mean xtrabackup works for stock MySQL but fails on Percona Server ? Please send us the contents of my.cnf file and xtrabackup version you are using.

$ xtrabackup --version

---

<div class="post-metadata">

**Author:** ![egodlevsky](https://avatars.discourse-cdn.com/v4/letter/e/e68b1a/32.png) [@egodlevsky](https://forums.percona.com/u/egodlevsky)\
**Post date:** [November 14, 2013, 3:15pm UTC](https://forums.percona.com/t/innobackupex-fails-on-innodb-cannot-find-the-path-specified-file-name-ib-logfile0/3065/3 "2013-11-14T15:15:10Z")

</div>

Interesting fact - my-dbtuna.cnf (the my.cnf for the instance) does not have “datadir” parameter. Can that be the problem? Thanks.

\> xtrabackup --version  
xtrabackup version 2.1.5 for Percona Server 5.1.70 unknown-linux-gnu (x86\_64) (revision id: 680)

\> cat /appdynamics/AppD4db/mysql/my-dbtuna.cnf

# The following options will be passed to all MySQL clients

[client]  
#password = your\_password  
port = 8091  
socket = /tmp/mysql.sock

# Here follows entries for some specific programs

# The MySQL server

[mysqld]  
bind-address = 127.0.0.1  
port = 8091  
socket = /tmp/mysql.sock  
key\_buffer = 16M  
max\_allowed\_packet = 64M  
sort\_buffer\_size = 4M  
read\_buffer\_size = 4M  
read\_rnd\_buffer\_size = 4M  
myisam\_sort\_buffer\_size = 4M  
thread\_cache\_size = 8  
query\_cache\_size= 16M  
max\_connections=200  
max\_allowed\_packet=128M  
myisam\_max\_sort\_file\_size = 4292870144

# Try number of CPU’s\*2 for thread\_concurrency

thread\_concurrency = 8

server-id = 1

innodb\_buffer\_pool\_size = 512M  
#innodb\_additional\_mem\_pool\_size = 20M

# Set ..\_log\_file\_size to 25 % of buffer pool size

innodb\_log\_file\_size = 64M  
innodb\_log\_buffer\_size = 8M  
#innodb\_flush\_log\_at\_trx\_commit = 1  
#innodb\_lock\_wait\_timeout = 50  
innodb\_file\_per\_table

[mysqldump]  
quick  
max\_allowed\_packet = 16M

[mysql]  
no-auto-rehash

# Remove the next comment character if you are not familiar with SQL

#safe-updates

[isamchk]  
key\_buffer = 128M  
sort\_buffer\_size = 128M  
read\_buffer = 2M  
write\_buffer = 2M

[myisamchk]  
key\_buffer = 128M  
sort\_buffer\_size = 128M  
read\_buffer = 2M  
write\_buffer = 2M

[mysqlhotcopy]  
interactive-timeout

---

<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:** [November 15, 2013, 3:44pm UTC](https://forums.percona.com/t/innobackupex-fails-on-innodb-cannot-find-the-path-specified-file-name-ib-logfile0/3065/4 "2013-11-15T15:44:43Z")

</div>

Declare datadir in my.cnf and restart mysql and try again.
