[Pacemaker] killproc not found? o2cb shutdown via resource agent

Matthew O'Connor matt at ecsorl.com
Wed Nov 7 17:59:49 EST 2012

Follow-up and additional info:

System is Ubuntu 12.04.  Not sure where killproc is supposed to be
derived from, or if there is an assumption for it to be a standalone
binary or script.  I did find it defined in /lib/lsb/init-functions. 
Adding a ". /lib/lsb/init-functions" to the start of the
/usr/lib/ocf/resource.d/heartbeat/.ocf-shellfuncs file makes the
process-kill work, but I suspect this is not the most desirable solution.

Any thoughts on the consequences of killproc not functioning?  Any
suggestions on a cleaner way to fix this?

Thanks again!

On 11/07/2012 05:43 PM, Matthew O'Connor wrote:
> Hi,
> Trying to get a new cluster running, and hitting a snag when bringing
> nodes offline.  FWIW, this very well could be nothing, but for sake of
> making everything run "correctly..."  I pulled the following out of the
> syslog:
> Nov  7 16:59:23 hv02 o2cb[6088]: INFO: Stopping p_o2cb:0
> Nov  7 16:59:23 hv02 o2cb[6088]: INFO: Stopping ocfs2_controld.cman
> Nov  7 16:59:23 hv02 lrmd: [2955]: info: RA output:
> (p_o2cb:0:stop:stderr) /usr/lib/ocf/resource.d//pacemaker/o2cb: line
> 169: killproc: command not found
> Any thoughts on the above killproc failure?  The apparent consequence of
> this is that ocfs2_controld.cman is still running.
> Thanks!
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> 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://bugs.clusterlabs.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20121107/3458ec5f/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5029 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20121107/3458ec5f/attachment-0003.p7s>

More information about the Pacemaker mailing list