[Openais] Access denied when corosync is run by cman service.

Alan Conway aconway at redhat.com
Fri Feb 13 07:41:34 PST 2009


Chrissie Caulfield wrote:
> Alan Conway wrote:
>> Chrissie Caulfield wrote:
>>> Alan Conway wrote:
>>>> I've got a cluster app that works fine with corosync alone. Hoever if
>>>> I start corosync via cman I get errno 11 - "access denied" from
>>>> cpg_init. Is there some different security rule when cman is in play?
>>> cman enables quorum, and many IPC calls are blocked when the cluster is
>>> inquorate - including CPG. So it could be simply that you need to make
>>> sure your cluster has quorum.
>>>
>> Nope, not that. Even when cman_tool says the cluster is quorate, I get
>> cpg error 11 trying to start my application. Any other ideas?
> 
> Well, 11 is ERR_ACCESS so it could be that your client is not running
> with the necessary permissions or maybe that CPG isn't loaded into corosync.
> 

If I run corosync without cman, everything works fine. If I service start cman 
it runs corosync and I get this problem. Is there some cman configuration I need 
to change to get it to load CPG? Does corosync use a different config file when 
run by cman?


More information about the Openais mailing list