关于ha集群无法启动

回复 收藏
本帖最后由 licengceng 于 2016-1-7 04:40 编辑

在配置好ha集群启动的出现错误提示
[root@ha ha.d]# service heartbeat start
Starting High-Availability services: INFO:  Resource is stopped
Heartbeat failure [rc=6]. Failed.

heartbeat: udpport setting must precede media statementsheartbeat[2204]: 2015/12         /25_23:53:58 ERROR: Client child command [/usr/lib/heartbeat/ipfail] is not exec         utable
heartbeat[2204]: 2015/12/25_23:53:58 ERROR: Heartbeat not started: configuration          error.
heartbeat[2204]: 2015/12/25_23:53:58 ERROR: Configuration error, heartbeat not s         tarted.


这是因为在ha.cf里面配置了respawn hacluster /usr/lib/heartbeat/ipfail 这条命令 所以没有起来 因为在/usr/lib/heartbeat/里面就没有ipfail文件 cd /;  find . -name ipfail 运行这两条命令 得到ipfail在/usr/lib64/heartbeat/ipfail  这 然后编辑、/etc/ha.d/ha.cf  把respawn hacluster /usr/lib/heartbeat/ipfail  修改成  respawn hacluster /usr/lib64/heartbeat/ipfail 在重启服务就能启动了
2016-01-07 04:38 举报
已邀请:
0

DSH20150916

赞同来自:

这应该是32、64位系统的原因
0

licengceng

赞同来自:

DSH20150916 发表于 2016-1-7 08:57
这应该是32、64位系统的原因

嗯 是的

回复帖子,请先登录注册

退出全屏模式 全屏模式 回复
评分
可选评分理由: