zoukankan      html  css  js  c++  java
  • Failed to connect to ourself!错误解决办法


    今天重启mysql cluster的管理节点的时候,启动不了,尝试了几次仍然有问题,查看日志,出现如下报错。

    2011-04-01 23:49:03 [MgmtSrvr] INFO     -- Got initial configuration from '/usr/local/mysql/mysql-cluster/config.ini', will try to set it when all ndb_mgmd(s
    ) started
    2011-04-01 23:49:03 [MgmtSrvr] INFO     -- Mgmt server state: nodeid 1 reserved for ip 192.168.100.32, m_reserved_nodes 1.
    2011-04-01 23:49:03 [MgmtSrvr] INFO     -- Node 1: Node 1 Connected
    2011-04-01 23:49:03 [MgmtSrvr] INFO     -- Id: 1, Command port: *:1186
    2011-04-01 23:49:03 [MgmtSrvr] WARNING  -- 1011 Unable to connect with connect string: nodeid=0,localhost:1186
    2011-04-01 23:49:03 [MgmtSrvr] ERROR    -- Failed to connect to ourself!

    很奇怪,这几天一直正常使用,今天一重启就有问题了,问了同事这两天这个服务器做了哪些更改。答曰:
    更改了hosts文件。上去一看:发现被更改成:
    127.0.0.1               localhost.localdomain openldap
    于是更改成默认值
    127.0.0.1               localhost.localdomain localhost

    重新启动,OK。一切正常!


  • 相关阅读:
    C# 委托/Func() 中 GetInvocationList() 方法的使用 | 接收委托多个返回值
    蒋廷黻著《中国近代史》-中国近代屈辱史读后感
    ASP.NET Core 上传多文件 超简单教程
    Python
    Python
    Python
    Python
    Python
    Python
    Python
  • 原文地址:https://www.cnblogs.com/feihongwuhen/p/7170052.html
Copyright © 2011-2022 走看看