Mysql has crashed and wont restart, obviously this blocks ZM from running. I frankly dont care about the data, I can recreate all of it manually...PITA, but I can do it. But I cannot get mysql to start. I set
Code: Select all
[mysqld]
innodb_force_recovery = 3
Code: Select all
2024-07-10T22:36:20.131292Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.37-0ubuntu0.22.04.3) starting as process 294596
2024-07-10T22:36:20.146629Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-07-10T22:36:20.839540Z 0 [ERROR] [MY-012153] [InnoDB] Trying to access page number 3321888767 in space 4294967278, space name innodb_undo_002, which is outside the tablespace bounds. Byte offset 0, len 16384, i/o type read. If you get this error at mysqld startup, please check that your my.cnf matches the ibdata files that you have in the MySQL server.
2024-07-10T22:36:20.839612Z 0 [ERROR] [MY-012154] [InnoDB] Server exits.
2024-07-10T22:36:20.839628Z 0 [ERROR] [MY-013183] [InnoDB] Assertion failure: fil0fil.cc:7525 thread 137293995247168
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/8.0/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
2024-07-10T22:36:20Z UTC - mysqld got signal 6 ;
Most likely, you have hit a bug, but this error can also be caused by malfunctioning hardware.
BuildID[sha1]=9e65b9e0a7de4a17ad5002e0653e3f1a1aa060dd
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 0x100000
/usr/sbin/mysqld(my_print_stacktrace(unsigned char const*, unsigned long)+0x41) [0x5d4c7166fab1]
/usr/sbin/mysqld(print_fatal_signal(int)+0x3bc) [0x5d4c70c7cfac]
/usr/sbin/mysqld(my_server_abort()+0x7e) [0x5d4c70c7d0de]
/usr/sbin/mysqld(my_abort()+0xe) [0x5d4c71669e4e]
/usr/sbin/mysqld(ut_dbg_assertion_failed(char const*, char const*, unsigned long)+0x183) [0x5d4c71825593]
/usr/sbin/mysqld(+0x1dfe578) [0x5d4c71e7e578]
/usr/sbin/mysqld(Fil_shard::do_io(IORequest const&, bool, page_id_t const&, page_size_t const&, unsigned long, unsigned long, void*, void*)+0xcbb) [0x5d4c71931f7b]
/usr/sbin/mysqld(fil_io(IORequest const&, bool, page_id_t const&, page_size_t const&, unsigned long, unsigned long, void*, void*)+0x86) [0x5d4c71932026]
/usr/sbin/mysqld(buf_read_page_low(dberr_t*, bool, unsigned long, unsigned long, page_id_t const&, page_size_t const&, bool)+0x169) [0x5d4c71889fb9]
/usr/sbin/mysqld(buf_read_page(page_id_t const&, page_size_t const&)+0x4a) [0x5d4c7188affa]
/usr/sbin/mysqld(+0x180b102) [0x5d4c7188b102]
/usr/sbin/mysqld(Buf_fetch_normal::get(buf_block_t*&)+0x420) [0x5d4c71852a50]
/usr/sbin/mysqld(buf_page_get_gen(page_id_t const&, page_size_t const&, unsigned long, buf_block_t*, Page_fetch, ut::Location, mtr_t*, bool)+0x85a) [0x5d4c71853f8a]
/usr/sbin/mysqld(trx_undo_lists_init(trx_rseg_t*)+0x248) [0x5d4c7182a828]
/usr/sbin/mysqld(trx_rseg_init_thread(void*, unsigned long)+0xbf) [0x5d4c717ff06f]
/usr/sbin/mysqld(+0x1777ffd) [0x5d4c717f7ffd]
/lib/x86_64-linux-gnu/libstdc++.so.6(+0xdc253) [0x7cde6bcdc253]
/lib/x86_64-linux-gnu/libc.so.6(+0x94ac3) [0x7cde6b894ac3]
/lib/x86_64-linux-gnu/libc.so.6(+0x126850) [0x7cde6b926850]
Nothing else that I know of is using mysql on this server, so if I blow it away and start over, I dont care.
How do I fix this?