redis - 获取错误 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' 无法识别的哨兵配置语句。
解决方案
推荐阅读
- python - 在 matplotlib 中关闭刻度标签的指数表示法的 TeX 模式
- android - Oreo 版本,WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY 不崩溃,但没有效果
- python - 计算元组列表中的出现次数
- jenkins - 有没有办法在从机上执行时从主詹金斯发布数据?
- c++ - Typedef一个指向C++中同名指针的结构
- xml - 通过 JWT 令牌在 Azure API 管理中进行授权
- reactjs - 如何依次控制两个模态的打开状态
- sas - 获取最后两列的唯一值
- python - pandas中基于模糊匹配删除重复项
- swift - 找出内存泄漏