Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CloudLinux, MariaDB issue #1493

Open
odysseas12 opened this issue Sep 28, 2024 · 3 comments
Open

CloudLinux, MariaDB issue #1493

odysseas12 opened this issue Sep 28, 2024 · 3 comments

Comments

@odysseas12
Copy link

OS
CloudLinux v8.10.0 STANDARD kvm

cPanel Version
[122.0.17]

Database
MariaDB 10.11.9

When editing my.cnf from engitron panel, it removes ib_logfile0.

If innoDB is set as the default engine this causes mariadb to fail.

2024-09-28 3:31:29 0 [Note] Starting MariaDB 10.11.9-MariaDB-cll-lve source revision 0e8fb977b00983d98c4c35e39bc1f36463095938 server_uid Xo1QLnX7qBlZ++M8j3saOcqsavk= as process 2088623 2024-09-28 3:31:29 0 [Note] InnoDB: !!! innodb_force_recovery is set to 1 !!! 2024-09-28 3:31:29 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2024-09-28 3:31:29 0 [Note] InnoDB: Number of transaction pools: 1 2024-09-28 3:31:29 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 2024-09-28 3:31:29 0 [Note] InnoDB: Using Linux native AIO 2024-09-28 3:31:29 0 [Note] InnoDB: Initializing buffer pool, total size = 20.000GiB, chunk size = 320.000MiB 2024-09-28 3:31:30 0 [Note] InnoDB: Completed initialization of buffer pool 2024-09-28 3:31:30 0 [ERROR] InnoDB: File ./ib_logfile0 was not found 2024-09-28 3:31:30 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error 2024-09-28 3:31:30 0 [Note] InnoDB: Starting shutdown... 2024-09-28 3:31:30 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.

@odysseas12
Copy link
Author

Apparently since MariaDB 10.8.1, MariaDB will no longer recreate ib_logfile0.
https://jira.mariadb.org/browse/MDEV-27199

fevangelou added a commit that referenced this issue Sep 29, 2024
@fevangelou
Copy link
Member

Thanks for reporting this. It's not super important to delete this file, it was just for convenience in MySQL versions before 8.0 if I recall correctly.

Resolved with v2.5 now released: 6e92fde

@odysseas12
Copy link
Author

Great! Thanks for the quick fix.

CristianDeluxe pushed a commit to BusiRocket/engintron that referenced this issue Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants