SOLVED [ERROR] Plugin 'InnoDB' init function returned error.

feerdispzoo

Verified User
Joined
Jan 17, 2022
Messages
111
Fresh VPS, first I set in options custombuild mariadb 10.4 and then ./build mysql

then ./build all d
After this I fallow to this guide to setup cloudlinux.

The problem is with last thing:
/usr/share/lve/dbgovernor/mysqlgovernor.py --install

After this system return error and not possible start mysql.



Code:
Aug 22 17:07:26 vim735ac.server.net mysqld[50348]: 2022-08-22 17:07:26 0 [Note] All governors lve functions found too

Aug 22 17:07:26 vim735ac.server.net mysqld[50348]: 2022-08-22 17:07:26 0 [Note] /usr/sbin/mysqld (mysqld 10.4.25-MariaDB-cll-lve) starting as process 50348 ...

Aug 22 17:07:26 vim735ac.server.net mysqld[50348]: 2022-08-22 17:07:26 0 [Note] InnoDB: Using Linux native AIO

Aug 22 17:07:26 vim735ac.server.net mysqld[50348]: 2022-08-22 17:07:26 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins

Aug 22 17:07:26 vim735ac.server.net mysqld[50348]: 2022-08-22 17:07:26 0 [Note] InnoDB: Uses event mutexes

Aug 22 17:07:26 vim735ac.server.net mysqld[50348]: 2022-08-22 17:07:26 0 [Note] InnoDB: Compressed tables use zlib 1.2.7

Aug 22 17:07:26 vim735ac.server.net mysqld[50348]: 2022-08-22 17:07:26 0 [Note] InnoDB: Number of pools: 1

Aug 22 17:07:26 vim735ac.server.net mysqld[50348]: 2022-08-22 17:07:26 0 [Note] InnoDB: Using SSE2 crc32 instructions

Aug 22 17:07:26 vim735ac.server.net mysqld[50348]: 2022-08-22 17:07:26 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M

Aug 22 17:07:26 vim735ac.server.net mysqld[50348]: 2022-08-22 17:07:26 0 [Note] InnoDB: Completed initialization of buffer pool

Aug 22 17:07:26 vim735ac.server.net mysqld[50348]: 2022-08-22 17:07:26 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See th

Aug 22 17:07:26 vim735ac.server.net mysqld[50348]: 2022-08-22 17:07:26 0 [ERROR] InnoDB: Unsupported redo log format. The redo log was created with MariaDB 10.6.9.

Aug 22 17:07:26 vim735ac.server.net mysqld[50348]: 2022-08-22 17:07:26 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error

Aug 22 17:07:26 vim735ac.server.net mysqld[50348]: 2022-08-22 17:07:26 0 [Note] InnoDB: Starting shutdown...

Aug 22 17:07:27 vim735ac.server.net mysqld[50348]: 2022-08-22 17:07:27 0 [ERROR] Plugin 'InnoDB' init function returned error.

Aug 22 17:07:27 vim735ac.server.net mysqld[50348]: 2022-08-22 17:07:27 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.

Aug 22 17:07:27 vim735ac.server.net mysqld[50348]: 2022-08-22 17:07:27 0 [Note] Plugin 'FEEDBACK' is disabled.

Aug 22 17:07:27 vim735ac.server.net mysqld[50348]: 2022-08-22 17:07:27 0 [ERROR] Unknown/unsupported storage engine: InnoDB

Aug 22 17:07:27 vim735ac.server.net mysqld[50348]: 2022-08-22 17:07:27 0 [ERROR] Aborting

Aug 22 17:07:27 vim735ac.server.net systemd[1]: mariadb.service: main process exited, code=exited, status=1/FAILURE

Aug 22 17:07:27 vim735ac.server.net systemd[1]: Failed to start MariaDB 10.4.25 database server.

-- Subject: Unit mariadb.service has failed
 
Last edited:

feerdispzoo

Verified User
Joined
Jan 17, 2022
Messages
111
If anyone find solution in future, This resolved my issue:
[[email protected] ~]# cd /var/lib/mysql
[[email protected] mysql]# ls
aria_log.00000001 aria_log_control ib_buffer_pool ibdata1 ib_logfile0 multi-master.info mysql mysql_upgrade_info performance_schema
[[email protected] mysql]# rm ib_logfile0
rm: remove regular file ‘ib_logfile0’? yes
 
Top