← Back to team overview

percona-discussion team mailing list archive

[Bug 338060] Re: Can't run --prepare after start with error

 

** Changed in: percona-xtrabackup
   Importance: Undecided => Medium
       Status: Fix Committed => Fix Released

-- 
Can't run --prepare after start with error
https://bugs.launchpad.net/bugs/338060
You received this bug notification because you are a member of Percona
developers, which is the registrant for Percona-XtraBackup.

Status in Open source backup tool for InnoDB and XtraDB: Fix Released

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..



References