Announcement

Announcement Module
Collapse
No announcement yet.

Xtrabackup fails on CentOS6

Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Xtrabackup fails on CentOS6

    Hi,

    if i try to --copy-back the files on a db slave, i get this error message


    webshop1:~$ innobackupex --defaults-file=/etc/my.cnf --copy-back 2011-08-30_16-59-55

    InnoDB Backup Utility v1.5.1-xtrabackup; Copyright 2003, 2009 Innobase Oy
    and Percona Inc 2009-2011. All Rights Reserved.

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

    IMPORTANT: Please check that the copy-back run completes successfully.
    At the end of a successful copy-back run innobackupex
    prints "completed OK!".

    sh: autodetect: command not found
    innobackupex: fatal error: no 'mysqld' group in MySQL options
    innobackupex: fatal error: OR no 'datadir' option in group 'mysqld' in MySQL options
    webshop1:~$


    looks like innobackupex tries to find something "sh: autodetect: command not found"

    any ideas how to fix this?

    cheers,

    juergen

  • #2
    Have you checked that you my.cnf have a [mysqld] section with at least datadir value in it?
    Our documentation has a lot of answers about common questions on Percona software, have you checked there before posting that question here? http://www.percona.com/forums/core/i...lies/smile.png

    Join us at the annual Percona Live MySQL Users Conference - http://www.percona.com/live/mysql-conference-2014/

    Comment

    Working...
    X