无法启动sentinel

58wvjzkj  于 2021-06-09  发布在  Redis
关注(0)|答案(1)|浏览(761)

启动sentinel时低于错误。任何人都可以帮忙。


***FATAL CONFIG FILE ERROR***

Reading the configuration file, at line 69
>>> 'sentinel monitor My_Master xx.xx.xxx.xxx 61010 2'
sentinel directive while not in sentinel mode
vwkv1x7d

vwkv1x7d1#

您需要添加一个命令行参数,即--sentinel,以告诉redis以sentinel模式启动:

redis-server sentinel.conf --sentinel

相关问题