您的位置:首页 > Web前端 > Node.js

Either the node already knows other nodes (check with CLUSTER NODES) or contains some key in databas

2016-11-24 17:59 671 查看
>>> Sending CLUSTER MEET messages to join the cluster

Waiting for the cluster to join.......................................

在这里的时候卡了很久没过去,我就结束了想重新再试下

Connecting to node 192.168.7.232:7000: OK

[ERR] Node 192.168.7.232:7000 is not empty. Either the node already knows other nodes (check with CLUSTER NODES) or contains some key in database 0.

提示有数据了,我想是开始初始化的时候有写数据进去了

把7000目录下生成的appendonly.aof    nodes.conf 删除掉重启启动服务,

想起来我是把7.232上面的服务启动后把7000 7001 直接传到237 和246上面去的,为了节省建目录和copy配置文件的操作,这样导致机器加入集群的时候一直在等待,

把3台机器的6个服务的appendonly.aof    nodes.conf都删了 重新启动服务再执行

转载于:http://blog.sina.com.cn/s/blog_638b7ebb0102vt03.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  redis
相关文章推荐