[MDEV-11823] MariaDB-Galera-server-5.5.54-1.el7.centos.x86_64 fails to start Created: 2017-01-17 Updated: 2017-01-31 Resolved: 2017-01-31 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera, Platform RedHat |
| Affects Version/s: | 5.5.54-galera |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | BM Shukla | Assignee: | Nirbhay Choubey (Inactive) |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
MariaDB-Galera-server RPM Upgrade issue in Cent OS 7.3 |
||
| Sprint: | 10.2.4-1, 10.2.4-2 |
| Description |
|
I have upgraded my MariaDB-Galera-server to MariaDB-Galera-server-5.5.54-1.el7.centos.x86_64 on 10/01/2017. OS is CentOS 7.3. My cluster was working fine before this upgrade but now it is failing. It is not logging any error in file /var/lib/mysql/dbc3.err . No error reporting in /var/log/messages even. Whenever I try to bootstrap my primary db system it creates a zero byte file in /var/lib/mysql/ as
yum downgrade command also denies to downgrade even. I am stuck now. |
| Comments |
| Comment by Nirbhay Choubey (Inactive) [ 2017-01-19 ] | ||||||||||||
|
bms I tried to do an upgrade from 5.5.53 to 5.5.54 and it worked ok.
| ||||||||||||
| Comment by BM Shukla [ 2017-01-20 ] | ||||||||||||
|
Nirbhaya, | ||||||||||||
| Comment by Nirbhay Choubey (Inactive) [ 2017-01-20 ] | ||||||||||||
|
bms Could you try and share the output:
| ||||||||||||
| Comment by BM Shukla [ 2017-01-20 ] | ||||||||||||
|
[root@dbc3 ~]# sudo sh -x /etc/init.d/mysql bootstrap | ||||||||||||
| Comment by Nirbhay Choubey (Inactive) [ 2017-01-21 ] | ||||||||||||
|
bms Do you have error log enabled? Can you share the last few lines from it that might relate to the bootstrap failure? Or lines from syslog (in case error log is not enabled). | ||||||||||||
| Comment by BM Shukla [ 2017-01-24 ] | ||||||||||||
|
I have run the command as advised. No file named /tmp/bootstrap.err created. Please see the output. [root@dbc3 ~]# sudo /etc/init.d/mysql bootstrap --log-error=/tmp/bootstrap.err | ||||||||||||
| Comment by Nirbhay Choubey (Inactive) [ 2017-01-25 ] | ||||||||||||
|
elenst Any idea why error log isn't getting created in this case? | ||||||||||||
| Comment by Elena Stepanova [ 2017-01-26 ] | ||||||||||||
|
SELinux would be my first guess, Enforcing in particular. If it's set to Enforcing, try to change to Permissive and repeat. | ||||||||||||
| Comment by Nirbhay Choubey (Inactive) [ 2017-01-26 ] | ||||||||||||
|
bms Could you check if SELinux is causing the problem? | ||||||||||||
| Comment by Daniel Black [ 2017-01-27 ] | ||||||||||||
|
There are some selinux notes here: https://mariadb.com/kb/en/mariadb/what-to-do-if-mariadb-doesnt-start/ unrelated - https://mariadb.com/kb/en/mariadb/what-is-mariadb-55/ - 5.5 support ends in 2 and a bit months. | ||||||||||||
| Comment by BM Shukla [ 2017-01-27 ] | ||||||||||||
|
Dear Nirbhay, Daniel Black, Yes, Problem was due to SELinux. See the execution output below. What next? I want SELinux in enforcing mode. | ||||||||||||
| Comment by Daniel Black [ 2017-01-27 ] | ||||||||||||
|
See the previously mentioned URL. https://github.com/MariaDB/server/tree/5.5-galera/policy/selinux and https://blogs.oracle.com/jsmyth/entry/selinux_and_mysql provide guides on getting selinux back into enforcing mode. https://mariadb.com/kb/en/mariadb/what-to-do-if-mariadb-doesnt-start/ can be edited by you if you see ways it can be improved. |