galera\u new\u cluster:未找到命令

hpxqektj  于 2021-06-20  发布在  Mysql
关注(0)|答案(0)|浏览(676)

我已经在Redhat6上安装了5个mariadb数据库10.2.8(mariadb数据库服务器)。我编辑了my.cnf以使用sudo服务rh mariadb mariadb start--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

现在花一天时间来解决错误。有人能帮忙吗?

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题