lxc reboot issue

RobFantini

Famous Member
May 24, 2012
2,040
107
133
Boston,Mass
'reboot' error from cli and pve
Code:
run_buffer: 571 Script exited with status 32
lxc_init: 845 Failed to run lxc.hook.pre-start for container "501"
__lxc_start: 2034 Failed to initialize container "501"
TASK ERROR: startup for container '501' failed

more info:
Code:
# pct config 501 
arch: amd64 
cores: 2 description: keep this.  used a few times a year for random vlan tests.    %0A%0Ajust change IP and vlan at Network%0A 
features: nesting=1 
hostname: test-vlan 
memory: 1024 
nameserver: 127.0.0.1 
net0: name=eth0,bridge=vmbr3,hwaddr=6E:84:0A:8A:2B:8C,ip=dhcp,tag=37,type=veth 
onboot: 0 
ostype: debian 
parent: vzdump protection: 1 
rootfs: nvme-4tb:vm-501-disk-0,size=8G 
searchdomain: fantinibakery.com 
swap: 512 
tags: tests
 
Last edited:
Code:
proxmox-ve: 8.3.0 (running kernel: 6.8.12-4-pve)
pve-manager: 8.3.2 (running version: 8.3.2/3e76eec21c4a14a7)
proxmox-kernel-helper: 8.1.0
proxmox-kernel-6.8: 6.8.12-4
proxmox-kernel-6.8.12-4-pve-signed: 6.8.12-4
proxmox-kernel-6.8.12-2-pve-signed: 6.8.12-2
proxmox-kernel-6.5.13-6-pve-signed: 6.5.13-6
proxmox-kernel-6.5: 6.5.13-6
ceph: 18.2.4-pve3
ceph-fuse: 18.2.4-pve3
corosync: 3.1.7-pve3
criu: 3.17.1-2
dnsmasq: 2.89-1
glusterfs-client: 10.3-5
ifupdown2: 3.2.0-1+pmx11
ksm-control-daemon: 1.5-1
libjs-extjs: 7.0.0-5
libknet1: 1.28-pve1
libproxmox-acme-perl: 1.5.1
libproxmox-backup-qemu0: 1.4.1
libproxmox-rs-perl: 0.3.4
libpve-access-control: 8.2.0
libpve-apiclient-perl: 3.3.2
libpve-cluster-api-perl: 8.0.10
libpve-cluster-perl: 8.0.10
libpve-common-perl: 8.2.9
libpve-guest-common-perl: 5.1.6
libpve-http-server-perl: 5.1.2
libpve-network-perl: 0.10.0
libpve-rs-perl: 0.9.1
libpve-storage-perl: 8.3.2
libspice-server1: 0.15.1-1
lvm2: 2.03.16-2
lxc-pve: 6.0.0-1
lxcfs: 6.0.0-pve2
novnc-pve: 1.5.0-1
proxmox-backup-client: 3.3.2-1
proxmox-backup-file-restore: 3.3.2-2
proxmox-firewall: 0.6.0
proxmox-kernel-helper: 8.1.0
proxmox-mail-forward: 0.3.1
proxmox-mini-journalreader: 1.4.0
proxmox-offline-mirror-helper: 0.6.7
proxmox-widget-toolkit: 4.3.3
pve-cluster: 8.0.10
pve-container: 5.2.2
pve-docs: 8.3.1
pve-edk2-firmware: 4.2023.08-4
pve-esxi-import-tools: 0.7.2
pve-firewall: 5.1.0
pve-firmware: 3.14-1
pve-ha-manager: 4.0.6
pve-i18n: 3.3.2
pve-qemu-kvm: 9.0.2-4
pve-xtermjs: 5.3.0-3
pve-zsync: 2.3.1
qemu-server: 8.3.3
smartmontools: 7.3-pve1
spiceterm: 3.3.0
swtpm: 0.8.0+pve1
vncterm: 1.8.0
zfsutils-linux: 2.2.6-pve1
 
Code:
#  can not use debug on reboot
root@pve7:[~]:# pct reboot  501 --debug
Unknown option: debug
400 unable to parse option
pct reboot <vmid> [OPTIONS]

root@pve7:[~]:# pct reboot  501 
run_buffer: 571 Script exited with status 32
lxc_init: 845 Failed to run lxc.hook.pre-start for container "501"
__lxc_start: 2034 Failed to initialize container "501"
startup for container '501' failed
 
I just tested 'start' from pve. every other time it fails. literally every other time. from cli:
Code:
root@pve7:[~]:# pct start 501
run_buffer: 571 Script exited with status 32
lxc_init: 845 Failed to run lxc.hook.pre-start for container "501"
__lxc_start: 2034 Failed to initialize container "501"
startup for container '501' failed

root@pve7:[~]:# pct start 501;date
Sun Dec 22 09:44:39 AM EST 2024

root@pve7:[~]:# pct shutdown 501;date
Sun Dec 22 09:44:51 AM EST 2024

root@pve7:[~]:# pct start 501;date
run_buffer: 571 Script exited with status 32
lxc_init: 845 Failed to run lxc.hook.pre-start for container "501"
__lxc_start: 2034 Failed to initialize container "501"
startup for container '501' failed
Sun Dec 22 09:44:55 AM EST 2024

root@pve7:[~]:# pct start 501;date
Sun Dec 22 09:44:59 AM EST 2024

root@pve7:[~]:# pct shutdown 501;date
Sun Dec 22 09:45:05 AM EST 2024

root@pve7:[~]:# pct start 501;date
run_buffer: 571 Script exited with status 32
lxc_init: 845 Failed to run lxc.hook.pre-start for container "501"
__lxc_start: 2034 Failed to initialize container "501"
startup for container '501' failed
Sun Dec 22 09:45:09 AM EST 2024

root@pve7:[~]:# pct start 501;date
Sun Dec 22 09:45:13 AM EST 2024
 

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!