libqb error in proxmox 2.2

nadir.latif

New Member
Nov 4, 2012
18
0
1
Hello...after we installed some kernel updates on our proxmox server we started getting following errors when we type qm list. we get this error for all qm commands. seems like there is an issue with the kvm on proxmox:

libqb: unix.c:79 [3] couldn't open file /dev/shm/: Is a directory (21)
libqb: unix.c:85 [3] couldn't open file /var/run/: Is a directory (21)
libqb: ipc_us.c:381 [3] couldn't open file for mmap: Is a directory (21)
ipcc_send_rec failed: Is a directory
libqb: unix.c:79 [3] couldn't open file /dev/shm/: Is a directory (21)
libqb: unix.c:85 [3] couldn't open file /var/run/: Is a directory (21)
libqb: ipc_us.c:381 [3] couldn't open file for mmap: Is a directory (21)
ipcc_send_rec failed: Is a directory
libqb: unix.c:79 [3] couldn't open file /dev/shm/: Is a directory (21)
libqb: unix.c:85 [3] couldn't open file /var/run/: Is a directory (21)
libqb: ipc_us.c:381 [3] couldn't open file for mmap: Is a directory (21)
ipcc_send_rec failed: Is a directory
libqb: unix.c:79 [3] couldn't open file /dev/shm/: Is a directory (21)
libqb: unix.c:85 [3] couldn't open file /var/run/: Is a directory (21)
libqb: ipc_us.c:381 [3] couldn't open file for mmap: Is a directory (21)
libqb: unix.c:79 [3] couldn't open file /dev/shm/: Is a directory (21)
libqb: unix.c:85 [3] couldn't open file /var/run/: Is a directory (21)
libqb: ipc_us.c:381 [3] couldn't open file for mmap: Is a directory (21)

Thanks,

Nadir Latif
 
What is the output of

# pveversion -v

Here is the output:

pve-manager: 2.2-31 (pve-manager/2.2/e94e95e9)
running kernel: 2.6.32-16-pve
proxmox-ve-2.6.32: 2.2-82
pve-kernel-2.6.32-11-pve: 2.6.32-66
pve-kernel-2.6.32-16-pve: 2.6.32-82
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.4-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.93-2
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.9-1
pve-cluster: 1.0-33
qemu-server: 2.0-69
pve-firmware: 1.0-21
libpve-common-perl: 1.0-39
libpve-access-control: 1.0-25
libpve-storage-perl: 2.0-36
vncterm: 1.0-3
vzctl: 4.0-1pve2
vzprocps: 2.0.11-2
vzquota: 3.1-1
pve-qemu-kvm: 1.2-7
ksm-control-daemon: 1.1-1

Thanks,

Nadir Latif
 
we gave our server more ram. now it has 8g ram with 60% free. but we are still getting the same error.
 
Is this a standard installation using our installation CD, or a custom install (do you run any other software on the host)?
 
here is the output:

