[MDEV-4719] MariaDB can't start while bootup but it can start by "service mysql start" Created: 2013-06-27 Updated: 2019-12-14 Resolved: 2019-12-14 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera |
| Affects Version/s: | 5.5.29-galera |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Eddy Lai | Assignee: | Jan Lindström (Inactive) |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | galera | ||
| Environment: |
CentOS 6.4 running i ESXi 5.0 |
||
| Description |
|
A machine it can start MariaDB without problem by running "service mysql start". However it can't start while it is boot up. The MariaDB setting as :
The error log :
If running by "service mysql start", the logging is :
|
| Comments |
| Comment by Eddy Lai [ 2013-06-27 ] |
|
The CentOS didn't enable selinux function. |
| Comment by Eddy Lai [ 2013-06-27 ] |
|
MariaDB 5.5.31 installed by RPM. |
| Comment by Elena Stepanova [ 2013-06-27 ] |
|
Hi, it cannot be MariaDB 5.5.31, you are using MariaDB-Galera cluster, for which 5.5.31 version has not been released yet. Thanks. |
| Comment by Eddy Lai [ 2013-06-28 ] |
|
using mysql --version, the result is : |
| Comment by Elena Stepanova [ 2013-06-28 ] |
|
It's a client version, which is irrelevant. Please check the server version. |
| Comment by Eddy Lai [ 2013-06-28 ] |
|
sorry, the version is |
| Comment by Nirbhay Choubey (Inactive) [ 2014-07-16 ] |
|
It looks like a typical case of SELinux case. I see that you did disable SELinux. How did you do that? via 'setenforce' or /etc/selinux/config? If its modified using setenforce, it will get back to "Enforcing" on boot and thus will prevent mysqld to start. I tried to boot into "Permissive" CentOS-6.5 with mariadb-galera-5.5.38 installed with no problem. |
| Comment by Jan Lindström (Inactive) [ 2019-12-14 ] |
|
Support for 5.5-galera has ended. |