Configuration file '/etc/keepalived/keepalived.conf' is not a regular non-executable file

纵然是瞬间 提交于 2020-03-05 06:40:28

Centos 7 安装启动 keepalived报错

Dec 5 9:15:49 jituan-dsmydb141 systemd: Starting LVS and VRRP High Availability Monitor...
Dec 5 9:15:49 jituan-dsmydb141 Keepalived[30665]: Starting Keepalived v1.3.5 (03/19,2017), git commit v1.3.5-6-g6fa32f2
Dec 5 9:15:49 jituan-dsmydb141 Keepalived[30665]: Configuration file '/etc/keepalived/keepalived.conf' is not a regular non-executable file
Dec 5 9:15:49 jituan-dsmydb141 Keepalived[30665]: Stopped Keepalived v1.3.5 (03/19,2017), git commit v1.3.5-6-g6fa32f2
Dec 5 9:15:49 jituan-dsmydb141 systemd: PID file /var/run/keepalived.pid not readable (yet?) after start.
Dec 5 9:15:49 jituan-dsmydb141 systemd: Failed to start LVS and VRRP High Availability Monitor.
 

解决报错:

更改为644权限即可

chmod 644 keepalived.conf
 ll /etc/keepalivd/keepalived.conf
-rw-r--r-- 1 root root 645 Dec 25 15:02 keepalived.conf

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!