root@swarm:~# ls -l /dev/shm/
total 18792
-rw------- 1 root root 1048576 Nov 19 11:31 qb-pve2-event-1788-25-data
-rw------- 1 root root 8248 Nov 19 11:31 qb-pve2-event-1788-25-header
-rw------- 1 root root 1048576 Nov 21 11:21 qb-pve2-event-89631-234-data
-rw------- 1 root root 8248 Nov 21 11:21 qb-pve2-event-89631-234-header
-rw------- 1 root root 1048576 Nov 21 11:39 qb-pve2-event-90172-244-data
-rw------- 1 root root 8248 Nov 21 11:39 qb-pve2-event-90172-244-header
-rw------- 1 root root 1048576 Nov 21 11:39 qb-pve2-event-90188-159-data
-rw------- 1 root root 8248 Nov 21 11:39 qb-pve2-event-90188-159-header
-rw------- 1 www-data www-data 1048576 Nov 21 11:55 qb-pve2-event-90958-74-data
-rw------- 1 www-data www-data 8248 Nov 21 11:55 qb-pve2-event-90958-74-header
-rw------- 1 www-data www-data 1048576 Nov 21 11:55 qb-pve2-event-90966-20-data
-rw------- 1 www-data www-data 8248 Nov 21 11:55 qb-pve2-event-90966-20-header
-rw------- 1 root root 1048576 Nov 19 12:07 qb-pve2-request-1788-25-data
-rw------- 1 root root 8252 Nov 19 11:31 qb-pve2-request-1788-25-header
-rw------- 1 root root 1048576 Nov 21 11:39 qb-pve2-request-89631-234-data
-rw------- 1 root root 8252 Nov 21 11:21 qb-pve2-request-89631-234-header
-rw------- 1 root root 1048576 Nov 21 11:39 qb-pve2-request-90172-244-data
-rw------- 1 root root 8252 Nov 21 11:39 qb-pve2-request-90172-244-header
-rw------- 1 root root 1048576 Nov 21 11:40 qb-pve2-request-90188-159-data
-rw------- 1 root root 8252 Nov 21 11:39 qb-pve2-request-90188-159-header
-rw------- 1 www-data www-data 1048576 Nov 21 11:55 qb-pve2-request-90958-74-data
-rw------- 1 www-data www-data 8252 Nov 21 11:55 qb-pve2-request-90958-74-header
-rw------- 1 www-data www-data 1048576 Nov 21 11:56 qb-pve2-request-90966-20-data
-rw------- 1 www-data www-data 8252 Nov 21 11:55 qb-pve2-request-90966-20-header
-rw------- 1 root root 1048576 Nov 19 11:31 qb-pve2-response-1788-25-data
-rw------- 1 root root 8248 Nov 19 11:31 qb-pve2-response-1788-25-header
-rw------- 1 root root 1048576 Nov 21 11:21 qb-pve2-response-89631-234-data
-rw------- 1 root root 8248 Nov 21 11:21 qb-pve2-response-89631-234-header
-rw------- 1 root root 1048576 Nov 21 11:39 qb-pve2-response-90172-244-data
-rw------- 1 root root 8248 Nov 21 11:39 qb-pve2-response-90172-244-header
-rw------- 1 root root 1048576 Nov 21 11:39 qb-pve2-response-90188-159-data
-rw------- 1 root root 8248 Nov 21 11:39 qb-pve2-response-90188-159-header
-rw------- 1 www-data www-data 1048576 Nov 21 11:55 qb-pve2-response-90958-74-data
-rw------- 1 www-data www-data 8248 Nov 21 11:55 qb-pve2-response-90958-74-header
-rw------- 1 www-data www-data 1048576 Nov 21 11:55 qb-pve2-response-90966-20-data
-rw------- 1 www-data www-data 8248 Nov 21 11:55 qb-pve2-response-90966-20-header
root@swarm:~#
 
yes we are still getting the error. we get the errors when we enter any qemu command. e.g qm list
 
Last edited:
we checked syslog output and noticed following errors:

Nov 30 00:03:53 king pmxcfs[1294]: [ipcs] crit: connection from bad user 0! - rejected
Nov 30 00:03:53 king pmxcfs[1294]: [libqb] error: Error in connection setup: Success (0)
Nov 30 00:03:53 king pmxcfs[1294]: [ipcs] crit: connection from bad user 0! - rejected
Nov 30 00:03:53 king pmxcfs[1294]: [libqb] error: Error in connection setup: Success (0)
Nov 30 00:03:53 king pmxcfs[1294]: [ipcs] crit: connection from bad user 0! - rejected
Nov 30 00:03:53 king pmxcfs[1294]: [libqb] error: Error in connection setup: Success (0)
Nov 30 00:03:53 king pmxcfs[1294]: [ipcs] crit: connection from bad user 0! - rejected
Nov 30 00:03:53 king pmxcfs[1294]: [libqb] error: Error in connection setup: Success (0)
Nov 30 00:03:53 king pmxcfs[1294]: [ipcs] crit: connection from bad user 0! - rejected
Nov 30 00:03:53 king pmxcfs[1294]: [libqb] error: Error in connection setup: Success (0)
 
I have no more ideas - Maybe you can do a fresh install on another node and test if you can reproduce the bug there?
 
problem was we had by mistake updated the group membership of root user. when i set the root user group to "root", all the qm commands started working. is the root user part of other groups. pls give us list of groups for root user.

Thanks,

Nadir Latif
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!