Galera is unable to start on CentOS
Jun 12 18:40:10 localhost systemd: Starting MariaDB database server...
Jun 12 18:40:10 localhost systemd: Failed at step NAMESPACE spawning /bin/sh: Invalid argument
Jun 12 18:40:10 localhost systemd: mariadb.service: control process exited, code=exited status=226
Jun 12 18:40:10 localhost systemd: Failed to start MariaDB database server.
Jun 12 18:40:10 localhost systemd: Unit mariadb.service entered failed state.
[root@infra1 log]# yum list installed|grep "mysql\|galera\|maria" -i
MariaDB-client.x86_64 10.1.24-1.el7.centos @MariaDB
MariaDB-common.x86_64 10.1.24-1.el7.centos @MariaDB
MariaDB-devel.x86_64 10.1.24-1.el7.centos @MariaDB
MariaDB-server.x86_64 10.1.24-1.el7.centos @MariaDB
MariaDB-shared.x86_64 10.1.24-1.el7.centos @MariaDB
galera.x86_64 25.3.16-1.el7 @openstack-ocata
perl-DBD-MySQL.x86_64 4.023-5.el7 @base
I've installed a system using a manual method and it works: https:/ /mariadb. com/kb/ en/mariadb/ yum/
Comparing the systemd unit files between them, the results are the same. I've also confirmed that the user is setup with the same shell, so it's not that.
Our configs are definitely different, but I haven't isolated a cause just yet.