[SOLVED] ipcc_send_rec errors after fresh install

nanoy

New Member
Mar 11, 2020
2
1
1
25
Hi all.

After a fresh install of proxmox (on top of debian buster, using proxmox-ve package) we are experiencing errors with terminal commands. The web interface is up and running and we can create, launch, backup, restore VMs etc...

The qm list commands gives the following output :
Code:
ipcc_send_rec[1] failed: No such file or directory
ipcc_send_rec[2] failed: No such file or directory
ipcc_send_rec[3] failed: No such file or directory
generating the following error messages in pve-cluster logs :
Code:
mars 11 18:29:24 cocobanger pmxcfs[6855]: [ipcs] crit: connection from bad user 0! - rejected
mars 11 18:29:24 cocobanger pmxcfs[6855]: [libqb] error: Error in connection setup (/dev/shm/qb-6855-8115-23-V7AcGu/qb): Unknown error -1 (-1)

Most of the commands give similar errors (ipcc_send_rec failed). The pvecm status command gives another error :
Code:
ipcc_send_rec[1] failed: No such file or directory
ipcc_send_rec[2] failed: No such file or directory
ipcc_send_rec[3] failed: No such file or directory
ipcc_send_rec[1] failed: No such file or directory
ipcc_send_rec[2] failed: No such file or directory
ipcc_send_rec[3] failed: No such file or directory
Can't use an undefined value as a HASH reference at /usr/share/perl5/PVE/CLI/pvecm.pm line 462, <DATA> line 755.

Here is the output of pveversion -v :
Code:
root@cocobanger ~ # pveversion -v
proxmox-ve: 6.1-2 (running kernel: 5.3.18-2-pve)
pve-manager: 6.1-7 (running version: 6.1-7/13e58d5e)
pve-kernel-helper: 6.1-6
pve-kernel-5.3: 6.1-5
pve-kernel-5.3.18-2-pve: 5.3.18-2
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.0.3-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: 0.8.35+pve1
ksmtuned: 4.20150325+b1
libjs-extjs: 6.0.1-10
libknet1: 1.15-pve1
libpve-access-control: 6.0-6
libpve-apiclient-perl: 3.0-3
libpve-common-perl: 6.0-13
libpve-guest-common-perl: 3.0-3
libpve-http-server-perl: 3.0-4
libpve-storage-perl: 6.1-5
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 3.2.1-1
lxcfs: 3.0.3-pve60
novnc-pve: 1.1.0-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.1-3
pve-cluster: 6.1-4
pve-container: 3.0-21
pve-docs: 6.1-6
pve-edk2-firmware: 2.20200229-1
pve-firewall: 4.0-10
pve-firmware: 3.0-6
pve-ha-manager: 3.0-8
pve-i18n: 2.0-4
pve-qemu-kvm: 4.1.1-3
pve-xtermjs: 4.3.0-1
qemu-server: 6.1-6
smartmontools: 7.1-pve2
spiceterm: 3.1-1
vncterm: 1.6-1
zfsutils-linux: 0.8.3-pve1

I think it is some king of permission error, as the ipcc errors disappear when launched by www-data :

Code:
root@cocobanger ~ # qm list
ipcc_send_rec[1] failed: No such file or directory
ipcc_send_rec[2] failed: No such file or directory
ipcc_send_rec[3] failed: No such file or directory
root@cocobanger ~ # sudo -u www-data qm list
please run as root
root@cocobanger ~ # sudo -u nanoy qm list
ipcc_send_rec[1] failed: No such file or directory
ipcc_send_rec[2] failed: No such file or directory
ipcc_send_rec[3] failed: No such file or directory
please run as root

We tried to reinstall proxmox completely without any success.
 
Ok. So it's magically started working this morning. It seems we resolved the issue by setting the primary group of root to be root with the command :
Code:
usermod -g root root

The primary group of root was ssh before that fore some reason (root was also in the group root).

I will mark this issue as resolved.
 
  • Like
Reactions: Moayad
This also happened to me when I had SSH'd in as a normal user then sudo'd to root
Fixed when I logged in as root directly
 

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!