galera_new_cluster:找不到命令

时间:2018-08-15 16:26:43

标签: mysql mariadb cluster-computing galera

我已经在Redhat 6上安装了5个MariaDB数据库10.2.8(MariaDB数据库服务器)。我编辑了my.cnf,以从 sudo服务rh-mariadb-mariadb启动--wsrep-new-cluster,但是在所有节点上启动失败

如果我尝试使用te命令

sudo galera_new_cluster: command not found

错误:

2018-08-15 17:44:24 140204929021920 [Warning] WSREP: access 
file(/var/opt/(...)lib/mysql//gvwstate.dat) failed(No such file or directory)
2018-08-15 17:44:24 140204929021920 [Note] WSREP: restore pc from disk failed

2018-08-15 17:44:24 140204929021920 [Warning] WSREP: (15ee6eeb, 'tcp://0.0.0.0:4567') address 'tcp://(...):4567' points to own listening address, blacklisting
2018-08-15 17:44:27 140204929021920 [Note] WSREP: (15ee6eeb, 'tcp://0.0.0.0:4567') connection to peer 15ee6eeb with addr tcp://(...):4567 timed out, no messages seen in PT3S
2018-08-15 17:44:27 140204929021920 [Warning] WSREP: no nodes coming  from prim view, prim not possible
2018-08-15 17:44:27 140204929021920 [Note] WSREP: view(view_id(NON_PRIM,15ee6eeb,1) memb {
    15ee6eeb,0} joined {} left {} partitioned {})
2018-08-15 17:44:57 140204929021920 [Note] WSREP: view((empty))
2018-08-15 17:44:57 140204929021920 [ERROR] WSREP: failed to open gcomm backend connection: 110: failed to reach primary view: 110 (Connection timed out) at gcomm/src/pc.cpp:connect():158
2018-08-15 17:44:57 140204929021920 [ERROR] WSREP: gcs/src/gcs_core.cpp:gcs_core_open():208: Failed to open backend connection: -110 (Connection timed out)
2018-08-15 17:44:57 140204929021920 [ERROR] WSREP: gcs/src/gcs.cpp:gcs_open():1458: Failed to open channel 'cluster' at 'gcomm://(...)': -110 (Connection timed out)

2018-08-15 17:44:57 140204929021920 [ERROR] WSREP: gcs connect failed: Connection timed out
2018-08-15 17:44:57 140204929021920 [ERROR] WSREP: wsrep::connect(gcomm://(...)) failed: 7
2018-08-15 17:44:57 140204929021920 [ERROR] Aborting

现在花一天时间尝试解决错误。 有人可以帮忙吗?

0 个答案:

没有答案