I’m developing locally and using Mamp Pro.
Basically MySQL is having trouble starting and here’s the error message from the error log:
Any idea how to resolve this?
2017-03-02 00:39:08 9518 [Note] Plugin 'FEDERATED' is disabled.
2017-03-02 00:39:08 9518 [Note] InnoDB: Using atomics to ref count buffer pool pages
2017-03-02 00:39:08 9518 [Note] InnoDB: The InnoDB memory heap is disabled
2017-03-02 00:39:08 9518 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2017-03-02 00:39:08 9518 [Note] InnoDB: Memory barrier is not used
2017-03-02 00:39:08 9518 [Note] InnoDB: Compressed tables use zlib 1.2.8
2017-03-02 00:39:08 9518 [Note] InnoDB: Using CPU crc32 instructions
2017-03-02 00:39:08 9518 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2017-03-02 00:39:08 9518 [Note] InnoDB: Completed initialization of buffer pool
2017-03-02 00:39:08 9518 [Note] InnoDB: Highest supported file format is Barracuda.
2017-03-02 00:39:08 9518 [Note] InnoDB: Log scan progressed past the checkpoint lsn 663573438
2017-03-02 00:39:08 9518 [Note] InnoDB: Database was not shutdown normally!
2017-03-02 00:39:08 9518 [Note] InnoDB: Starting crash recovery.
2017-03-02 00:39:08 9518 [Note] InnoDB: Reading tablespace information from the .ibd files...
2017-03-02 00:39:08 9518 [ERROR] InnoDB: Attempted to open a previously opened tablespace. Previous tablespace affiliate_blog_1_old/wpab1_7_woocommerce_order_itemmeta uses space ID: 367 at filepath: ./affiliate_blog_1_old/wpab1_7_woocommerce_order_itemmeta.ibd. Cannot open tablespace freshwp/freshwp_wfblocksadv which uses space ID: 367 at filepath: ./freshwp/freshwp_wfblocksadv.ibd
2017-03-02 00:39:08 7fff7b652000 InnoDB: Operating system error number 2 in a file operation.
InnoDB: The error means the system cannot find the path specified.
InnoDB: If you are installing InnoDB, remember that you must create
InnoDB: directories yourself, InnoDB does not create them.
InnoDB: Error: could not open single-table tablespace file ./freshwp/freshwp_wfblocksadv.ibd
InnoDB: We do not continue the crash recovery, because the table may become
InnoDB: corrupt if we cannot apply the log records in the InnoDB log to it.
InnoDB: To fix the problem and start mysqld:
InnoDB: 1) If there is a permission problem in the file and mysqld cannot
InnoDB: open the file, you should modify the permissions.
InnoDB: 2) If the table is not needed, or you can restore it from a backup,
InnoDB: then you can remove the .ibd file, and InnoDB will do a normal
InnoDB: crash recovery and ignore that table.
InnoDB: 3) If the file system or the disk is broken, and you cannot remove
InnoDB: the .ibd file, you can set innodb_force_recovery > 0 in my.cnf
InnoDB: and force InnoDB to continue crash recovery here.
170302 00:39:08 mysqld_safe mysqld from pid file /Applications/MAMP/tmp/mysql/mysql.pid ended
From the above code the error seems to be:
2017-03-02 00:39:08 9518 [ERROR] InnoDB: Attempted to open a previously opened tablespace.
Previous tablespace affiliate_blog_1_old/wpab1_7_woocommerce_order_itemmeta
uses space ID: 367
at filepath: ./affiliate_blog_1_old/wpab1_7_woocommerce_order_itemmeta.ibd.
Cannot open tablespace freshwp/freshwp_wfblocksadv which uses space ID: 367
at filepath: ./freshwp/freshwp_wfblocksadv.ibd
Исправляем ошибку «mamp pro InnoDB: Operating system error number 2 in a file operation.«, которая появляется при запуске MySQL в программе MAMP PRO.
Ошибки подобного рода могут возникнуть, когда база данных MySQL была завершена не надлежащим способом. Например, когда работал MAMP PRO и неожиданно перезагрузился компьютер.
У меня ошибка выглядела следующим образом:
170817 16:06:20 mysqld_safe Logging to ‘/Applications/MAMP/logs/mysql_error.log’.
170817 16:06:20 mysqld_safe Starting mysqld daemon with databases from /Library/Application Support/appsolute/MAMP PRO/db/mysql56
2017-08-17 16:06:21 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use —explicit_defaults_for_timestamp server option (see documentation for more details).
2017-08-17 16:06:21 0 [Note] —secure-file-priv is set to NULL. Operations related to importing and exporting data are disabled
2017-08-17 16:06:21 0 [Note] /Applications/MAMP/Library/bin/mysqld (mysqld 5.6.35) starting as process 43367 …
2017-08-17 16:06:21 43367 [Warning] Setting lower_case_table_names=2 because file system for /Library/Application Support/appsolute/MAMP PRO/db/mysql56/ is case insensitive
2017-08-17 16:06:21 43367 [Note] Plugin ‘FEDERATED’ is disabled.
2017-08-17 16:06:21 43367 [Note] InnoDB: Using atomics to ref count buffer pool pages
2017-08-17 16:06:21 43367 [Note] InnoDB: The InnoDB memory heap is disabled
2017-08-17 16:06:21 43367 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2017-08-17 16:06:21 43367 [Note] InnoDB: Memory barrier is not used
2017-08-17 16:06:21 43367 [Note] InnoDB: Compressed tables use zlib 1.2.8
2017-08-17 16:06:21 43367 [Note] InnoDB: Using CPU crc32 instructions
2017-08-17 16:06:21 43367 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2017-08-17 16:06:21 43367 [Note] InnoDB: Completed initialization of buffer pool
2017-08-17 16:06:21 43367 [Note] InnoDB: Highest supported file format is Barracuda.
2017-08-17 16:06:21 43367 [Note] InnoDB: The log sequence numbers 32097731 and 32097731 in ibdata files do not match the log sequence number 32219971 in the ib_logfiles!
2017-08-17 16:06:21 43367 [Note] InnoDB: Database was not shutdown normally!
2017-08-17 16:06:21 43367 [Note] InnoDB: Starting crash recovery.
2017-08-17 16:06:21 43367 [Note] InnoDB: Reading tablespace information from the .ibd files…
2017-08-17 16:06:21 43367 [ERROR] InnoDB: Attempted to open a previously opened tablespace. Previous tablespace mysql/slave_worker_info uses space ID: 5 at filepath: ./mysql/slave_worker_info.ibd. Cannot open tablespace wordpress/wp_term_taxonomy which uses space ID: 5 at filepath: ./wordpress/wp_term_taxonomy.ibd
2017-08-17 16:06:21 7fffa15bd3c0 InnoDB: Operating system error number 2 in a file operation.
InnoDB: The error means the system cannot find the path specified.
InnoDB: If you are installing InnoDB, remember that you must create
InnoDB: directories yourself, InnoDB does not create them.
InnoDB: Error: could not open single-table tablespace file ./wordpress/wp_term_taxonomy.ibd
InnoDB: We do not continue the crash recovery, because the table may become
InnoDB: corrupt if we cannot apply the log records in the InnoDB log to it.
InnoDB: To fix the problem and start mysqld:
InnoDB: 1) If there is a permission problem in the file and mysqld cannot
InnoDB: open the file, you should modify the permissions.
InnoDB: 2) If the table is not needed, or you can restore it from a backup,
InnoDB: then you can remove the .ibd file, and InnoDB will do a normal
InnoDB: crash recovery and ignore that table.
InnoDB: 3) If the file system or the disk is broken, and you cannot remove
InnoDB: the .ibd file, you can set innodb_force_recovery > 0 in my.cnf
InnoDB: and force InnoDB to continue crash recovery here.
170817 16:06:21 mysqld_safe mysqld from pid file /Applications/MAMP/tmp/mysql/mysql.pid ended
Для исправления заходим в меню программы:
File -> Edit Template -> MySql (my.cnf)
Меню будет недоступно, если вы выбрали через настройки скрывать программу MAMP PRO в Dock (Mac OS).
В открывшемся файле находим строчку:
#innodb_force_recovery = 2
Раскомментируем её и поменяем значение на следующее:
innodb_force_recovery = 1
Таким образом при запуске базы данных MySQL будет принудительно восстанавливаться InnoDB (системы управления базы данными).
Теперь запускаем MySQL через программу MAMP PRO. Всё должно запуститься успешно.
Снова заходим в файл настроек MySQL и приводим значения, которые были по умолчанию. Можно не возвращать значения обратно, если ошибка возникает часто.
Hi,
It happened DB crash with this messages.
2017-07-24 17:40:20 2b358f091940 InnoDB: Operating system error number 2 in a file operation.
|
InnoDB: The error means the system cannot find the path specified.
|
170724 17:40:20 [ERROR] InnoDB: File /tmp/#sql654b_24aa3_0.ibd: 'open' returned OS error 71. Cannot continue operation
|
pure virtual method called
|
pure virtual method called
|
pure virtual method called
|
terminate called without an active exception
|
terminate called without an active exception
|
terminate called recursively
|
170724 17:40:20 [ERROR] mysqld got signal 6 ;
|
This could be because you hit a bug. It is also possible that this binary
|
or one of the libraries it was linked against is corrupt, improperly built,
|
or misconfigured. This error can also be caused by malfunctioning hardware.
|
|
To report this bug, see https://mariadb.com/kb/en/reporting-bugs
|
|
We will try our best to scrape up some info that will hopefully help
|
diagnose the problem, but since we have already crashed,
|
something is definitely wrong and this may fail.
|
|
Server version: 10.0.29-MariaDB
|
key_buffer_size=402653184
|
read_buffer_size=2097152
|
max_used_connections=211
|
max_threads=8194
|
thread_count=91
|
It is possible that mysqld could use up to
|
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 84462163 K bytes of memory
|
Hope that's ok; if not, decrease some variables in the equation.
|
|
Thread pointer: 0x2b353bd7e008
|
Attempting backtrace. You can use the following information to find out
|
where mysqld died. If you see no messages after this, something went
|
terribly wrong...
|
170724 17:40:23 mysqld_safe Number of processes running now: 0
|
170724 17:40:23 mysqld_safe mysqld restarted
|
170724 17:40:24 [Note] /MARIA/mariadb/bin/mysqld (mysqld 10.0.29-MariaDB) starting as process 30193 ...
|
2017-07-24 17:40:24 2b3670579600 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc a
|
nd with the InnoDB's internal memory allocator.
|
It happened two times for 3 month.
I don’t know why this happened.
Please help me.
Here is the error log.
2013-11-18 21:25:25 a171e1a8 InnoDB: Operating system error number 2 in a file operation.
InnoDB: The error means the system cannot find the path specified.
InnoDB: If you are installing InnoDB, remember that you must create
InnoDB: directories yourself, InnoDB does not create them.
InnoDB: Error: could not open single-table tablespace file ./testdb/dr_actions.ibd
InnoDB: We do not continue the crash recovery, because the table may become
InnoDB: corrupt if we cannot apply the log records in the InnoDB log to it.
InnoDB: To fix the problem and start mysqld:
InnoDB: 1) If there is a permission problem in the file and mysqld cannot
InnoDB: open the file, you should modify the permissions.
InnoDB: 2) If the table is not needed, or you can restore it from a backup,
InnoDB: then you can remove the .ibd file, and InnoDB will do a normal
InnoDB: crash recovery and ignore that table.
InnoDB: 3) If the file system or the disk is broken, and you cannot remove
InnoDB: the .ibd file, you can set innodb_force_recovery > 0 in my.cnf
InnoDB: and force InnoDB to continue crash recovery here.
Step 1. Open mysql configuration file, mine is /opt/lampp/etc/my.cnf
Step 2. In [mysqld] section, add the following line:
innodb_force_recovery = 1
Step 3. Save the file and try starting MySQL
Step 4. Remove that line which you just added and Save.
After needing to reset the root password of a MySQL instance I went to restart my service and retrieved the following error from mysqld.log
[System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.13) starting as process 3253
[ERROR] [MY-012592] [InnoDB] Operating system error number 2 in a file operation.
[ERROR] [MY-012593] [InnoDB] The error means the system cannot find the path specified.
[ERROR] [MY-012594] [InnoDB] If you are installing InnoDB, remember that you must create directories yourself, InnoDB does not create them.
[ERROR] [MY-012646] [InnoDB] File ./ibdata1: 'open' returned OS error 71. Cannot continue operation
[ERROR] [MY-012981] [InnoDB] Cannot continue operation.
From what I’ve read online, something with my.cnf
or directory permissions of my /var/lib/mysql
(750) may be off.
I’m a bit out of my element, but I did not find journalctl -xe
or systemctl status
to be very helpful.
My my.cnf
file contains the following:
#bind-address=127.0.0.1
port=3306
#--skip_networking=0
#user=mysql
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
tmpdir = /var/lib/mysql/tmp
Can anyone help troubleshoot so I can get this up and running again?
OK this is driving me mad. Ubuntu 20.04.5 LTS (on WSL)
I am assuming that it crashed, then upgraded mysql, and now it won’t start:
2022-08-31T16:37:29.463168Z 1 [ERROR] [MY-012526] [InnoDB] Upgrade is not supported after a crash or shutdown with innodb_fast_shutdown = 2. This redo log was created with MySQL 8.0.28, and it appears logically non empty. Please follow the instructions at http://dev.mysql.com/doc/refman/8.0/en/upgrading.html
2022-08-31T16:37:29.463211Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.
2022-08-31T16:37:29.842520Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine
2022-08-31T16:37:29.842925Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2022-08-31T16:37:29.842966Z 0 [ERROR] [MY-010119] [Server] Aborting
I tried removing the redo logs ib_logfile0 and ib_logfile1 and then I get:
2022-09-03T16:56:05.188621Z 1 [ERROR] [MY-013862] [InnoDB] Neither found #innodb_redo subdirectory, nor ib_logfile* files in ./
2022-09-03T16:56:05.188663Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.
2022-09-03T16:56:05.672331Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine
2022-09-03T16:56:05.672561Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2022-09-03T16:56:05.672585Z 0 [ERROR] [MY-010119] [Server] Aborting
Also tried removing ibdata1 and I get
2022-09-03T17:20:34.205872Z 1 [ERROR] [MY-012592] [InnoDB] Operating system error number 2 in a file operation.
2022-09-03T17:20:34.205907Z 1 [ERROR] [MY-012593] [InnoDB] The error means the system cannot find the path specified.
2022-09-03T17:20:34.205914Z 1 [ERROR] [MY-012594] [InnoDB] If you are installing InnoDB, remember that you must create directories yourself, InnoDB does not create them.
2022-09-03T17:20:34.205929Z 1 [ERROR] [MY-012646] [InnoDB] File ./ibdata1: 'open' returned OS error 71. Cannot continue operation
2022-09-03T17:20:34.205977Z 1 [ERROR] [MY-012981] [InnoDB] Cannot continue operation.
I guess I could downgrade to 8.0.28 but surely there is a way to recover?
I tried various innodb_force_recovery settings and none of them helped.
How do I fix this please?
Thanks
#1 07.10.2015 06:34:33
- STA2015
- Участник
- Зарегистрирован: 07.10.2015
- Сообщений: 4
Не работает база на localhost
Добрый день!
Помогите пожалуйста разобраться с такой проблемой.
После восстановления системы win10 с помощью точки восстановления перестала работать база на локалхосте.
База в сборке Acquia Dev Desktop 2. В логе вот что:
151007 6:03:22 [Note] Plugin ‘FEDERATED’ is disabled.
151007 6:03:22 InnoDB: The InnoDB memory heap is disabled
151007 6:03:22 InnoDB: Mutexes and rw_locks use Windows interlocked functions
151007 6:03:22 InnoDB: Compressed tables use zlib 1.2.3
151007 6:03:22 InnoDB: Initializing buffer pool, size = 512.0M
151007 6:03:22 InnoDB: Completed initialization of buffer pool
151007 6:03:22 InnoDB: highest supported file format is Barracuda.
151007 6:03:24 InnoDB: Operating system error number 2 in a file operation.
InnoDB: Some operating system error numbers are described at
InnoDB: http://dev.mysql.com/doc/refman/5.5/en/ … codes.html
151007 6:03:24 InnoDB: Error: trying to open a table, but could not
InnoDB: open the tablespace file ‘.vlgbasebackup_migrate_destinations.ibd’!
InnoDB: Have you moved InnoDB .ibd files around without using the
InnoDB: commands DISCARD TABLESPACE and IMPORT TABLESPACE?
InnoDB: It is also possible that this is a temporary table #sql…,
InnoDB: and MySQL removed the .ibd file for this.
InnoDB: Please refer to
InnoDB: http://dev.mysql.com/doc/refman/5.5/en/ … adict.html
InnoDB: for how to resolve the issue.
151007 6:03:24 InnoDB: Operating system error number 2 in a file operation.
InnoDB: Some operating system error numbers are described at
InnoDB: http://dev.mysql.com/doc/refman/5.5/en/ … codes.html
151007 6:03:24 InnoDB: Error: trying to open a table, but could not
InnoDB: open the tablespace file ‘.vlgbasebackup_migrate_profiles.ibd’!
InnoDB: Have you moved InnoDB .ibd files around without using the
InnoDB: commands DISCARD TABLESPACE and IMPORT TABLESPACE?
InnoDB: It is also possible that this is a temporary table #sql…,
InnoDB: and MySQL removed the .ibd file for this.
InnoDB: Please refer to
InnoDB: http://dev.mysql.com/doc/refman/5.5/en/ … adict.html
InnoDB: for how to resolve the issue.
151007 6:03:24 InnoDB: Operating system error number 2 in a file operation.
InnoDB: Some operating system error numbers are described at
InnoDB: http://dev.mysql.com/doc/refman/5.5/en/ … codes.html
151007 6:03:24 InnoDB: Error: trying to open a table, but could not
InnoDB: open the tablespace file ‘.vlgbasebackup_migrate_schedules.ibd’!
InnoDB: Have you moved InnoDB .ibd files around without using the
InnoDB: commands DISCARD TABLESPACE and IMPORT TABLESPACE?
InnoDB: It is also possible that this is a temporary table #sql…,
InnoDB: and MySQL removed the .ibd file for this.
InnoDB: Please refer to
InnoDB: http://dev.mysql.com/doc/refman/5.5/en/ … adict.html
InnoDB: for how to resolve the issue.
151007 6:03:24 InnoDB: Operating system error number 2 in a file operation.
InnoDB: Some operating system error numbers are described at
InnoDB: http://dev.mysql.com/doc/refman/5.5/en/ … codes.html
151007 6:03:24 InnoDB: Error: trying to open a table, but could not
InnoDB: open the tablespace file ‘.vlgbasebackup_migrate_sources.ibd’!
InnoDB: Have you moved InnoDB .ibd files around without using the
InnoDB: commands DISCARD TABLESPACE and IMPORT TABLESPACE?
InnoDB: It is also possible that this is a temporary table #sql…,
InnoDB: and MySQL removed the .ibd file for this.
InnoDB: Please refer to
InnoDB: http://dev.mysql.com/doc/refman/5.5/en/ … adict.html
InnoDB: for how to resolve the issue.
151007 6:03:24 InnoDB: Waiting for the background threads to start
151007 6:03:25 InnoDB: 5.5.39 started; log sequence number 1401770170
151007 6:03:25 [Note] Server hostname (bind-address): ‘0.0.0.0’; port: 33067
151007 6:03:25 [Note] — ‘0.0.0.0’ resolves to ‘0.0.0.0’;
151007 6:03:25 [Note] Server socket created on IP: ‘0.0.0.0’.
151007 6:03:25 [Note] Event Scheduler: Loaded 0 events
151007 6:03:25 [Note] C:Program Files (x86)DevDesktopmysqlbinmysqld.exe: ready for connections.
Version: ‘5.5.39-log’ socket: » port: 33067 MySQL Community Server (GPL)
InnoDB: Error: tablespace id is 2399 in the data dictionary
InnoDB: but in file .vlgbasecache.ibd it is 2107!
151007 6:03:26 InnoDB: Assertion failure in thread 6184 in file fil0fil.c line 768
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
InnoDB: If you get repeated assertion failures or crashes, even
InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption in the InnoDB tablespace. Please refer to
InnoDB: http://dev.mysql.com/doc/refman/5.5/en/ … overy.html
InnoDB: about forcing recovery.
Неактивен
#2 07.10.2015 23:38:24
- STA2015
- Участник
- Зарегистрирован: 07.10.2015
- Сообщений: 4
Re: Не работает база на localhost
Немного почитал форум, погуглил, смог запустить базу с innodb_force_recovery=4, сделал импорт базы, теперь у меня есть sql-файл. Что дальше делать, не понял. Подскажите пожалуйста кто знает.
Неактивен
#3 08.10.2015 14:50:23
- paulus
- Администратор
- Зарегистрирован: 22.01.2007
- Сообщений: 6740
Re: Не работает база на localhost
Дальше удаляете все файлы ibdata, iblogfile, каталоги с базами данных (кроме каталога с системной базой mysql), запускаете сервер, и загружаете данные назад из sql-файла (mysql < filename.sql).
Перед удалениями не забудьте всё сохранить в сторонку на всякий случай
Неактивен
#4 09.10.2015 13:34:33
- STA2015
- Участник
- Зарегистрирован: 07.10.2015
- Сообщений: 4
Re: Не работает база на localhost
Спасибо, вроде ве как надо идет, только нарисовалась проблема с импортом.
При импорте из файла в phpmyadmin выдает ошибку, сначала 5 минут думает, потом пишет:
Код:
Данная строка примечательна лишь тем, что содержит в себе самый длинный longblob (столбец ‘data’) из более, чем 2 000 000 символов. Синтаксической ошибки как таковой не нашел. Повторное отправление файла 5 раз не принесло ничего нового.
Неактивен
#5 09.10.2015 14:28:26
- STA2015
- Участник
- Зарегистрирован: 07.10.2015
- Сообщений: 4
Re: Не работает база на localhost
Как оказалось, еще как минимум одна таблица похерена, я попробовал удалить строку из предыдущего поста, все загрузилось, сайт заработал, но на странице логина жалуется на отсутствие таблицы в базе, посмотрел — и правда нет, в старой базе есть файлы .frm и .ibd для этой таблицы.
Как восстановить таблицу?
Неактивен
#6 10.10.2015 04:03:41
- paulus
- Администратор
- Зарегистрирован: 22.01.2007
- Сообщений: 6740
Re: Не работает база на localhost
Таблицу — кажется, никак, если у Вас нету другой резервной копии. Или есть какие-то файлики от нее? Может быть, сайт на CMS? Тогда можно сделать в сторонке пустую таблицу с нужной структурой (поставить CMS), а потом таблицу скопировать?
Неактивен
I’ve created a MySQL backup with PerconaXtrabackup tool via (thanks to this guide):
innobackupex --user=backupmysqluser --password=xyz --compress --stream=xbstream ./ > /var/backups/db/firstBackup.db
It succeeds creating the hot backup. Now I want to test the restoration of it, so then, first, I decompress it:
cd /var/backups/db
mkdir decompressed
xbstream -x -C decompressed
Now I try to prepare it:
innobackupex --apply-log /var/backups/db/decompressed/
And the result is this error:
160719 20:06:28 innobackupex: Starting the apply-log operation
IMPORTANT: Please check that the apply-log run completes successfully.
At the end of a successful apply-log run innobackupex
prints "completed OK!".
innobackupex version 2.4.3 based on MySQL server 5.7.11 Linux (x86_64) (revision id: 6a46905)
xtrabackup: cd to /var/backups/db/decompressed
xtrabackup: This target seems to be not prepared yet.
InnoDB: Number of pools: 1
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.
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.
It’s strange because in the decompressed
folder there’s no xtrabackup_logfile, but there is a file named xtrabackup_logfile.qp
instead.
What did I do wrong?