Hello,
I'm using heartbeat-2.0.6-1.c4.1.rpm from
http://dev.centos.org/centos/4/testing/x86_64/RPMS, and I've got some
trouble using IPaddr2 resource :
/etc/ha.d/resource.d/IPaddr2 192.168.0.1 status
/usr/lib/ocf/resource.d/heartbeat/IPaddr2: line 277: [: too many arguments
stopped
2006/07/25_12:43:28 INFO: IPaddr2 Resource is stopped
INFO: IPaddr2 Resource is stopped
I've noticed SYSTYPE is not define before line 277 in
/usr/lib/ocf/resource.d/heartbeat/IPaddr2 :
I've add line SYSTYPE="`uname -s`" (copy from
/usr/lib/ocf/resource.d/heartbeat/IPaddr) and it's running correctly now.
BeN
--
Donneaux Benoit
Network Architect
begin:vcard
fn:Benoit Donneaux
n:Donneaux;Benoit
org:NRB;Network
adr;quoted-printable:PI des Hauts Sarts;;2e Av. 65;Herstal;Li=C3=A8ge;4040;Belgium
email;internet:[EMAIL PROTECTED]
title:Network Architect
tel;work:+32 4 249 77 18
tel;cell:+32 473 932 939
version:2.1
end:vcard
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/