Hi,
can someone please help- getting a very weird problem. My Galera doesn't seem to initialize even after trying all hints found on the net. So - my server is RHEL 7.2, MariaDB 10.1.x . On my first node my /etc/my.cnf.d/server.cnf looks like that (please note that I tried moving the settings under mysqld, mariadb10.1 etc, but the result is always one and same):
<code>
[galera]
wsrep_on=ON
wsrep_provider=/usr/lib64/galera/libgalera_smm.so
wsrep_cluster_address="gcomm://"
wsrep_cluster_name='galera_cluster'
wsrep_node_address='172.20.1.41'
wsrep_node_name='Mariadb-n1'
wsrep_sst_method=rsync
wsrep_sst_auth=root:[Password]
</code>
[mariadb]
binlog_format=ROW
default-storage-engine=innodb
innodb_autoinc_lock_mode=2
innodb_locks_unsafe_for_binlog=1
query_cache_size=0
query_cache_type=0
bind-address=0.0.0.0
innodb_log_file_size=100M
innodb_flush_log_at_trx_commit=2
After starting the service I receive:
<code>
[root@mariadb-n1 my.cnf.d]# service mysql start --wsrep-new-cluster
Starting mysql (via systemctl): [ OK ]
[root@mariadb-n1 my.cnf.d]# mysql -u root -p --execute="SHOW GLOBAL STATUS WHERE Variable_name IN ('wsrep_ready', 'wsrep_cluster_size', 'wsrep_cluster_status', 'wsrep_connected');"
Enter password:
+----------------------+--------------+
| Variable_name | Value |
+----------------------+--------------+
| wsrep_cluster_size | 0 |
| wsrep_cluster_status | Disconnected |
| wsrep_connected | OFF |
| wsrep_ready | OFF |
+----------------------+--------------+
</code>