[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-ha-dev
Subject: Re: [Linux-ha-dev] Re: [Linux-ha-cvs] E CVS: ldirectord by alan from 24.221.212.80
From: Alan Robertson <alanr () unix ! sh>
Date: 2002-04-27 4:51:50
[Download RAW message or body]
Ragnar Kjørstad wrote:
> On Fri, Apr 26, 2002 at 09:32:55PM -0000, linux-ha-cvs-admin@lists.community.tummy.com wrote:
>
>>But to work properly with heartbeat, shouldn't ldirectord avoid the word "running"
>>since this is one of the words heartbeat looks for to indicate the resource is active.
>>
>>Changing ldirectord to say "stopped" instead of "not running" fixes the problem.
>>
>
> What caused the problem? Heartbeat checking if the service was running
> at bootup?
>
> If so, shouldn't heartbeat check the exit-code rather than the output?
That would be a good idea if all my customers ran versions of Linux which do
this correctly ;-)
Until a recent LSB edition, there was no standard. On Red Hat, they used to
return 0 if they could correctly determine status (regardless of what the
status was ;-))
-- Alan Robertson
alanr@unix.sh
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.community.tummy.com
http://lists.community.tummy.com/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