首页 > 解决方案 > 获取错误 Unrecognized sentinel 配置语句

问题描述

我创建了如下哨兵文件:sentinel.conf

sentinel monitor myHAsetup 10.147.55.132 6379 1 sentinel down-after-mliseconds myHAsetup 6001 sentinel failover-timeout myHAsetup 60000 sentinel parallel-syncs myHAsetup 1 bind 10.147.55.132

运行它时,出现错误 [root@harish bin]# ./redis-server /etc/redis/sentinel.conf --sentinel

* FATAL CONFIG FILE ERROR * 读取配置文件,第 2 行

'sentinel down-after-mlliseconds myHAsetup 6001' 无法识别的哨兵配置语句。

标签: redis

解决方案


推荐阅读