error1:Client child command [/usr/lib/heartbeat/ipfail] is not executable
原因:我的系统时64位,这里的路径有问题
解决方法:vim /etc/ha.d/ha.cf 将respawn hacluster /usr/lib/heartbeat/ipfail 改为:respawm hacluster /usr/lib64/heartbeat/ipfail
error2:Missing auth directive in keyfile [/etc/ha.d//authkeys]
原因:authkeys文件错误
解决办法:vim /etc/ha.d/authkeys 修改里面内容为:
auth 3
#1 crc
#2 sha1 HI!
3 md5 Hello!
原因:我的系统时64位,这里的路径有问题
解决方法:vim /etc/ha.d/ha.cf 将respawn hacluster /usr/lib/heartbeat/ipfail 改为:respawm hacluster /usr/lib64/heartbeat/ipfail
error2:Missing auth directive in keyfile [/etc/ha.d//authkeys]
原因:authkeys文件错误
解决办法:vim /etc/ha.d/authkeys 修改里面内容为:
auth 3
#1 crc
#2 sha1 HI!
3 md5 Hello!
编辑回复