MariaDB fails to start when using galera cluster on 20.04 LTS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mariadb-10.3 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Ubuntu Release
Description: Ubuntu 20.04 LTS
Release: 20.04
Package Version
mariadb-
Installed: 1:10.3.22-1ubuntu1
Candidate: 1:10.3.22-1ubuntu1
Version table:
*** 1:10.3.22-1ubuntu1 500
500 http://
100 /var/lib/
When using galera with MariaDB, MariaDB fails to start with the following error:
mariadb.service - MariaDB 10.3.22 database server
Loaded: loaded (/lib/systemd/
Active: failed (Result: exit-code) since Tue 2020-06-23 13:19:06 UTC; 9s ago
Docs: man:mysqld(8)
https:/
Process: 1143 ExecStartPre=
Process: 1155 ExecStartPre=
Process: 1157 ExecStartPre=
Jun 23 13:19:06 hostname systemd[1]: Starting MariaDB 10.3.22 database server...
Jun 23 13:19:06 hostname sh[1158]: /usr/bin/
Jun 23 13:19:06 hostname systemd[1]: mariadb.service: Control process exited, code=exited, status=1/FAILURE
Jun 23 13:19:06 hostname systemd[1]: mariadb.service: Failed with result 'exit-code'.
Jun 23 13:19:06 hostname systemd[1]: Failed to start MariaDB 10.3.22 database server.
This appears to be happening because 20.04 LTS has "fs.protected_
Applying the fix to /usr/bin/
J
Hi Justin!
Thanks a lot for your detailed report.
This should be fixed in 10.3.23 that is already available on official MariaDB repository: /jira.mariadb. org/browse/ MDEV-21140
https:/
So another workaround is to install MariaDB from MariaDB Foundation repo: /downloads. mariadb. org/mariadb/ repositories/ #distro= Ubuntu& distro_ release= focal-- ubuntu_ focal&mirror= host-europe& version= 10.3
https:/
Regards,
Faustin