Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to start heartbeat on Ubuntu 10.04 with service heartbeat start, but getting the following errors:

heartbeat[24829]: 2011/11/22_19:31:07 ERROR: Bad nodename in /etc/ha.d//haresources [node1]
heartbeat[24829]: 2011/11/22_19:31:07 ERROR: Configuration error, heartbeat not started.

On on server uname -n produces loadb1, on the second server uname -n produces loadb2. The two servers can ping each other okay with those names.

This is /etc/ha.d/ha.cnf on both servers:

debugfile /var/log/ha-debug
logfile /var/log/ha-log
logfacility     local0
keepalive 2
deadtime 10
udpport 694
bcast eth1
ucast eth0 my.external.ip
ucast eth0 my.external.ip
ucast eth1
ucast eth1
#udp     eth0
node    loadb1
node    loadb2
auto_failback off

And this is /etc/ha.d/haresources on both servers:

node1 IPaddr:: httpd smb dhcpd

Authkeys is also set up.

What am I doing wrong?

The part where I'm least clear is the ucast/bcast lines.

share|improve this question
up vote 1 down vote accepted

Put loaddb1 into the haresources - not node1.

share|improve this answer
Yup, that's it. D'oh! – Richard Nov 28 '11 at 10:14

Your Answer


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.