Hey All, I'm semi new to linux and this group and I'm hoping you might be able to help me out a little.
I have a vanilla installation of RHEL 7 and I'm trying to setup a two node MariaDB Galera Cluster but I getting the following error message when I try to start the service:
[root@db2 ~]# /usr/libexec/mysqld --wsrep-new-cluster --user=root &
[1] 10043
[root@db2 ~]# 150303 16:41:55 InnoDB: The InnoDB memory heap is disabled
150303 16:41:55 InnoDB: Mutexes and rw_locks use GCC atomic builtins
150303 16:41:55 InnoDB: Compressed tables use zlib 1.2.7
150303 16:41:55 InnoDB: Using Linux native AIO
150303 16:41:55 InnoDB: Initializing buffer pool, size = 128.0M
150303 16:41:55 InnoDB: Completed initialization of buffer pool
150303 16:41:55 InnoDB: highest supported file format is Barracuda.
150303 16:41:55 InnoDB: Waiting for the background threads to start
150303 16:41:56 Percona XtraDB (
http://www.percona.com) 5.5.40-MariaDB-36.1 started; log sequence number 1597945
150303 16:41:56 [Note] Plugin 'FEEDBACK' is disabled.
150303 16:41:56 [ERROR] /usr/libexec/mysqld: unknown variable 'wsrep_provider=/usr/lib64/galera/libgalera_smm.so'
150303 16:41:56 [ERROR] Aborting
150303 16:41:56 InnoDB: Starting shutdown...
150303 16:41:57 InnoDB: Shutdown completed; log sequence number 1597945
150303 16:41:57 [Note] /usr/libexec/mysqld: Shutdown complete
The below are the commands and file edits I've done:
wget
http://dl.fedoraproject.org/pub/epel...7-5.noarch.rpm
rpm --import
http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7
rpm -ivh epel-release-7-5.noarch.rpm
yum install mariadb mariadb-server galera -y
nano /etc/my.cnf
bind-address=2xx.4x.2xx.116
port=3306
log-bin=1
log-basename=blakk
general-log
slow-query-log=1
slow-query-log-file=/var/log/mariadb-slow-queries.log
nano /etc/my.cnf.d/server.cnf
[mariadb]
binlog_format=ROW
default-storage-engine=innodb
innodb_autoinc_lock_mode=2
innodb_doublewrite=1
innodb_locks_unsafe_for_binlog=1
query_cache_size=0
query_cache_type=0
wsrep_provider=/usr/lib64/galera/libgalera_smm.so
wsrep_cluster_name=“db_cluster"
wsrep_cluster_address=gcomm://2xx.4x.2xx.116,2xx.4x.2xx.117
wsrep_node_name=‘db1'
wsrep_node_address='2xx.4x.2xx.116'
wsrep_sst_method=rsync
Can anymore help or maybe point me into into the right direction