MySQL nie uruchomi się po ponownym uruchomieniu. Wyjście z sygnałem 11


0

ostatniej nocy przeprowadzałem konserwację serwera, która wymagała ponownego uruchomienia DB. Nie wprowadzono żadnych zmian w konfiguracji.

Obecna konfiguracja wygląda następująco:

master (server1) - master (server2) i slave (server0)

Wersja MySQL: mysql-5.5.32

server0 i server1 uruchomiły się dobrze po restarcie, ale kiedy próbuję uruchomić server0, zawiesza się z błędem sygnału 11 :

Oto dane wyjściowe dziennika:

140604 03:10:08 mysqld_safe Starting mysqld daemon with databases from /opt/mysql/mysql_data
140604  3:10:08 [Note] Plugin 'FEDERATED' is disabled.
140604  3:10:08 InnoDB: The InnoDB memory heap is disabled
140604  3:10:08 InnoDB: Mutexes and rw_locks use GCC atomic builtins
140604  3:10:08 InnoDB: Compressed tables use zlib 1.2.3
140604  3:10:08 InnoDB: Using Linux native AIO
140604  3:10:08 InnoDB: Initializing buffer pool, size = 32.0G
140604  3:10:10 InnoDB: Completed initialization of buffer pool
02:10:10 UTC - mysqld got signal 11 ;
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=67108864
read_buffer_size=8388608
max_used_connections=0
max_threads=2000
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 = 49240442 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 0x40000
/usr/local/mysql/bin/mysqld(my_print_stacktrace+0x35)[0x7a2825]
/usr/local/mysql/bin/mysqld(handle_fatal_signal+0x403)[0x670b43]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xf030)[0x7f1c2db0e030]
/usr/local/mysql/bin/mysqld[0x93ec38]
/usr/local/mysql/bin/mysqld[0x8328d2]
/usr/local/mysql/bin/mysqld[0x861511]
/usr/local/mysql/bin/mysqld[0x7f302f]
/usr/local/mysql/bin/mysqld[0x7c40dd]
/usr/local/mysql/bin/mysqld(_Z24ha_initialize_handlertonP13st_plugin_int+0x48)[0x673948]
/usr/local/mysql/bin/mysqld[0x58307a]
/usr/local/mysql/bin/mysqld(_Z11plugin_initPiPPci+0xb5d)[0x586c9d]
/usr/local/mysql/bin/mysqld[0x507bab]
/usr/local/mysql/bin/mysqld(_Z11mysqld_mainiPPc+0x3e2)[0x508772]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd)[0x7f1c2ccccead]
/usr/local/mysql/bin/mysqld[0x4fe17a]
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.
140604 03:10:10 mysqld_safe mysqld from pid file /opt/mysql/mysql_data/odb2.pid ended

Następnie uruchomiłem mysql innodb_force_recovery = 1i serwer zaczął działać poprawnie.

Patrząc na dokumentację:

* 1 (SRV_FORCE_IGNORE_CORRUPT) Pozwól serwerowi działać, nawet jeśli wykryje uszkodzoną stronę. Spróbuj sprawić, aby SELECT * FROM tbl_name przeskakiwał uszkodzone rekordy indeksu i strony, co pomaga w zrzucaniu tabel. *

Więc moim następnym krokiem było uruchomienie mysqlcheck na wszystkich bazach danych, ale nie znaleziono błędów.

Jakieś pomysły, jak ożywić ten serwer? Mam kopię zapasową wszystkich baz danych (~ 300 GB), ale przywrócenie jej zajęłoby dużo czasu i jeśli to możliwe, chciałbym tego uniknąć


To może nie mieć większego znaczenia, ale server0 and server1 started fine after a reboot but when i try to start server0 ...nie ma sensu
user619714

przepraszam, że nie wyjaśniłem o tym: uruchomiłem serwer 1, próbowałem uruchomić serwer 2 (obaj są masterami). Próbowałem startign server0 (slave), który ładował się dobrze.
p1hr

Odpowiedzi:


Korzystając z naszej strony potwierdzasz, że przeczytałeś(-aś) i rozumiesz nasze zasady używania plików cookie i zasady ochrony prywatności.
Licensed under cc by-sa 3.0 with attribution required.