heartbeat 2.1.3 启动报错

asdadgg 2013-07-23 10:06:40
centos 6.0 64位 heartbeat 2.1.3

备机起不来
备机:ha.cf
[root@DSMP_DATA_02 heartbeat-2.1.3]# more /etc/ha.d/ha.cf |grep -v ^"#"
debugfile /var/log/ha-debug
logfile /var/log/ha-log
logfacility local0
keepalive 2
deadtime 30
warntime 10
initdead 120
udpport 694
ucast eth0 218.108.171.5 #主机IP
auto_failback off
node DSMP_DATA_01#主机名
node DSMP_DATA_02

apiauth ipfail gid=haclient uid=hacluster

[root@DSMP_DATA_02 heartbeat-2.1.3]# more /etc/ha.d/haresources |grep -v ^"#"
DSMP_DATA_01 IPaddr::218.108.171.32/26/eth0

authkeys 是 auth 1
1 crc 已加600权限

主机启动正常,备机启动报错:

[root@DSMP_DATA_02 heartbeat-2.1.3]# service heartbeat start
lt-heartbeat: udpport setting must precede media statementslt-heartbeat[12718]: 2013/07/24_10:06:58 ERROR: Illegal directive [ucast] in /etc/ha.d/ha.cf
lt-heartbeat[12718]: 2013/07/24_10:06:58 ERROR: Heartbeat not started: configuration error.
lt-heartbeat[12718]: 2013/07/24_10:06:58 ERROR: Configuration error, heartbeat not started.
[
...全文
116 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

18,772

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 专题技术讨论区
社区管理员
  • 专题技术讨论区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