zigo928 / xtrabackup-manager

Automatically exported from code.google.com/p/xtrabackup-manager
Other
0 stars 0 forks source link

Getting tar error #65

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.When manually running Cron I am getting following error
running following from crontab
 /usr/local/bin/xbm backup run <servername> <servername>_backup

XtraBackup Manager v0.81 - Copyright 2011-2012 Marin Software

2012-11-20 11:08:41 -0500 [INFO] : [ Initializing Scheduled Backup "<server 
name>_backup" (ID #1) for host: <server name>.webair.com ...  ]
2012-11-20 11:08:41 -0500 [INFO] : [ Using Backup Strategy: Full Backup Only ]
2012-11-20 11:08:41 -0500 [INFO] : [ Attempting to find available ports for 
use... ]
2012-11-20 11:08:41 -0500 [INFO] : [ Got lock on port 10000. ]
2012-11-20 11:08:41 -0500 [INFO] : [ Started Netcat (nc) listener on port 10000 
to receive backup tar stream into directory /backups/<server 
name>.webair.com/12 ... ]
2012-11-20 11:08:41 -0500 [INFO] : [ Running FULL xtrabackup snapshot of 
/var/lib/mysql via ssh: root@<servername> ... ]
2012-11-20 11:08:43 -0500 [INFO] : [ Cleaning up files... ]
2012-11-20 11:08:43 -0500 [INFO] : [ Released lock on port 10000. ]
2012-11-20 11:08:43 -0500 [ERROR] : [ An error occurred while trying to perform 
the backup. Proceeding to log some details to help debug... ]
2012-11-20 11:08:43 -0500 [ERROR] : [ Error Caught: 
genericBackupTaker->takeFullBackupSnapshot: Error: There was an error backing 
up - The process returned code 1. The output from the backup is as follows:

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

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

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

innobackupex: Using mysql  Ver 14.14 Distrib 5.1.61, for redhat-linux-gnu 
(x86_64) using readline 5.1
innobackupex: Using mysql server version Copyright (c) 2000, 2011, Oracle 
and/or its affiliates. All rights reserved.

innobackupex: Created backup directory /var/lib/mysql
tar: -: Cannot write: Broken pipe
tar: Error is not recoverable: exiting now
innobackupex: Error: Failed to stream 'backup-my.cnf': Inappropriate ioctl for 
device at /usr/bin/innobackupex line 374.
 ]
2012-11-20 11:08:43 -0500 [ERROR] : [ Trace: #0 
/usr/local/bin/includes/fullonlyBackupTaker.class.php(110): 
genericBackupTaker->takeFullBackupSnapshot(Object(backupJob), 
Object(backupSnapshotGroup))
#1 /usr/local/bin/includes/backupSnapshotTaker.class.php(221): 
fullonlyBackupTaker->takeScheduledBackupSnapshot(Object(backupJob))
#2 /usr/local/bin/includes/cliHandler.class.php(902): 
backupSnapshotTaker->takeScheduledBackupSnapshot(Object(scheduledBackup))
#3 /usr/local/bin/includes/cliHandler.class.php(103): 
cliHandler->handleBackupActions(Array)
#4 /usr/local/bin/xbm(36): cliHandler->handleArguments(Array)
#5 {main} ]

What is the expected output? What do you see instead?
Backup should Run

What version of the product are you using? On what operating system?
backup Server: centos 5.5 64 bit
host: Centos 6.2 64 bit

Please provide any additional information below.

Original issue reported on code.google.com by webairom...@gmail.com on 20 Nov 2012 at 9:17

GoogleCodeExporter commented 8 years ago
May be related: http://code.google.com/p/xtrabackup-manager/issues/detail?id=63

Original comment by arnaud.lb on 31 Aug 2013 at 2:30