Every LXC does not start

pJonathan

Member
Sep 11, 2021
38
0
11
23
Hello, I have several containers on my proxmox system, when I start it always comes to this error:
Code:
run_buffer: 321 Script exited with status 2
lxc_init: 847 Failed to run lxc.hook.pre-start for container "1000"
__lxc_start: 2008 Failed to initialize container "1000"
TASK ERROR: startup for container '1000' failed

lxc-start -n 1001 -F -l DEBUG -o /tmp/lxc-102.log outputs the following:
Code:
lxc-start 1001 20221119112537.989 INFO     confile - ../src/lxc/confile.c:set_config_idmaps:2267 - Read uid map: type u nsid 0 hostid 100000 range 65536
lxc-start 1001 20221119112537.989 INFO     confile - ../src/lxc/confile.c:set_config_idmaps:2267 - Read uid map: type g nsid 0 hostid 100000 range 65536
lxc-start 1001 20221119112537.990 INFO     lsm - ../src/lxc/lsm/lsm.c:lsm_init_static:38 - Initialized LSM security driver AppArmor
lxc-start 1001 20221119112537.990 INFO     conf - ../src/lxc/conf.c:run_script_argv:337 - Executing script "/usr/share/lxc/hooks/lxc-pve-prestart-hook" for container "1001", config section "lxc"
lxc-start 1001 20221119112538.339 DEBUG    conf - ../src/lxc/conf.c:run_buffer:310 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 1001 lxc pre-start produced output: objdump on /usr/lib/systemd/systemd failed: open3: exec of objdump -p /var/lib/lxc/1001/rootfs/usr/lib/systemd/systemd failed: No such file or directory at /usr/share/perl5/PVE/Tools.pm line 455.

lxc-start 1001 20221119112538.348 ERROR    conf - ../src/lxc/conf.c:run_buffer:321 - Script exited with status 2
lxc-start 1001 20221119112538.348 ERROR    start - ../src/lxc/start.c:lxc_init:847 - Failed to run lxc.hook.pre-start for container "1001"
lxc-start 1001 20221119112538.348 ERROR    start - ../src/lxc/start.c:__lxc_start:2008 - Failed to initialize container "1001"
lxc-start 1001 20221119112538.348 INFO     conf - ../src/lxc/conf.c:run_script_argv:337 - Executing script "/usr/share/lxc/hooks/lxc-pve-poststop-hook" for container "1001", config section "lxc"
lxc-start 1001 20221119112538.689 INFO     conf - ../src/lxc/conf.c:run_script_argv:337 - Executing script "/usr/share/lxcfs/lxc.reboot.hook" for container "1001", config section "lxc"
lxc-start 1001 20221119112539.190 ERROR    lxc_start - ../src/lxc/tools/lxc_start.c:main:306 - The container failed to start
lxc-start 1001 20221119112539.190 ERROR    lxc_start - ../src/lxc/tools/lxc_start.c:main:311 - Additional information can be obtained by setting the --logfile and --logpriority options

Storage space is enough, both privileged and non-privileged containers do not start. I have not changed anything in the system. I think the problem occurred after an update. Before I restarted the system and still had some containers running, I could restart them as well, but when they were shut down they don't come back up.

Thanks for any help!
 

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!