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