On Sun, Oct 10, 2010 at 12:47 AM, Pavlos Parissis <[email protected]> wrote: > Hi, > > My resource is not started because I get this > > 00:44:27 crmd: [3141]: WARN: status_from_rc: Action 16 > (pbx_02_monitor_0) on node-02 failed (target: 7 vs. rc: 5): Error > > but when I run manually the status I get 3, which ok because the > application is stopped > > [r...@node-02 ~]# /etc/init.d/znd-pbx_02 status > pbx_02 is stopped > [r...@node-02 ~]# echo $? > 3 > > why does crm get error in this case?
I imagine because when pacemaker ran it, the script didn't return 3. _______________________________________________ Pacemaker mailing list: [email protected] http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
