heartbeat 2.1.3 启动报错
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.
[