我已经安装了最新的Redis 4(4.0.14)版本,我正在尝试设置一个3节点的Redis前哨。我更改了我的前哨配置文件,当我尝试运行
/usr/bin/redis-sentinel /etc/redis-sentinel.conf但是,如果我开始使用systemd,我可以启动redis sentinel,
systemctl start redis-sentinel我得到了,
2331:X 03 Jun 23:30:31.744 # Sentinel config file /etc/redis-sentinel.conf is not writable: Permission denied. Exiting...。
为什么使用systemd会导致上述错误?我有默认的systemd redis-sentinel配置。
发布于 2019-06-04 23:43:14
检查/etc/redis-seninel.conf上的文件权限
检查SELINUX sestatus,如果它正在运行,则尝试禁用它或添加selinux异常。
https://stackoverflow.com/questions/56435762
复制相似问题