Hello again,

I went back to 10.4.20 and I ran this mysqlcheck --quick --all-databases while on 10.4.20 and it just said OK a bunch and then closed itself

Server version: 10.4.20-MariaDB MariaDB Server
MariaDB [(none)]> set global innodb_fast_shutdown=0;
Query OK, 0 rows affected (0.000 sec)

MariaDB [(none)]> quit
Bye

systemctl stop mariadb
mv /var/lib/mysql/ib_logfile* /root
upgraded to 10.4.34
systemctl start MariaDB

Feb 17 12:16:05 localhost systemd[1]: Starting MariaDB 10.4.34 database server... Feb 17 12:16:05 localhost mysqld[1011966]: 2026-02-17 12:16:05 0 [Note] Starting MariaDB 10.4.34-MariaDB source revision 16394f1aa1b4097f897b8ab01ea2064726cca059 as process 1011966 Feb 17 12:16:05 localhost mysqld[1011966]: 2026-02-17 12:16:05 0 [Note] InnoDB: Using Linux native AIO Feb 17 12:16:05 localhost mysqld[1011966]: 2026-02-17 12:16:05 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins Feb 17 12:16:05 localhost mysqld[1011966]: 2026-02-17 12:16:05 0 [Note] InnoDB: Uses event mutexes Feb 17 12:16:05 localhost mysqld[1011966]: 2026-02-17 12:16:05 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 Feb 17 12:16:05 localhost mysqld[1011966]: 2026-02-17 12:16:05 0 [Note] InnoDB: Number of pools: 1 Feb 17 12:16:05 localhost mysqld[1011966]: 2026-02-17 12:16:05 0 [Note] InnoDB: Using SSE2 crc32 instructions Feb 17 12:16:05 localhost mysqld[1011966]: 2026-02-17 12:16:05 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M Feb 17 12:16:05 localhost mysqld[1011966]: 2026-02-17 12:16:05 0 [Note] InnoDB: Completed initialization of buffer pool Feb 17 12:16:05 localhost mysqld[1011966]: 2026-02-17 12:16:05 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). Feb 17 12:16:05 localhost mysqld[1011966]: 2026-02-17 12:16:05 0 [Note] InnoDB: Setting log file ./ib_logfile101 size to 50331648 bytes Feb 17 12:16:05 localhost mysqld[1011966]: 2026-02-17 12:16:05 0 [Note] InnoDB: Setting log file ./ib_logfile1 size to 50331648 bytes Feb 17 12:16:05 localhost mysqld[1011966]: 2026-02-17 12:16:05 0 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0 Feb 17 12:16:05 localhost mysqld[1011966]: 2026-02-17 12:16:05 0 [Note] InnoDB: New log files created, LSN=587827742 Feb 17 12:16:05 localhost mysqld[1011966]: 2026-02-17 12:16:05 0 [ERROR] InnoDB: corrupted TRX_NO 62f900540078f867 Feb 17 12:16:05 localhost mysqld[1011966]: 2026-02-17 12:16:05 0 [Note] InnoDB: Retry with innodb_force_recovery=5 Feb 17 12:16:05 localhost mysqld[1011966]: 2026-02-17 12:16:05 0 [ERROR] InnoDB: Plugin initialization aborted with error Data structure corruption Feb 17 12:16:05 localhost mysqld[1011966]: 2026-02-17 12:16:05 0 [Note] InnoDB: Starting shutdown... Feb 17 12:16:05 localhost mysqld[1011966]: 2026-02-17 12:16:05 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. Feb 17 12:16:05 localhost mysqld[1011966]: 2026-02-17 12:16:05 0 [Note] Plugin 'FEEDBACK' is disabled. Feb 17 12:16:05 localhost mysqld[1011966]: 2026-02-17 12:16:05 0 [ERROR] Unknown/unsupported storage engine: InnoDB Feb 17 12:16:05 localhost mysqld[1011966]: 2026-02-17 12:16:05 0 [ERROR] Aborting Feb 17 12:16:06 localhost systemd[1]: mariadb.service: Main process exited, code=exited, status=1/FAILURE Feb 17 12:16:06 localhost systemd[1]: mariadb.service: Failed with result 'exit-code'. Feb 17 12:16:06 localhost systemd[1]: Failed to start MariaDB 10.4.34 database server.

I don't really get what the deal is with the TRX errors as we don't use transactions at all in this system.

I'm also not sure why it's cool with version 10.4.20 and not 21+....

