mariadb 安装在 ubuntu mate 集群上

mariadb installing on ubuntu mate cluster

我正在尝试在具有 3 个节点的集群 (ubuntu mate 16.04) 上安装 mariadb。 我做了 this link 说的所有事情,但是在 运行 之后:

sudo service mysql start —wsrep-new-cluster

我收到这个错误:

Job for mysql.service failed because the control process exited with 
error code. See "systemctl status mysql.service" and "journalctl -xe" 
for details.

我查看了状态,但我无法理解问题所在:

mysql.service - LSB: Start and stop the mysql database server daemon
Loaded: loaded (/etc/init.d/mysql; bad; vendor preset: enabled)
Active: failed (Result: exit-code) since سه<U+200C>شنبه 2018-02-06 
11:36:14 IRST; 5min ago
Docs: man:systemd-sysv-generator(8)
Process: 16232 ExecStart=/etc/init.d/mysql start (code=exited, 
status=1/FAILURE)
Tasks: 0 (limit: 512)

فوریه 06 11:36:16 compute-00 mysqld[17101]: 180206 11:36:16 [ERROR] 
WSREP: gcs/src/gcs.cpp:gcs_open():1404: Fail
فوریه 06 11:36:16 compute-00 mysqld[17101]: 180206 11:36:16 [ERROR] 
WSREP: gcs connect failed: Connection timed 
فوریه 06 11:36:16 compute-00 mysqld[17101]: 180206 11:36:16 [ERROR] 
WSREP: wsrep::connect(gcomm://11.0.0.1,11.0.
فوریه 06 11:36:16 compute-00 mysqld[17101]: 180206 11:36:16 [ERROR] 
Aborting
فوریه 06 11:36:16 compute-00 mysqld[17101]: 
فوریه 06 11:36:16 compute-00 mysqld[17101]: 180206 11:36:16 [Note] 
WSREP: Service disconnected.
فوریه 06 11:36:17 compute-00 mysqld[17101]: 180206 11:36:17 [Note] 
WSREP: Some threads may fail to exit.
فوریه 06 11:36:17 compute-00 mysqld[17101]: 180206 11:36:17 [Note] 
/usr/sbin/mysqld: Shutdown complete
فوریه 06 11:36:17 compute-00 mysqld[17101]: 
فوریه 06 11:36:17 compute-00 mysqld_safe[17477]: mysqld from pid file 
/var/run/mysqld/mysqld.pid ended

如有任何帮助,我们将不胜感激。

P.S。节点是:

compute-00 11.0.0.1(主)

计算-01 11.0.0.2

计算-02 11.0.0.3

我试过这种安装maria galera的方法: installing mariadb galera on ubuntu 16.04 cluster with 3 nodes