[Pacemaker] pacemaker/corosync: error: qb_sys_mmap_file_open: couldn't open file
Andrew Beekhof
andrew at beekhof.net
Wed Jun 26 08:38:37 UTC 2013
Sent from a mobile device
On 26/06/2013, at 5:44 PM, Jacek Konieczny <jajcus at jajcus.net> wrote:
> On Wed, 26 Jun 2013 14:35:03 +1000
> Andrew Beekhof <andrew at beekhof.net> wrote:
>> Urgh:
>>
>> info Jun 25 13:40:10 lrmd_ipc_connect(913):0: Connecting to lrmd
>> trace Jun 25 13:40:10 pick_ipc_buffer(670):0: Using max message
>> size of 51200 error Jun 25 13:40:10
>> qb_sys_mmap_file_open(92):2147483648: couldn't open
>> file /dev/shm/qb-lrmd-request-25209-25212-6-header: Permission denied
>> (13)
>>
>> useless :-(
>
> :-(
>
>> trace Jun 25 13:40:10 gio_read_socket(366):0: 0xa6c140.4 1 (ref=1)
>> trace Jun 25 13:40:10 lrmd_ipc_accept(89):0: Connection 0xa6d110
>> info Jun 25 13:40:10 crm_client_new(276):0: Connecting 0xa6d110
>> for uid=17 gid=0 pid=25212 id=d771e06b-47e7-43a6-a447-63343870396e
>> debug Jun 25 13:40:10 handle_new_connection(735):2147483648: IPC
>> credentials authenticated (25209-25212-6) debug Jun 25 13:40:10
>> qb_ipcs_shm_connect(282):2147483648: connecting to client [25212]
>>
>> Slightly more helpful...
>>
>> What group(s) does uid=17 have?
>
> # id hacluster
> uid=17(hacluster) gid=60(haclient) groups=60(haclient)
> # ps -u hacluster
> PID TTY TIME CMD
> 2335 ? 00:00:00 cib
> 2339 ? 00:00:00 attrd
> 2340 ? 00:00:00 pengine
> 2355 ? 00:00:00 crmd
> # grep -E '^(Uid|Gid|Groups)' /proc/2355/status
> Uid: 17 17 17 17
> Gid: 0 0 0 0
> Groups:
>
> So, crmd runs with the 'hacluster' uid, but no associated gid/groups.
> Can this be the problem?
Definitely.
Urgh. Now that I look closer, I see the commits I was thinking of came _after_ 1.1.9, not before :-(
So basically you need an rc of 1.1.10
Sorry
>
> Jacek
More information about the Pacemaker
mailing list