Can't run --prepare after start with error

Bug #338060 reported by Percona
2
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Fix Released
Medium
Unassigned

Bug Description

I run --prepare once, but it failed
/xtrabackup --prepare
xtrabackup_logfile detected: size=3833856, start_lsn=(53 1699020188)
090304 20:44:59 InnoDB: Error: cannot allocate 12884918272 bytes of
InnoDB: memory with malloc! Total allocated memory
InnoDB: by InnoDB 37695136 bytes. Operating system errno: 12
InnoDB: Check if you should increase the swap file or
InnoDB: ulimits of your operating system.
InnoDB: On FreeBSD check you have compiled the OS with
InnoDB: a big enough maximum process size.
InnoDB: Note that in most 32-bit computers the process
InnoDB: memory space is limited to 2 GB or 4 GB.
InnoDB: We keep retrying the allocation for 60 seconds...

because there was running mysqld.

but after that file xtrabackup_logfile disappeared and instead I see ib_logfile0 file, and I can't start --prepare second time with error:

090304 20:45:50 InnoDB: Operating system error number 2 in a file operation.
InnoDB: The error means the system cannot find the path specified.
090304 20:45:50 InnoDB: Fatal error: cannot open ./xtrabackup_logfile
.Error: xtrabackup_init_temp_log() failed.Press any key to continue..

Revision history for this message
Yasufumi Kinoshita (yasufumi-kinoshita) wrote :

Thank you.
I have fixed it.
Please confirm.

Changed in percona-xtrabackup:
status: New → Fix Committed
Changed in percona-xtrabackup:
importance: Undecided → Medium
status: Fix Committed → Fix Released
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXB-522

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.