Googling a bit says that there were some changes from .20 to .21 that broke/corrupted some stuff in UNIX but I can't seem to find any details or ways to fix that.

thanks so much for your help thus far.

On 2026-02-17 11:57, Gordan Bobic via discuss wrote:

Did you shut down 10.4.20 with innodb_fast_shutdown=0? At this point
you should probably just add it into your config.

Try:
innodb_fast_shutdown=0
Shut down 10.4.20.
Move ib_logfile* somewhere else
upgrade to 10.4.34
start mariadb

If it starts, do
mysqlcheck --quick --all-databases
to make sure there is no other lurking corruption in there.

On Tue, 17 Feb 2026 at 18:51, Andrew Weaver <[email protected]> wrote:

I made a little progress in isolating this issue:

Through a process of editing the maria10 repo and just changing the final digit I tested upgrading one release at a time (lol) by doing this:

yum --enablerepo=el8 update MariaDB-server

10.4.12 works
10.4.13 works
10.4.14 works
10.4.15 works
10.4.16 works
10.4.17 works
10.4.18 works
10.4.19 works
10.4.20 works
Feb 17 11:49:06 localhost mysqld[999270]: 2026-02-17 11:49:06 0 [Note] /usr/sbin/mysqld (mysqld 10.4.21-MariaDB) starting as process 999270 ... Feb 17 11:49:06 localhost mysqld[999270]: 2026-02-17 11:49:06 0 [Note] InnoDB: Using Linux native AIO Feb 17 11:49:06 localhost mysqld[999270]: 2026-02-17 11:49:06 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins Feb 17 11:49:06 localhost mysqld[999270]: 2026-02-17 11:49:06 0 [Note] InnoDB: Uses event mutexes Feb 17 11:49:06 localhost mysqld[999270]: 2026-02-17 11:49:06 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 Feb 17 11:49:06 localhost mysqld[999270]: 2026-02-17 11:49:06 0 [Note] InnoDB: Number of pools: 1 Feb 17 11:49:06 localhost mysqld[999270]: 2026-02-17 11:49:06 0 [Note] InnoDB: Using SSE2 crc32 instructions Feb 17 11:49:06 localhost mysqld[999270]: 2026-02-17 11:49:06 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts) Feb 17 11:49:07 localhost mysqld[999270]: 2026-02-17 11:49:07 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M Feb 17 11:49:07 localhost mysqld[999270]: 2026-02-17 11:49:07 0 [Note] InnoDB: Completed initialization of buffer pool Feb 17 11:49:07 localhost mysqld[999270]: 2026-02-17 11:49:07 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). Feb 17 11:49:07 localhost mysqld[999270]: 2026-02-17 11:49:07 0 [ERROR] InnoDB: corrupted TRX_NO 62f900540078f867

It seems like whatever is going on begins happening at version 10.4.21 and further.

Anyone have any ideas?

On 2026-02-17 11:23, Gordan Bobic via discuss wrote:

On Tue, 17 Feb 2026 at 17:56, Andrew Weaver <[email protected]> wrote:

Alright so I was able to get a little further (thank you so much):

Server version: 10.4.11-MariaDB MariaDB Server
...
MariaDB [(none)]> set global innodb_fast_shutdown = 0;
Query OK, 0 rows affected (0.000 sec)
MariaDB [(none)]> quit
Bye
[yum.repos.d]# systemctl stop mariadb

I then uninstalled 10.4.11, put the repos back to the default and installed 10.5.29-3 from RHEL9 distribution.

When I started mariadb it says this:

2026-02-17 10:48:42 0 [ERROR] InnoDB: corrupted TRX_ID 62f900540078f866 2026-02-17 10:48:42 0 [Note] InnoDB: Retry with innodb_force_recovery=5 2026-02-17 10:48:42 0 [ERROR] InnoDB: Plugin initialization aborted with error Data structure corruption
2026-02-17 10:48:42 0 [Note] InnoDB: Starting shutdown...
2026-02-17 10:48:42 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2026-02-17 10:48:42 0 [Note] Plugin 'FEEDBACK' is disabled.
2026-02-17 10:48:42 0 [ERROR] Unknown/unsupported storage engine: InnoDB

Anything else needed to check in 10.4.11 land prior to upgrading?

So you got it working with 10.4, without force-recovery, did a full
clean shutdown, and 10.5 still choked on the redo log??
The only thing I can think of is that you started 10.4 with
force-recovery still on so it came up read-only and did nothing on
shutdown to purge the redo log.
Anything interesting in the log during 10.4 startup?
_______________________________________________
discuss mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to