On 7/17/07, Andy Kipp <[EMAIL PROTECTED]> wrote:
I saw another thread on lsb and status, so I thought I would ask a
question that has been bothering me:

In my cib, I have a resource configured like so:

<primitive class="lsb" id="gwmta_7" provider="heartbeat" type="gwmta">
  <operations>
    <op id="gwmta_7_mon" interval="120s" name="monitor"
timeout="60s"/>
   </operations>
</primitive>

However when the service fails, I get this error in the syslog and it
fails to restart the service.

Jul 17 15:48:43 groupwise-2-mht lrmd: [4488]: debug: RA output
[Checking for service GWMTA ..unused ] didn't match any pattern

thats a debug message, not an error :)


Checking the return code for the lsb script status returns 3 (see
below) which is the LSB compliant return code for a server that is not
started.

[EMAIL PROTECTED]:~]# rcgwmta status
Checking for service GWMTA
unused
[EMAIL PROTECTED]:~]# echo $?
3

Shouldn't heartbeat restart the service or is there a configuration
error?

It should, yes.
Why it doesn't is hard to comment on in the absence of version
information, logs, etc.
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to