# child process has died at innobackupex line 2642

**URL:** <https://forums.percona.com/t/child-process-has-died-at-innobackupex-line-2642/3240>\
**Category:** Percona XtraBackup\
**Created:** [January 31, 2014, 12:11am UTC](https://forums.percona.com/t/child-process-has-died-at-innobackupex-line-2642/3240 "2014-01-31T00:11:12Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![htrivedi](https://avatars.discourse-cdn.com/v4/letter/h/76d3ee/32.png) [@htrivedi](https://forums.percona.com/u/htrivedi)\
**Post date:** [January 31, 2014, 12:11am UTC](https://forums.percona.com/t/child-process-has-died-at-innobackupex-line-2642/3240/1 "2014-01-31T00:11:12Z")

</div>

I have recently installed the Parcona Xtrabackup and while running the backup using below command it is giving an error

./innobackupex --user=dbabackup --defaults-file=/usr/local/mysql/mysql5530/my.cnf --datadir=/mysqldb/data/K4TST /mysqldb/backups/K4TST

innobackupex: Error: The xtrabackup child process has died at ./innobackupex line 2642.

Thanks  
Himanshu

---

<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:** [January 31, 2014, 2:06pm UTC](https://forums.percona.com/t/child-process-has-died-at-innobackupex-line-2642/3240/2 "2014-01-31T14:06:27Z")

</div>

What version of MySQL server & xtrabackup you are using ? can you please paste innobackupex log to identify the problem.

---

<div class="post-metadata">

**Author:** ![htrivedi](https://avatars.discourse-cdn.com/v4/letter/h/76d3ee/32.png) [@htrivedi](https://forums.percona.com/u/htrivedi)\
**Post date:** [February 3, 2014, 6:42am UTC](https://forums.percona.com/t/child-process-has-died-at-innobackupex-line-2642/3240/3 "2014-02-03T06:42:37Z")

</div>

MySQL version 5.5.30 and [COLOR=#252C2F]xtrabackup version is InnoDB Backup Utility v1.5.1-xtrabackup.

Log file is attached.

What I found is /var/lib/mysql directory is what it is taking as the data directory but in our case it is different.

[percona\_upload 2.txt](https://forums.percona.com/uploads/short-url/nR0PPwYPdScIUt3jO4ZAQCzvAu7.txt) (15.7 KB)

[percona\_upload.txt](https://forums.percona.com/uploads/short-url/dmpNoocnpdtWiqeMObJjeEaspNB.txt) (15.6 KB)

---

<div class="post-metadata">

**Author:** ![htrivedi](https://avatars.discourse-cdn.com/v4/letter/h/76d3ee/32.png) [@htrivedi](https://forums.percona.com/u/htrivedi)\
**Post date:** [February 3, 2014, 9:17pm UTC](https://forums.percona.com/t/child-process-has-died-at-innobackupex-line-2642/3240/4 "2014-02-03T21:17:33Z")

</div>

Any help on this is greatly appreciated.

Thanks  
Himanshu

---

<div class="post-metadata">

**Author:** ![htrivedi](https://avatars.discourse-cdn.com/v4/letter/h/76d3ee/32.png) [@htrivedi](https://forums.percona.com/u/htrivedi)\
**Post date:** [February 6, 2014, 7:49am UTC](https://forums.percona.com/t/child-process-has-died-at-innobackupex-line-2642/3240/5 "2014-02-06T07:49:16Z")

</div>

I was able to resolve this issue by providing defaults-group name

./innobackupex --defaults-file=/usr/local/mysql/mysql5530/my.cnf --defaults-group=mysqld1 --user=dbabackup /mysqlb/backups/K4TST

---

<div class="post-metadata">

**Author:** ![htrivedi](https://avatars.discourse-cdn.com/v4/letter/h/76d3ee/32.png) [@htrivedi](https://forums.percona.com/u/htrivedi)\
**Post date:** [February 28, 2014, 11:26am UTC](https://forums.percona.com/t/child-process-has-died-at-innobackupex-line-2642/3240/6 "2014-02-28T11:26:30Z")

</div>

I am getting below error when I freshly installed the mysql on new server.

SELF@slcnpny050:/usr/local/mysql/PXB/bin\>./innobackupex --defaults-file=/usr/local/mysql/mysql55/my.cnf --defaults-group=mysqld1 --user=dbabackup /mysqldb/backups/SELF

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.

Get the latest version of Percona XtraBackup, documentation, and help resources:  
[url][Percona XtraBackup - MySQL Database Backup Software](http://www.percona.com/xb/p%5B/url%5D)

140228 11:50:21 innobackupex: Connecting to MySQL server with DSN ‘dbi:mysql:;mysql\_read\_default\_file=/usr/local/mysql/mysql55/my.cnf;mysql\_read\_default\_group=xtrabackup’ as ‘dbabackup’ (using password: NO).  
innobackupex: Error: Failed to connect to MySQL server as DBD::mysql module is not installed at ./innobackupex line 2976.

Any clue as to what could be the issue?

Thanks  
Himanshu

---

<div class="post-metadata">

**Author:** ![niljoshi](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/niljoshi/32/16889_2.png) [@niljoshi](https://forums.percona.com/u/niljoshi)\
**Post date:** [March 4, 2014, 3:44am UTC](https://forums.percona.com/t/child-process-has-died-at-innobackupex-line-2642/3240/7 "2014-03-04T03:44:59Z")

</div>

Hi Himanshu,

Have you install/upgrade xtrabackup with tarball? because if you have installed through yum/apt then it should install necessary libs to satisfy dependencies.  
Can you try to install DBD::mysql with either “yum install perl-DBD-MySQL” OR with CPAN and check?

---

<div class="post-metadata">

**Author:** ![freemanpolys](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/freemanpolys/32/1003_2.png) [@freemanpolys](https://forums.percona.com/u/freemanpolys)\
**Post date:** [April 2, 2014, 1:48pm UTC](https://forums.percona.com/t/child-process-has-died-at-innobackupex-line-2642/3240/8 "2014-04-02T13:48:47Z")

</div>

Hi,  
I have the same issue :  
innobackupex: Error: Support for MySQL 5.1 with builtin InnoDB (not the plugin) was removed in Percona XtraBackup 2.1. The last version to support MySQL 5.1 with builtin InnoDB was Percona XtraBackup 2.0.  
I have : percona-xtrabackup x86\_64 2.1.8-733.rhel6 version install from the repository and mysql server 5.1.73.

Help.
