Mani's Blog

March 30, 2012

xtrabackup: Fatal error: cannot find ./xtrabackup_logfile

Filed under: MySQL,Xtrabackup — mani @ 4:37 pm

We have a process to validate our backup every quarter.  I ran into following errors on one of the databases.  Did enough search to figure out the solution, initially thought it could be an xtrabackup bug.  Then turn out to be we were holding incomplete xtrabackup.  Backup failed quietly since there was another etl process running at the same time, due to heavy load and lock on the tables backup process died.

We are really lucky that we were able to catch it during the validation.   We have rescheduled the ETL job and added more checks to the backup monitoring.

Errors:

120228 19:25:55 innobackupex-1.5.1: Starting ibbackup with command: xtrabackup –prepare –target-dir=/local/mysql/data

xtrabackup Ver 1.0 Rev 113 for 5.0.84 unknown-linux-gnu (x86_64)
xtrabackup: cd to /local/mysql/data
xtrabackup: Error: cannot open ./xtrabackup_checkpoints
xtrabackup: error: xtrabackup_read_metadata()
xtrabackup: This target seems not to have correct metadata…
120228 19:25:55 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.
120228 19:25:55 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.
innobackupex-1.5.1: Error:
innobackupex-1.5.1: ibbackup failed at /usr/bin/innobackupex-1.5.1 line 464.

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: