Comment 3 for bug 1444007

Revision history for this message
Nilnandan Joshi (nilnandan-joshi) wrote :

Hi Alex, I tested without the quotes and got the same result like above.

[root@localhost ~]# cat /etc/sysconfig/garb
# Copyright (C) 2012 Codership Oy
# This config file is to be sourced by garb service script.

# A space-separated list of node addresses (address[:port]) in the cluster
GALERA_NODES=192.168.1.213

# Galera cluster name, should be the same as on the rest of the nodes.
GALERA_GROUP=my_centos7_cluster

# Optional Galera internal options string (e.g. SSL settings)
# see http://www.codership.com/wiki/doku.php?id=galera_parameters
GALERA_OPTIONS=""

# Log file for garbd. Optional, by default logs to syslog
# Deprecated for CentOS7, use journalctl to query the log for garbd
LOG_FILE=/root/garbd.log

[root@localhost ~]#

[root@localhost ~]# garb-systemd start
Starting garbd
terminate called after throwing an instance of 'gu::NotSet'
/usr/bin/garb-systemd: line 13: 4048 Aborted (core dumped) /usr/bin/garbd $*
[root@localhost ~]#

Can you try to check the same thing with CentOS 7?

Btw: problem here is not error, but systemd init scrip doesn't read the config file with config=/etc/sysconfig/garb option. So, you have to add "source /etc/sysconfig/garb" in the init script.