打印

HA服务起启动报错汇总一览

[复制链接]
158|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
冷冻链|  楼主 | 2018-10-3 13:44 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
heart, TE, ST, ip, TI
错误一:

启动heartbeat服务室,出现以下错误:

a





根据提示信息在对文件进行排查后,发现问题:

主要是三个文件:

authkeys

ha.cf

haresources

在ha.cf中发现其中部分ucast部分的ip和真实配置的ip有误

如图:







其中对应的ip应为:192.168.170.132.    重新跟正后,问题得到解决,!!







错误二:

报错信息如下:



Dec 25 21:16:53 aming heartbeat:[4063]: ERROR: Client child command [/usr/lib/heartbeat/ipfail] isnot executable

Dec 25 21:16:53 aming heartbeat: [4063]: ERROR: Heartbeat notstarted: configuration error.

Dec 25 21:16:53 aming heartbeat: [4063]: ERROR: Configurationerror, heartbeat not started.

Dec 25 21:23:49 aming heartbeat: [4210]: ERROR: Client childcommand [/usr/lib/heartbeat/ipfail] is not executable

Dec 25 21:23:49 aming heartbeat: [4210]: ERROR: Heartbeat notstarted: configuration error.

Dec 25 21:23:49 aming heartbeat: [4210]: ERROR: Configurationerror, heartbeat not started.

Dec 25 21:24:20 aming heartbeat: [4350]: ERROR: Client childcommand [/usr/lib/heartbeat/ipfail] is not executable

Dec 25 21:24:20 aming heartbeat: [4350]: ERROR: Heartbeat notstarted: configuration error.



解决方法是:

因为报错是/usr/lib下面没有heartbeat这个目录,我的系统是64位的,所以在lib64下面,修改ha.cf的配置文件最后一样修改为respawnhacluster /usr/lib64/heartbeat/ipfail,再次启动服务就可以了。

使用特权

评论回复

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

397

主题

397

帖子

0

粉丝