微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

problems_redis

目录

problems_redis

1 启动哨兵模式报错

desc: 执行启动命令: redis-server sentinel.conf
errorlog:

*** FATAL CONfig FILE ERROR ***
Reading the configuration file, at line 69
>>> 'sentinel monitor mymaster node1 6379 2'
sentinel directive while not in sentinel mode

RCA:
启动命令写错了
solution:
添加启动参数 --sentinel
正确的启动命令如下: redis-server sentinel.conf --sentinel
或者直接使用这个命令: redis-sentinel sentinel.conf [推荐]

2

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