Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.2.25
-
None
-
Ubuntu 18.04. Mariadb 10.2.25 Galera cluster
Description
After upgrading the cluster from 10.1 to 10.2 we get this error when trying to restart the server:
Jun 18 08:48:34 dbmysql1 mysql[32263]: * Starting MariaDB database server mysqld
|
Jun 18 08:48:34 dbmysql1 /etc/init.d/mysql[32294]: 190618 08:48:34 mysqld_safe The file /etc/mysql//mysqld
|
Jun 18 08:48:34 dbmysql1 /etc/init.d/mysql[32294]: does not exist or is not executable. Please cd to the mysql installation
|
Jun 18 08:48:34 dbmysql1 /etc/init.d/mysql[32294]: directory and restart this script from there as follows:
|
Jun 18 08:48:34 dbmysql1 /etc/init.d/mysql[32294]: ./bin/mysqld_safe&
|
Jun 18 08:48:34 dbmysql1 /etc/init.d/mysql[32294]: See https://mariadb.com/kb/en/mysqld_safe for more information
|
Jun 18 08:48:34 dbmysql1 mysqld_safe: The file /etc/mysql//mysqld#012does not exist or is not executable. Please cd to the mysql installation#012directory and restart this script from there as follows:#012./bin/mysqld_safeSee https://mariadb.com/kb/en/mysqld_safe for more information
|
Looking at /usr/bin/mysqld_safe looks like variable $ledir is not being properly initialized and this test is failing:
if test ! -x "$ledir/$MYSQLD"
Setting
ledir='/usr/sbin'
before that line makes it work.