解决方案:redis哨兵模式启动报错。

异常

*** FATAL CONFIG FILE ERROR ***
Reading the configuration file, at line 79
>>> 'sentinel auth-pass 192.168.1.123 123456'
No such master with specified name.

解决

在sentinel.conf配置文件中,以下两行配置要有先后顺序。

sentinel monitor mymaster 192.168.1.123 6379 1
sentinel auth-pass mymaster 123456
发布了124 篇原创文章 · 获赞 165 · 访问量 93万+

猜你喜欢

转载自blog.csdn.net/en_joker/article/details/103858555