8.4.0 troubleshooting "Error: can't lock file '/var/lock/qemu-server/lock-101.conf' got timeout"

Positrono

New Member
Aug 4, 2025
1
0
1
What do I need to do to be able to actually start, shutdown, restart this Ubuntu 24.04.02 in proxmox without these issues?

If I run qm config "101" --current I get
Code:
Linux positrono 6.8.12-9-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-9 (2025-03-16T19:18Z) x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sun Aug  3 18:57:30 CDT 2025 on pts/0
root@positrono:~# qm config vmidhere --current
400 Parameter verification failed.
vmid: type check ('integer') failed - got 'vmidhere'
qm config <vmid> [OPTIONS]
root@positrono:~# qm config 101 --current
agent: 1
balloon: 121856
bios: ovmf
boot: order=scsi0;net0
cores: 16
cpu: host
efidisk0: local-lvm:vm-101-disk-0,efitype=4m,pre-enrolled-keys=1,size=4M
hostpci0: 0000:af:00,x-vga=1
machine: q35,viommu=intel
memory: 243712
meta: creation-qemu=9.2.0,ctime=1754205303
name: UbuntuVM1
net0: virtio=BC:24:11:96:4D:1C,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi0: local-lvm:vm-101-disk-1,cache=writethrough,discard=on,iothread=1,size=3584G
scsihw: virtio-scsi-single
smbios1: uuid=e3a9b0c2-0369-46b1-b60d-d183297d5069
sockets: 2
tpmstate0: local-lvm:vm-101-disk-2,size=4M,version=v2.0
vmgenid: 4d968eb2-639b-414a-87e5-4585bb50f6ae

I just don't feel like it should be so difficult to make a vm start, stop, or reset. I'm not sure why I can only successfully start the vm 25% of the time. (Note: The vnc won't run due to primary gpu being checked in pci device) I will open shell and run
Code:
qm unlock 101
or
Code:
cd /var/lock/qemu-server
followed with
Code:
rm /var/lock/qemu-server/lock-101.conf
then the start, stop, shutdown options might work and not have the error. Worst scenario I reboot the node. Then it takes forever to go through idrac9 start up then proxmox, ubuntu vm. So I would love to avoid that.

1754266461761.png