Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/redis/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Redis 无法启动哨兵_Redis_Redis Sentinel - Fatal编程技术网

Redis 无法启动哨兵

Redis 无法启动哨兵,redis,redis-sentinel,Redis,Redis Sentinel,启动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 您需要添加一个命令行参数,即--sentinel,以告知Redis以sen

启动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

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

redis-server sentinel.conf --sentinel