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

Andrew Beekhof andrew at beekhof.net
Mon Jun 24 20:10:13 EDT 2013


On 24/06/2013, at 9:31 PM, Jacek Konieczny <jajcus at jajcus.net> wrote:

> 
> After I have upgraded Pacemaker from 1.1.8 to 1.1.9 on a node I get the following errors
> in my syslog and Pacemaker doesn't seem to be able to start services on this node.

What else did you upgrade?  libqb too?

> 
> Jun 24 13:19:44 dev1n2 crmd[5994]:    error: qb_sys_mmap_file_open: couldn't open file /dev/shm/qb-lrmd-request-5991-5994-5-header: Permission denied (13)
> Jun 24 13:19:44 dev1n2 crmd[5994]:    error: qb_sys_mmap_file_open: couldn't open file /var/run/qb-lrmd-request-5991-5994-5-header: No such file or directory (2)
> Jun 24 13:19:44 dev1n2 crmd[5994]:    error: qb_rb_open: couldn't create file for mmap
> Jun 24 13:19:44 dev1n2 crmd[5994]:    error: qb_ipcc_shm_connect: qb_rb_open:REQUEST: No such file or directory (2)
> Jun 24 13:19:44 dev1n2 crmd[5994]:    error: qb_ipcc_shm_connect: connection failed: No such file or directory (2)
> Jun 24 13:19:44 dev1n2 crmd[5994]:  warning: do_lrm_control: Failed to sign on to the LRM 18 (30 max) times
> 
> I have googled for such messages and found nothing relevant.
> 
> Any ideas what is going wrong here?
> 
> crmd is running with uid 17 ('hacluster'). I have tried to add it to the
> 'uidgid' section of corosync conf or set uidgid.uid.17 with
> corosync-cmapctl, but it didn't help.

Which distro is this?

> 
> Also:
> 
> # ls -l /dev/shm/qb-lrmd*
> ls: cannot access /dev/shm/qb-lrmd*: No such file or directory
> 
> While on a working, Pacemaker 1.1.8 node:
> 
> # ls -l /dev/shm/qb-lrmd*
> -rw------- 1 hacluster root 20480 Jun 21 10:36 /dev/shm/qb-lrmd-event-1182-1185-6-data
> -rw------- 1 hacluster root  8248 Jun 21 10:36 /dev/shm/qb-lrmd-event-1182-1185-6-header
> -rw------- 1 hacluster root 20480 Jun 21 10:36 /dev/shm/qb-lrmd-request-1182-1185-6-data
> -rw------- 1 hacluster root  8252 Jun 21 10:36 /dev/shm/qb-lrmd-request-1182-1185-6-header
> -rw------- 1 hacluster root 20480 Jun 21 10:36 /dev/shm/qb-lrmd-response-1182-1185-6-data
> -rw------- 1 hacluster root  8248 Jun 21 10:36 /dev/shm/qb-lrmd-response-1182-1185-6-header
> 
> Greets,
> 	Jacek
> _______________________________________________
> discuss mailing list
> discuss at corosync.org
> http://lists.corosync.org/mailman/listinfo/discuss





More information about the Pacemaker mailing list