Unknown/unsupported storage engine: InnoDB.

Posted by David Guillermo on Monday, October 31, 2022

Sí nos topamos con este error.

Sep 23 10:40:30 localhost mariadbd[471]: 2022-09-23 10:40:30 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
Sep 23 10:40:30 localhost mariadbd[471]: 2022-09-23 10:40:30 0 [Note] InnoDB: Starting shutdown...
Sep 23 10:40:31 localhost mariadbd[471]: 2022-09-23 10:40:31 0 [ERROR] Plugin 'InnoDB' init function returned error.
Sep 23 10:40:31 localhost mariadbd[471]: 2022-09-23 10:40:31 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
Sep 23 10:40:31 localhost mariadbd[471]: 2022-09-23 10:40:31 0 [Note] Plugin 'FEEDBACK' is disabled.
Sep 23 10:40:31 localhost mariadbd[471]: 2022-09-23 10:40:31 0 [ERROR] Unknown/unsupported storage engine: InnoDB
Sep 23 10:40:31 localhost mariadbd[471]: 2022-09-23 10:40:31 0 [ERROR] Aborting
Sep 23 10:40:33 localhost systemd[1]: mariadb.service: Main process exited, code=exited, status=1/FAILURE
Sep 23 10:40:33 localhost systemd[1]: mariadb.service: Failed with result 'exit-code'.
Sep 23 10:40:33 localhost systemd[1]: mariadb.service: Consumed 3.454s CPU time.

Lo vamos a solucionar de la forma más sencilla.

rm /var/lib/mysql/ib_logfile0

Reiniciamos el servicio y listo.