[Linux-HA] Question on lsb status scripts on SuSE
beekhof at gmail.com
Wed Jul 18 02:25:03 MDT 2007
On 7/17/07, Andy Kipp <AKIPP at velcro.com> 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">
> <op id="gwmta_7_mon" interval="120s" name="monitor"
> 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: : 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
> [root at groupwise-2-mht:~]# rcgwmta status
> Checking for service GWMTA
> [root at groupwise-2-mht:~]# echo $?
> Shouldn't heartbeat restart the service or is there a configuration
It should, yes.
Why it doesn't is hard to comment on in the absence of version
information, logs, etc.
More information about the Linux-HA