Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

this is the error message I get:

heartbeat[22269]: 2012/03/21_07:36:55 ERROR: Illegal directive [unicast] in /etc/ha.d/ha.cf
heartbeat[22269]: 2012/03/21_07:36:55 ERROR: Heartbeat not started: configuration error.
heartbeat[22269]: 2012/03/21_07:36:55 ERROR: Configuration error, heartbeat not started.

this is my ha.cf file:

logfile /var/log/ha-log
###logfacility local0
keepalive 1
deadtime 10
initdead 90
udpport 694
unicast eth0 "node02_IP_Address
auto_failback on
node node01 
node node02
###respawn hacluster /usr/lib/heartbeat/ipfail

any idea thanks, E.

share|improve this question

2 Answers 2

up vote 5 down vote accepted

The directive for Unicast is 'ucast' not 'unicast:

logfile /var/log/ha-log
###logfacility local0
keepalive 1
deadtime 10
initdead 90
udpport 694
ucast eth0 node02_IP_Address
auto_failback on
node node01
node node02
###respawn hacluster /usr/lib/heartbeat/ipfail
share|improve this answer
1  
Thanks!!!!!!!!1 –  edotan Mar 21 '12 at 9:04

As the error message you get states, unicast is not a valid configuration option. You should use ucast instead, if my memory serves me right.

share|improve this answer
    
Thanks!!!!!!!!1 –  edotan Mar 21 '12 at 9:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.