[Linux-HA] Problem to start hbagent
Lienard Anne (SII)
Anne.Lienard at thomson.net
Tue Jul 1 10:07:22 MDT 2008
Hello,
We need to install LINUX-HA MIB with hbagent client on our Linux-HA
cluster (linux ha version 2.1.3 on Redhat 5.1 64 bits).
>From the source package linux-ha heartbeat-2.1.3-22.1.src.rpm, I've
compiled with the following option:
./ConfigureMe configure --enable-snmp-subagent
I obtained a new heartbeat RPM, and I replaced the old one on the two
nodes.
But when I started heartbeat, I obtained the following error:
heartbeat[30489]: 2008/07/01_14:51:10 info: Starting
"/usr/lib64/heartbeat/hbagent -d" as uid 0 gid 0 (pid 30489)
lha-snmpagent[30489]: 2008/07/01_14:51:11 info: node 1: group1, type:
ping, status: ping
lha-snmpagent[30489]: 2008/07/01_14:51:12 info: node 2: prd-x3650-6,
type: normal, status: active
lha-snmpagent[30489]: 2008/07/01_14:51:12 info: node 3: prd-x3650-5,
type: normal, status: active
lha-snmpagent[30489]: 2008/07/01_14:51:13 info: node: group1, interface:
group1, status: up
lha-snmpagent[30489]: 2008/07/01_14:51:13 info: node: prd-x3650-6,
interface: bond1, status: up
lha-snmpagent[30489]: 2008/07/01_14:51:13 info: node: prd-x3650-5,
interface: bond1, status: up
lha-snmpagent[30489]: 2008/07/01_14:51:13 info: g_hash_table_insert hd =
[0x1ef43350]
lha-snmpagent[30489]: 2008/07/01_14:51:13 ERROR: oc_ev_activate error
[1]
lha-snmpagent[30489]: 2008/07/01_14:51:13 ERROR: CIB connection signon
failed.
lha-snmpagent[30489]: 2008/07/01_14:51:13 ERROR: init_cib() failed.
Our configuration file is set with linux-ha v1-style option (crm set to
off).
Is there an option to start hbagent with linux-ha v1-style?
I saw that a patch exists, but for 2.0.6 version
(http://lists.community.tummy.com/pipermail/linux-ha-dev/2006-July/01326
1.html)
Is this patch available for most recent versions?
Or maybe, the hbagent rights are not set correctly (I started it with
root)...
Here is our configuration file:
debugfile /var/log/ha-debug
logfile /var/log/ha-log
logfacility local0
keepalive 2
deadtime 60
warntime 30
udpport 694
bcast bond1 # Linux
auto_failback off
crm off
node PRD-X3650-5
node PRD-X3650-6
ping_group group1 172.16.2.13 172.16.2.249
respawn hacluster /usr/lib64/heartbeat/ipfail
respawn root /usr/lib64/heartbeat/hbagent -d
Thank you.
Anne
More information about the Linux-HA
mailing list