redis 集群启动报错:ERR Invalid node address specified: node-200:7200 (Redis::CommandError)
2018-01-25 14:40
4837 查看
redis 集群启动报错:
>>> Nodes configuration updated
>>> Assign a different config epoch to each node
>>> Sending CLUSTER MEET messages to join the cluster
/opt/ruby/lib/ruby/gems/2.3.0/gems/redis-3.3.0/lib/redis/client.rb:121:in `call': ERR Invalid node address specified: node-200:7200 (Redis::CommandError)
from /opt/ruby/lib/ruby/gems/2.3.0/gems/redis-3.3.0/lib/redis.rb:2700:in `block in method_missing'
from /opt/ruby/lib/ruby/gems/2.3.0/gems/redis-3.3.0/lib/redis.rb:58:in `block in synchronize'
from /opt/ruby/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
from /opt/ruby/lib/ruby/gems/2.3.0/gems/redis-3.3.0/lib/redis.rb:58:in `synchronize'
from /opt/ruby/lib/ruby/gems/2.3.0/gems/redis-3.3.0/lib/redis.rb:2699:in `method_missing'
from src/redis-trib.rb:811:in `block in join_cluster'
from src/redis-trib.rb:809:in `each'
from src/redis-trib.rb:809:in `join_cluster'
from src/redis-trib.rb:1301:in `create_cluster_cmd'
from src/redis-trib.rb:1700:in `<main>'
报错原因redis 集群启动使用ip端口形式, 使用域名支持不好。
/opt/ruby/lib/ruby/gems/2.3.0/gems/redis-3.3.0/lib/redis/client.rb:121:in `call': ERR Slot 0 is already busy (Redis::CommandError)
from /opt/ruby/lib/ruby/gems/2.3.0/gems/redis-3.3.0/lib/redis.rb:2700:in `block in method_missing'
from /opt/ruby/lib/ruby/gems/2.3.0/gems/redis-3.3.0/lib/redis.rb:58:in `block in synchronize'
from /opt/ruby/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
from /opt/ruby/lib/ruby/gems/2.3.0/gems/redis-3.3.0/lib/redis.rb:58:in `synchronize'
from /opt/ruby/lib/ruby/gems/2.3.0/gems/redis-3.3.0/lib/redis.rb:2699:in `method_missing'
from src/redis-trib.rb:212:in `flush_node_config'
from src/redis-trib.rb:776:in `block in flush_nodes_config'
from src/redis-trib.rb:775:in `each'
from src/redis-trib.rb:775:in `flush_nodes_config'
from src/redis-trib.rb:1296:in `create_cluster_cmd'
from src/redis-trib.rb:1700:in `<main>'
这是由于上一次配置集群失败时留下的配置信息导致的。 只要把redis.conf中定义的 cluster-config-file
所在的文件删除,重新启动redis-server及运行redis-trib即可。
>>> Nodes configuration updated
>>> Assign a different config epoch to each node
>>> Sending CLUSTER MEET messages to join the cluster
/opt/ruby/lib/ruby/gems/2.3.0/gems/redis-3.3.0/lib/redis/client.rb:121:in `call': ERR Invalid node address specified: node-200:7200 (Redis::CommandError)
from /opt/ruby/lib/ruby/gems/2.3.0/gems/redis-3.3.0/lib/redis.rb:2700:in `block in method_missing'
from /opt/ruby/lib/ruby/gems/2.3.0/gems/redis-3.3.0/lib/redis.rb:58:in `block in synchronize'
from /opt/ruby/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
from /opt/ruby/lib/ruby/gems/2.3.0/gems/redis-3.3.0/lib/redis.rb:58:in `synchronize'
from /opt/ruby/lib/ruby/gems/2.3.0/gems/redis-3.3.0/lib/redis.rb:2699:in `method_missing'
from src/redis-trib.rb:811:in `block in join_cluster'
from src/redis-trib.rb:809:in `each'
from src/redis-trib.rb:809:in `join_cluster'
from src/redis-trib.rb:1301:in `create_cluster_cmd'
from src/redis-trib.rb:1700:in `<main>'
报错原因redis 集群启动使用ip端口形式, 使用域名支持不好。
/opt/ruby/lib/ruby/gems/2.3.0/gems/redis-3.3.0/lib/redis/client.rb:121:in `call': ERR Slot 0 is already busy (Redis::CommandError)
from /opt/ruby/lib/ruby/gems/2.3.0/gems/redis-3.3.0/lib/redis.rb:2700:in `block in method_missing'
from /opt/ruby/lib/ruby/gems/2.3.0/gems/redis-3.3.0/lib/redis.rb:58:in `block in synchronize'
from /opt/ruby/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
from /opt/ruby/lib/ruby/gems/2.3.0/gems/redis-3.3.0/lib/redis.rb:58:in `synchronize'
from /opt/ruby/lib/ruby/gems/2.3.0/gems/redis-3.3.0/lib/redis.rb:2699:in `method_missing'
from src/redis-trib.rb:212:in `flush_node_config'
from src/redis-trib.rb:776:in `block in flush_nodes_config'
from src/redis-trib.rb:775:in `each'
from src/redis-trib.rb:775:in `flush_nodes_config'
from src/redis-trib.rb:1296:in `create_cluster_cmd'
from src/redis-trib.rb:1700:in `<main>'
这是由于上一次配置集群失败时留下的配置信息导致的。 只要把redis.conf中定义的 cluster-config-file
所在的文件删除,重新启动redis-server及运行redis-trib即可。
相关文章推荐
- redis集群新增节点:[ERR] Node is not empty
- redis集群:Connecting to node 127.0.0.1:7000: [ERR] Sorry, can't connect to node 192.168.1.91:7000
- redis集群服务器迁移报错[ERR] Node XXX.XXX.XXX.XX:7001 is not empty. Either the nodealready knows other nodes
- LogStash启动报错:<Redis::CommandError: ERR unknown command 'script'>与batch_count 的 配置
- LogStash启动报错:<Redis::CommandError: ERR unknown command 'script'>
- redis 集群 创建报错 [ERR] Node is not empty. Either the node already knows other nodes (check with C
- redis-trib.rb创建集群报错:[ERR] Node 192.168.162.132:7001 is not configured as a cluster node.
- VS2013 OpenCV 2.4.9 “HEAP:Invalid Address specified to RtlValidateHeap( 000D0000, 019FEF18 )” 错误
- “Invalid Address specified to RtlValidateHeap”错误? 解决方案 【汇总】
- Hadoop datanode 无法启动,报错:java.io.IOException: All specified directories are failed to load.
- 关于redis集群 no reachable node in cluster的错误(在命令行正常,而在eclipse运行失败)
- 解决hadoop集群中datanode启动后自动关闭的问题
- redis配置后端启动——支持集群部署
- Invalid Address specified to RtlValidateHeap (转自CSDN:BaoQibiao)
- 错误 108 (net::ERR_ADDRESS_INVALID):未知错误。
- Redis 启动报错: Creating Server TCP listening socket *:6379: bind: Address already in use
- Hadoop datanode 无法启动(All specified directories are failed to load.)
- 【Redis】redis集群启动失败案例
- Redis集群不能在shell脚本中直接启动的错误原因
- redis.clients.jedis.exceptions.JedisDataException: ERR Protocol error: invalid bulk length