Mailing List Archive

VIP not appearing when heartbeat starts
Greetings list,

i am trying to get HeartBeat 2.1.3 running on RedHat Fedora Core 3. this is particular box is the master, the service we want HA on is MySQL and we are using heartbeats across ethernet interfaces.

the install of heartbeat and mon went fine.

however, when i try and start the heartbeat service via the startup script- heartbeat never installs the virtual interface/virtual IP. now, the slave server isn't actually live but that shouldn't make a difference on installing the VIP on the master should it?

any help would be greatly appreciated. here are some things from the log i find curious:

IPaddr[17466]: 2008/03/04_16:19:51 ERROR: Setup problem: Couldn't find utility /bin/gawk
IPaddr[17449]: 2008/03/04_16:19:51 ERROR: Program is not installed

*but* it is installed:

[root@sFlow:/var/log]$ ls -la /bin/gawk
-rwxr-xr-x 1 root root 252412 Jun 29 2004 /bin/gawk
[root@sFlow:/var/log]$

and then this little number:

heartbeat[3563]: 2008/03/05_11:40:19 ERROR: glib: Unable to send bcast [-1] packet(len=207): Interrupted system call
heartbeat[3563]: 2008/03/05_11:40:19 ERROR: Write timeout on bcast eth1.: Interrupted system call
heartbeat[3563]: 2008/03/05_11:40:21 ERROR: glib: Unable to send bcast [-1] packet(len=207): Interrupted system call
heartbeat[3563]: 2008/03/05_11:40:21 ERROR: Write timeout on bcast eth1.: Interrupted system call

what the heck does that mean? the interface is up. i can ping the ip on eth1...

thanks,
jg
_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
Re: VIP not appearing when heartbeat starts [ In reply to ]
On 2008-03-05T13:34:58, John Giordano <johng@dotz.info> wrote:

> any help would be greatly appreciated. here are some things from the log i find curious:
>
> IPaddr[17466]: 2008/03/04_16:19:51 ERROR: Setup problem: Couldn't find utility /bin/gawk
> IPaddr[17449]: 2008/03/04_16:19:51 ERROR: Program is not installed
>
> *but* it is installed:
>
> [root@sFlow:/var/log]$ ls -la /bin/gawk
> -rwxr-xr-x 1 root root 252412 Jun 29 2004 /bin/gawk
> [root@sFlow:/var/log]$

That's very weird. You can try running IPaddr by hand like this:

ocf-tester -n dummy-id -o ip=1.2.3.4 /usr/lib/ocf/resource.d/heartbeat/IPaddr

(Of course replacing 1.2.3.4 with the IP you want it to manage.)

Then try to find out why it fails.

It seems something is quite confused about the Centos/RH packages right
now. Where did you download your package from?


Regards,
Lars

--
Teamlead Kernel, SuSE Labs, Research and Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde

_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
Re: VIP not appearing when heartbeat starts [ In reply to ]
hey Lars and everyone.

i downloaded the source from the main ha web site.

tried your test suggestion on the main IP (bound to eth0) of the master
server:

[root@sFlow:~]$ ocf-tester -n dummy-id -o ip=10.0.0.182
/usr/lib/ocf/resource.d/heartbeat/IPaddr
Beginning tests for /usr/lib/ocf/resource.d/heartbeat/IPaddr...
* rc=5: Validation failed. Did you supply enough options with -o ?
Aborting tests

