[ClusterLabs] OCF Pound

Jan Pokorný jpokorny at redhat.com
Tue Oct 20 16:08:38 UTC 2015


On 20/10/15 11:25 -0400, Tim Bourne wrote:
> I recently installed a cluster (2 nodes) that is pretty simple. It
> just has a few IP addresses and an instance of Pound. I was having
> issues getting pound to start correctly. The error I received was: 
> 
> ERROR: /usr/lib/ocf/resource.d/heartbeat/pound: 1: /usr/lib/ocf/resource.d/heartbeat/pound: -c: not found 
> 
> I found a solution and thought I'd post it here just in case anyone
> else was running into the same issue. And to see if my solution was
> the right one. 
> 
> In /usr/lib/ocf/resource.d/heartbeat/pound on line 40the
> OCF_RESKEY_ctl_binary is set like this. 
> : ${OCF_RESKEY_ctl_binary=${OCF_RESKEY_client_ctl_default}} 
> 
> This means OCF_RESKEY_ctl_binary was set to an empty value, which
> obviously isn't a good thing. 
> 
> If I read things correctly, it should be set like this instead: 
> : ${OCF_RESKEY_ctl_binary=${OCF_RESKEY_ctl_binary_default}} 
> 
> since OCF_RESKEY_ctl_binary_default is what is used on line 35.
> After updating as mentioned things work as expected. 

Upstream is OK:
https://github.com/ClusterLabs/resource-agents/blob/v3.9.6/heartbeat/pound#L41

Please raise it with your distribution or update the package.

-- 
Jan (Poki)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20151020/cd8aa80c/attachment-0004.sig>


More information about the Users mailing list