Not able to start galera cluster

You are viewing an old version of this question. View the current version here.

Hi,

I am working on a project where I need to install mariadb galera on Linux7 Centos flavor.

When i run the command after all the configuration i am getting following error.


[root@localhost ]# sudo galera_new_cluster Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details.

[root@localhost ]# systemctl status mariadb.service ● mariadb.service - MariaDB 10.4.6 database server Loaded: loaded (/usr/lib/systemd/system/mariadb.service; disabled; vendor preset: disabled) Drop-In: /etc/systemd/system/mariadb.service.d └─migrated-from-my.cnf-settings.conf Active: failed (Result: exit-code) since Tue 2019-08-06 09:10:54 EDT; 8s ago Docs: man:mysqld(8) https://mariadb.com/kb/en/library/systemd/ Process: 1115 ExecStart=/usr/sbin/mysqld $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION (code=exited, status=1/FAILURE) Process: 1081 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=`/usr/bin/galera_recovery`; [ $? -eq 0 ] && systemctl set-environment _WSREP_START_POSITION=$VAR || exit 1 (code=exited, status=0/SUCCESS) Process: 1079 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS) Main PID: 1115 (code=exited, status=1/FAILURE)

Aug 06 09:10:53 localhost.localdomain systemd[1]: Starting MariaDB 10.4.6 database server... Aug 06 09:10:54 localhost.localdomain mysqld[1115]: 2019-08-06 9:10:54 0 [ERROR] /usr/sbin/mysqld: Error while setting value 'on' to 'wsrep_debug' Aug 06 09:10:54 localhost.localdomain systemd[1]: mariadb.service: main process exited, code=exited, status=1/FAILURE Aug 06 09:10:54 localhost.localdomain systemd[1]: Failed to start MariaDB 10.4.6 database server. Aug 06 09:10:54 localhost.localdomain systemd[1]: Unit mariadb.service entered failed state. Aug 06 09:10:54 localhost.localdomain systemd[1]: mariadb.service failed. [root@localhost ]#

Can any one help on the issue..

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.