then tried it just for kicks on the VIP (which isn't coming up):

[root@sFlow:~]$ cat /etc/ha.d/haresources
sflow 10.0.0.187 mysql mon
[root@sFlow:~]$ ocf-tester -n dummy-id -o ip=10.0.0.187
/usr/lib/ocf/resource.d/heartbeat/IPaddr
Beginning tests for /usr/lib/ocf/resource.d/heartbeat/IPaddr...
* rc=5: Validation failed. Did you supply enough options with -o ?
Aborting tests
[root@sFlow:~]$

any ideas? i am stUcK....

thanks
jg

----- Original Message -----
From: "Lars Marowsky-Bree" <lmb@suse.de>
To: "General Linux-HA mailing list" <linux-ha@lists.linux-ha.org>
Sent: Wednesday, March 05, 2008 2:58 PM
Subject: Re: [Linux-HA] VIP not appearing when heartbeat starts


> On 2008-03-05T13:34:58, John Giordano <johng@dotz.info> wrote:
>
>> any help would be greatly appreciated. here are some things from the log
>> i find curious:
>>
>> IPaddr[17466]: 2008/03/04_16:19:51 ERROR: Setup problem: Couldn't find
>> utility /bin/gawk
>> IPaddr[17449]: 2008/03/04_16:19:51 ERROR: Program is not installed
>>
>> *but* it is installed:
>>
>> [root@sFlow:/var/log]$ ls -la /bin/gawk
>> -rwxr-xr-x 1 root root 252412 Jun 29 2004 /bin/gawk
>> [root@sFlow:/var/log]$
>
> That's very weird. You can try running IPaddr by hand like this:
>
> ocf-tester -n dummy-id -o ip=1.2.3.4
> /usr/lib/ocf/resource.d/heartbeat/IPaddr
>
> (Of course replacing 1.2.3.4 with the IP you want it to manage.)
>
> Then try to find out why it fails.
>
> It seems something is quite confused about the Centos/RH packages right
> now. Where did you download your package from?
>
>
> Regards,
> Lars
>
> --
> Teamlead Kernel, SuSE Labs, Research and Development
> SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
> "Experience is the name everyone gives to their mistakes." -- Oscar Wilde
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA@lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>

_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
Re: VIP not appearing when heartbeat starts (FIXED) [ In reply to ]
booyah!

i did a search on mailing list archives (yes, i know) and found the
solution.

RedHat FC3 didn't have the system command "which" installed.

did:

yum install which

and now no more can't find /bin/gawk

AND... the VIP came up.

thx,
jg

----- Original Message -----
From: "John Giordano" <johng@dotz.info>
To: "General Linux-HA mailing list" <linux-ha@lists.linux-ha.org>
Sent: Wednesday, March 05, 2008 3:48 PM
Subject: Re: [Linux-HA] VIP not appearing when heartbeat starts


> hey Lars and everyone.
>
> i downloaded the source from the main ha web site.
>
> tried your test suggestion on the main IP (bound to eth0) of the master
> server:
>
> [root@sFlow:~]$ ocf-tester -n dummy-id -o ip=10.0.0.182
> /usr/lib/ocf/resource.d/heartbeat/IPaddr
> Beginning tests for /usr/lib/ocf/resource.d/heartbeat/IPaddr...
> * rc=5: Validation failed. Did you supply enough options with -o ?
> Aborting tests
>
> then tried it just for kicks on the VIP (which isn't coming up):
>
> [root@sFlow:~]$ cat /etc/ha.d/haresources
> sflow 10.0.0.187 mysql mon
> [root@sFlow:~]$ ocf-tester -n dummy-id -o ip=10.0.0.187
> /usr/lib/ocf/resource.d/heartbeat/IPaddr
> Beginning tests for /usr/lib/ocf/resource.d/heartbeat/IPaddr...
> * rc=5: Validation failed. Did you supply enough options with -o ?
> Aborting tests
> [root@sFlow:~]$
>
> any ideas? i am stUcK....
>
> thanks
> jg
>
> ----- Original Message -----
> From: "Lars Marowsky-Bree" <lmb@suse.de>
> To: "General Linux-HA mailing list" <linux-ha@lists.linux-ha.org>
> Sent: Wednesday, March 05, 2008 2:58 PM
> Subject: Re: [Linux-HA] VIP not appearing when heartbeat starts
>
>
>> On 2008-03-05T13:34:58, John Giordano <johng@dotz.info> wrote:
>>
>>> any help would be greatly appreciated. here are some things from the
>>> log i find curious:
>>>
>>> IPaddr[17466]: 2008/03/04_16:19:51 ERROR: Setup problem: Couldn't find
>>> utility /bin/gawk
>>> IPaddr[17449]: 2008/03/04_16:19:51 ERROR: Program is not installed
>>>
>>> *but* it is installed:
>>>
>>> [root@sFlow:/var/log]$ ls -la /bin/gawk
>>> -rwxr-xr-x 1 root root 252412 Jun 29 2004 /bin/gawk
>>> [root@sFlow:/var/log]$
>>
>> That's very weird. You can try running IPaddr by hand like this:
>>
>> ocf-tester -n dummy-id -o ip=1.2.3.4
>> /usr/lib/ocf/resource.d/heartbeat/IPaddr
>>
>> (Of course replacing 1.2.3.4 with the IP you want it to manage.)
>>
>> Then try to find out why it fails.
>>
>> It seems something is quite confused about the Centos/RH packages right
>> now. Where did you download your package from?
>>
>>
>> Regards,
>> Lars
>>
>> --
>> Teamlead Kernel, SuSE Labs, Research and Development
>> SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
>> "Experience is the name everyone gives to their mistakes." -- Oscar Wilde
>>
>> _______________________________________________
>> Linux-HA mailing list
>> Linux-HA@lists.linux-ha.org
>> http://lists.linux-ha.org/mailman/listinfo/linux-ha
>> See also: http://linux-ha.org/ReportingProblems
>>
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA@lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>

_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems