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
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?
Thanks!
- Andy
--
Andrew Kipp
Network Administrator
Velcro USA Inc.
Email: [EMAIL PROTECTED]
Work: (603) 222-4844
CONFIDENTIALITY NOTICE: This email is intended only for the person or
entity to which it is addressed and may contain confidential and/or
privileged material. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient,
please contact the sender by reply e mail and destroy all copies of the
original message. If you are the intended recipient but do not wish to
receive communications through this medium, please so advise
immediately.
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems