windows下启动哨兵报错:sentinel directive while not in sentinel mode
控制台显示:
*** FATAL CONFIG FILE ERROR ***
Reading the configuration file, at line 2
>>> 'sentinel monitor mymaster 127.0.0.1 6379 2'
sentinel directive while not in sentinel mode
错误原因
启动命令缺少参数 --sentinel
redis-server.exe sentinel.conf --sentinel