Today, when the management node of MySQL Cluster was restarted, it could not be started. After several attempts, there was still a problem. Check the log and the following error was reported.
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!
It’s strange that the server has been in normal use for several days. As soon as it was restarted today, there was a problem. I asked my colleagues what changes the server had made in the past two days. The answer is:
Changed the hosts file. Go up and see: found changed to:
127.0.0.1 localhost.localdomain openldap
So change to the default value
127.0.0.1 localhost.localdomain localhost
Restart, OK. business as usual!
Reproduced in: https://www.cnblogs.com/feihongwuhen/archive/2011/04/01/7170052.html
Read More:
- JDBC connect to Sql Server to connect to the database–The TCP/IP connection to the host localhost, port 1433 has failed
- Failed to connect to Mir:Failed to connect to server socket:No such file or directory
- MongoNetworkError: failed to connect to server [localhost:27017] on first connect [Error: connect EC
- CentOS Liunx 7 uses rdesktop to remotely connect to the Alibaba Cloud server and it appears Failed to connect, CredSSP required by server.
- RTMP_Connect0, failed to connect socket. 110 (Connection timed out)
- [Solved] failed to connect to server, reason: Unable to establish connection
- How to Fix failed to Connect to MySQL at localhost:3306 with user root
- Oracle Data Guard Ping [arc2]: heartbeat failed to connect to standby “. Error is 12514 fault analysis
- Failed to connect to remote VM. Connection reused. Connection reused: Connect
- warning failed to connect to lvmetad,falling back to device scanning.
- How to solve problems like curl: (7) failed to connect to raw.githubusercontent.com Port 443: problem with connection used
- Problem solving: failed to connect to github.com port 443: Operation timed out(2020.06.04)
- MongoNetworkError: failed to connect to server [localhost:27017]
- EBS R12 login error—R12.1 FRM-92050: FAILED TO CONNECT TO SERVER: /FORMS/LSERVLET
- 【MongoDB】 Failed to connect to 127.0.0.1:27017, reason: Connection refused
- JRebel: ERROR Failed to obtain seat. Unable to connect to license server. Check
- Navicat VMware failed to connect to the database. Possible causes of error 2003
- Solve the MAC terminal download error curl: (7) failed to connect to raw.githubusercontent.com port 443: Connection refused
- PHP under linux uses pdo-dblib to connect to mssql to report an error solution. Error message: SQLSTATE[01002] Adaptive Server connection failed (severity 9)
- Failed to connect to non-global ctrl_ifname: (nil) error: No such file or directory (How to Fix)