[ERR] Node is not empty. Either the node already knows other nodes or contains some key in database

把redis.conf 配置文件里的,bind 本地ip修改为虚拟机ip , 报出这个异常。

解决方法:

1:将每个节点下aof、rdb、nodes.conf本地备份文件删除;(有的同学可能找不到aof,aof是实时持久化,没有启动过就没有)


2:./redis-cli -h  192.168.156.61 -p 6379      192.168.156.61:7001> flushdb ;


3:重新执行

[ERR] Node is not empty. Either the node already knows other nodes or contains some key in database_第1张图片

满血复活

 

你可能感兴趣的:(日常bug)