日期:2014-05-16  浏览次数:20802 次

心跳服务启动问题,还得摆脱各位帮忙Permission denied我应该给什么权限??
又碰到问题了,Feb 21 01:32:27 file2 ipfail: [7093]: ERROR: Cannot chdir to [/var/lib/heartbeat/cores/hacluster]: Permission denied
---------------------
[root@file2 ha.d]# grep -v "^#" /etc/ha.d/ha.cf
logfile /var/log/ha-log
logfacility local0
keepalive 2
deadtime 30
warntime 10
initdead 120
udpport 694
ucast eth0 192.168.1.29
auto_failback off
node file1
node file2
ping 192.168.1.1
respawn hacluster /usr/lib64/heartbeat/ipfail
 apiauth ipfail gid=haclient uid=hacluster
hopfudge 1
deadping 30

------解决方案--------------------
haclient.hacluster
775

测试看看....不过越往后诡异问题会越多...
------解决方案--------------------
keepalived 只提供健康检查和虚拟IP切换的功能,其他功能没有的,至少暂时我没有用到过。

工具都不是万能的,要靠自己组合使用,呵呵