[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-ha-dev
Subject:    [Linux-ha-dev] heartbeat- IPaddr2 : SYSTYPE not define
From:       Benoit Donneaux <benoit.donneaux () nrb ! be>
Date:       2006-07-25 11:05:23
Message-ID: 44C5FAF3.8020304 () nrb ! be
[Download RAW message or body]

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


["benoit.donneaux.vcf" (text/x-vcard)]

_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic