В один прекрасный момент перестал запускаться mysql. В логах постоянно идёт
May 7 12:54:19 web kernel: [ 1269.241113] init: mysql post-start process (14969) terminated with status 1
May 7 12:54:21 web kernel: [ 1271.702334] init: mysql main process (15036) terminated with status 1
May 7 12:54:21 web kernel: [ 1271.702353] init: mysql main process ended, respawning
Ubuntu 14 mysql-server-5.5.
Переустановка пакета ничего не изменила. Dpkg-reconfigure не срабатывает.
Логи в /var/log/mysql/error.log
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
InnoDB: Doing recovery: scanned up to log sequence number 39937467241
InnoDB: 1 transaction(s) which must be rolled back or cleaned up
InnoDB: in total 1 row operations to undo
InnoDB: Trx id counter is 11EE800
200507 13:38:36 InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percents: 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
InnoDB: Starting in background the rollback of uncommitted transactions
200507 13:38:37 InnoDB: Rolling back trx with id 11EE62A, 1 rows to undo
200507 13:38:37 InnoDB: Waiting for the background threads to start
200507 13:38:37 InnoDB: Assertion failure in thread 140283091519232 in file fut0lst.ic line 83
InnoDB: Failing assertion: addr.page == FIL_NULL || addr.boffset >= FIL_PAGE_DATA
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/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
10:38:37 UTC - 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.
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.
key_buffer_size=16777216
read_buffer_size=131072
max_used_connections=0
max_threads=151
thread_count=0
connection_count=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 346701 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x0
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...
stack_bottom = 0 thread_stack 0x30000
/usr/sbin/mysqld(my_print_stacktrace+0x20)[0x55c8dd3c0740]
/usr/sbin/mysqld(handle_fatal_signal+0x3d5)[0x55c8dd2a8ea5]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10330)[0x7f9a6e9b2330]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37)[0x7f9a6e005c37]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x148)[0x7f9a6e009028]
/usr/sbin/mysqld(+0x2764cf)[0x55c8dd1404cf]
/usr/sbin/mysqld(+0x5d4e98)[0x55c8dd49ee98]
/usr/sbin/mysqld(+0x55f809)[0x55c8dd429809]
/usr/sbin/mysqld(+0x573b7a)[0x55c8dd43db7a]
/usr/sbin/mysqld(+0x56c324)[0x55c8dd436324]
/usr/sbin/mysqld(+0x56d4d0)[0x55c8dd4374d0]
/usr/sbin/mysqld(+0x567fbf)[0x55c8dd431fbf]
/usr/sbin/mysqld(+0x615e2a)[0x55c8dd4dfe2a]
/usr/sbin/mysqld(+0x6164b4)[0x55c8dd4e04b4]
/usr/sbin/mysqld(+0x566863)[0x55c8dd430863]
/usr/sbin/mysqld(+0x566de3)[0x55c8dd430de3]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x8184)[0x7f9a6e9aa184]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f9a6e0cd03d]
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.
200507 13:38:38 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and wil l be removed in a future release. Please use the full name instead.
200507 13:38:38 [Note] Plugin 'FEDERATED' is disabled.
200507 13:38:38 InnoDB: The InnoDB memory heap is disabled
200507 13:38:38 InnoDB: Mutexes and rw_locks use GCC atomic builtins
200507 13:38:38 InnoDB: Compressed tables use zlib 1.2.8
200507 13:38:38 InnoDB: Using Linux native AIO
200507 13:38:38 InnoDB: Initializing buffer pool, size = 16.0G
200507 13:38:39 InnoDB: Completed initialization of buffer pool
200507 13:38:39 InnoDB: highest supported file format is Barracuda.
InnoDB: Log scan progressed past the checkpoint lsn 39937450229
200507 13:38:39 InnoDB: Database was not shut down normally!
С innodb_force_recovery = 3 mysql запустилась. Но сделать что либо через веб не получается. Идёт "Ошибка Got error -1 from storage engine". Причём к разным базам.
В данном режиме не даёт ничего сделать в базой данных. Что лучше предпринять? Полное удаление поломанных баз и возврат в нормальный режим?
По выводу mysqlcheck --all-databases все базы значатся как ОК.
И всё таки проблема сохраняется. Mysql таблица нормально не работает. Не даёт её дропнуть полностью. Не грузит из бэкапа.