[Pacemaker] pacemaker/corosync: error: qb_sys_mmap_file_open: couldn't open file

Jacek Konieczny jajcus at jajcus.net
Wed Jun 26 09:08:52 UTC 2013


On Wed, 26 Jun 2013 18:38:37 +1000
Andrew Beekhof <andrew at beekhof.net> wrote:
> >> 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 

1.1.10-rc5 works. Thanks a lot for the debugging help! :)

Jacek




More information about the Pacemaker mailing list