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

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

解决方法:

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

[ERR] Node is not empty. Either the node already knows other nodes or contains some key in database
2:./redis-cli -h  192.168.156.61 -p 6379      192.168.156.61:7001> flushdb ;

[ERR] Node is not empty. Either the node already knows other nodes or contains some key in database
3:重新执行

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

满血复活

 

相关文章:

  • 2022-01-22
  • 2022-12-23
  • 2021-05-17
  • 2022-12-23
  • 2021-11-01
  • 2022-01-23
  • 2021-09-14
猜你喜欢
  • 2021-06-08
  • 2022-12-23
  • 2022-12-23
  • 2021-12-29
  • 2022-12-23
  • 2021-06-08
  • 2021-10-01
相关资源
相似解决方案