Failed to run lxc.hook.pre-start for container "103"

fredo2009

New Member
Oct 27, 2018
2
0
1
48
Hi All

I migrate from proxmox 3 to proxmox 5 ZFS
On 6 migrated VMs, only one does not want to start

Where is this fuc... error message?

lxc-start -lDEBUG -o 103_start.log -F -n 103 --logpriority
Code:
lxc-start 103 20181025160735.806 INFO     lsm - lsm/lsm.c:lsm_init:47 - LSM security driver AppArmor
lxc-start 103 20181025160735.807 INFO     seccomp - seccomp.c:parse_config_v2:757 - Processing "reject_force_umount  # comment this to allow umount -f;  not recommended"
lxc-start 103 20181025160735.807 INFO     seccomp - seccomp.c:do_resolve_add_rule:503 - Set seccomp rule to reject force umounts
lxc-start 103 20181025160735.807 INFO     seccomp - seccomp.c:parse_config_v2:934 - Added native rule for arch 0 for reject_force_umount action 0(kill)
lxc-start 103 20181025160735.807 INFO     seccomp - seccomp.c:do_resolve_add_rule:503 - Set seccomp rule to reject force umounts
lxc-start 103 20181025160735.807 INFO     seccomp - seccomp.c:parse_config_v2:943 - Added compat rule for arch 1073741827 for reject_force_umount action 0(kill)
lxc-start 103 20181025160735.807 INFO     seccomp - seccomp.c:do_resolve_add_rule:503 - Set seccomp rule to reject force umounts
lxc-start 103 20181025160735.807 INFO     seccomp - seccomp.c:parse_config_v2:953 - Added compat rule for arch 1073741886 for reject_force_umount action 0(kill)
lxc-start 103 20181025160735.807 INFO     seccomp - seccomp.c:do_resolve_add_rule:503 - Set seccomp rule to reject force umounts
lxc-start 103 20181025160735.807 INFO     seccomp - seccomp.c:parse_config_v2:963 - Added native rule for arch -1073741762 for reject_force_umount action 0(kill)
lxc-start 103 20181025160735.807 INFO     seccomp - seccomp.c:parse_config_v2:757 - Processing "[all]"
lxc-start 103 20181025160735.807 INFO     seccomp - seccomp.c:parse_config_v2:757 - Processing "kexec_load errno 1"
lxc-start 103 20181025160735.807 INFO     seccomp - seccomp.c:parse_config_v2:934 - Added native rule for arch 0 for kexec_load action 327681(errno)
lxc-start 103 20181025160735.807 INFO     seccomp - seccomp.c:parse_config_v2:943 - Added compat rule for arch 1073741827 for kexec_load action 327681(errno)
lxc-start 103 20181025160735.807 INFO     seccomp - seccomp.c:parse_config_v2:953 - Added compat rule for arch 1073741886 for kexec_load action 327681(errno)
lxc-start 103 20181025160735.807 INFO     seccomp - seccomp.c:parse_config_v2:963 - Added native rule for arch -1073741762 for kexec_load action 327681(errno)
lxc-start 103 20181025160735.807 INFO     seccomp - seccomp.c:parse_config_v2:757 - Processing "open_by_handle_at errno 1"
lxc-start 103 20181025160735.807 INFO     seccomp - seccomp.c:parse_config_v2:934 - Added native rule for arch 0 for open_by_handle_at action 327681(errno)
lxc-start 103 20181025160735.807 INFO     seccomp - seccomp.c:parse_config_v2:943 - Added compat rule for arch 1073741827 for open_by_handle_at action 327681(errno)
lxc-start 103 20181025160735.807 INFO     seccomp - seccomp.c:parse_config_v2:953 - Added compat rule for arch 1073741886 for open_by_handle_at action 327681(errno)
lxc-start 103 20181025160735.807 INFO     seccomp - seccomp.c:parse_config_v2:963 - Added native rule for arch -1073741762 for open_by_handle_at action 327681(errno)
lxc-start 103 20181025160735.807 INFO     seccomp - seccomp.c:parse_config_v2:757 - Processing "init_module errno 1"
lxc-start 103 20181025160735.807 INFO     seccomp - seccomp.c:parse_config_v2:934 - Added native rule for arch 0 for init_module action 327681(errno)
lxc-start 103 20181025160735.807 INFO     seccomp - seccomp.c:parse_config_v2:943 - Added compat rule for arch 1073741827 for init_module action 327681(errno)
lxc-start 103 20181025160735.807 INFO     seccomp - seccomp.c:parse_config_v2:953 - Added compat rule for arch 1073741886 for init_module action 327681(errno)
lxc-start 103 20181025160735.807 INFO     seccomp - seccomp.c:parse_config_v2:963 - Added native rule for arch -1073741762 for init_module action 327681(errno)
lxc-start 103 20181025160735.807 INFO     seccomp - seccomp.c:parse_config_v2:757 - Processing "finit_module errno 1"
lxc-start 103 20181025160735.807 INFO     seccomp - seccomp.c:parse_config_v2:934 - Added native rule for arch 0 for finit_module action 327681(errno)
lxc-start 103 20181025160735.807 INFO     seccomp - seccomp.c:parse_config_v2:943 - Added compat rule for arch 1073741827 for finit_module action 327681(errno)
lxc-start 103 20181025160735.807 INFO     seccomp - seccomp.c:parse_config_v2:953 - Added compat rule for arch 1073741886 for finit_module action 327681(errno)
lxc-start 103 20181025160735.807 INFO     seccomp - seccomp.c:parse_config_v2:963 - Added native rule for arch -1073741762 for finit_module action 327681(errno)
lxc-start 103 20181025160735.807 INFO     seccomp - seccomp.c:parse_config_v2:757 - Processing "delete_module errno 1"
lxc-start 103 20181025160735.807 INFO     seccomp - seccomp.c:parse_config_v2:934 - Added native rule for arch 0 for delete_module action 327681(errno)
lxc-start 103 20181025160735.807 INFO     seccomp - seccomp.c:parse_config_v2:943 - Added compat rule for arch 1073741827 for delete_module action 327681(errno)
lxc-start 103 20181025160735.807 INFO     seccomp - seccomp.c:parse_config_v2:953 - Added compat rule for arch 1073741886 for delete_module action 327681(errno)
lxc-start 103 20181025160735.807 INFO     seccomp - seccomp.c:parse_config_v2:963 - Added native rule for arch -1073741762 for delete_module action 327681(errno)
lxc-start 103 20181025160735.807 INFO     seccomp - seccomp.c:parse_config_v2:967 - Merging compat seccomp contexts into main context
lxc-start 103 20181025160735.807 INFO     conf - conf.c:run_script_argv:374 - Executing script "/usr/share/lxc/hooks/lxc-pve-prestart-hook" for container "103", config section "lxc"
lxc-start 103 20181025160736.236 DEBUG    conf - conf.c:run_buffer:344 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 103 lxc pre-start with output: can't open '/lib/systemd/system/container-getty@.service' - No such file or directory

lxc-start 103 20181025160736.238 DEBUG    conf - conf.c:run_buffer:344 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 103 lxc pre-start with output: error in setup task PVE::LXC::Setup::pre_start_hook

lxc-start 103 20181025160736.246 ERROR    conf - conf.c:run_buffer:353 - Script exited with status 1
lxc-start 103 20181025160736.246 ERROR    start - start.c:lxc_init:828 - Failed to run lxc.hook.pre-start for container "103"
lxc-start 103 20181025160736.246 ERROR    start - start.c:__lxc_start:1914 - Failed to initialize container "103"
lxc-start 103 20181025160736.246 ERROR    lxc_start - tools/lxc_start.c:main:330 - The container failed to start
lxc-start 103 20181025160736.246 ERROR    lxc_start - tools/lxc_start.c:main:336 - Additional information can be obtained by setting the --logfile and --logpriority options
lxc-start 103 20181025220310.225 ERROR    conf - conf.c:run_buffer:353 - Script exited with status 1
lxc-start 103 20181025220310.225 ERROR    start - start.c:lxc_init:828 - Failed to run lxc.hook.pre-start for container "103"
lxc-start 103 20181025220310.225 ERROR    start - start.c:__lxc_start:1914 - Failed to initialize container "103"
lxc-start 103 20181025220310.225 ERROR    lxc_start - tools/lxc_start.c:main:330 - The container failed to start
lxc-start 103 20181025220310.225 ERROR    lxc_start - tools/lxc_start.c:main:336 - Additional information can be obtained by setting the --logfile and --logpriority options
lxc-start 103 20181025230820.329 TRACE    commands - commands.c:lxc_cmd:312 - Connection refused - Command "get_init_pid" failed to connect command socket
lxc-start 103 20181025230820.330 TRACE    commands - commands.c:lxc_cmd:312 - Connection refused - Command "get_state" failed to connect command socket
lxc-start 103 20181025230820.330 TRACE    commands - commands.c:lxc_cmd_init:1294 - Creating abstract unix socket "/var/lib/lxc/103/command"
lxc-start 103 20181025230820.330 TRACE    start - start.c:lxc_init_handler:729 - Unix domain socket 4 for command server is ready
lxc-start 103 20181025230820.330 TRACE    start - start.c:lxc_start:2061 - Doing lxc_start
lxc-start 103 20181025230820.330 INFO     lsm - lsm/lsm.c:lsm_init:47 - LSM security driver AppArmor
lxc-start 103 20181025230820.330 TRACE    start - start.c:lxc_init:746 - Initialized LSM
lxc-start 103 20181025230820.330 TRACE    seccomp - seccomp.c:get_new_ctx:456 - Added arch 2 to main seccomp context
lxc-start 103 20181025230820.330 TRACE    seccomp - seccomp.c:get_new_ctx:464 - Removed native arch from main seccomp context
lxc-start 103 20181025230820.330 TRACE    seccomp - seccomp.c:get_new_ctx:456 - Added arch 3 to main seccomp context
lxc-start 103 20181025230820.330 TRACE    seccomp - seccomp.c:get_new_ctx:464 - Removed native arch from main seccomp context
lxc-start 103 20181025230820.330 TRACE    seccomp - seccomp.c:get_new_ctx:469 - Arch 4 already present in main seccomp context
lxc-start 103 20181025230820.330 INFO     seccomp - seccomp.c:parse_config_v2:757 - Processing "reject_force_umount  # comment this to allow umount -f;  not recommended"
lxc-start 103 20181025230820.330 INFO     seccomp - seccomp.c:do_resolve_add_rule:503 - Set seccomp rule to reject force umounts
lxc-start 103 20181025230820.330 INFO     seccomp - seccomp.c:parse_config_v2:934 - Added native rule for arch 0 for reject_force_umount action 0(kill)
lxc-start 103 20181025230820.330 INFO     seccomp - seccomp.c:do_resolve_add_rule:503 - Set seccomp rule to reject force umounts
lxc-start 103 20181025230820.330 INFO     seccomp - seccomp.c:parse_config_v2:943 - Added compat rule for arch 1073741827 for reject_force_umount action 0(kill)
lxc-start 103 20181025230820.330 INFO     seccomp - seccomp.c:do_resolve_add_rule:503 - Set seccomp rule to reject force umounts
lxc-start 103 20181025230820.330 INFO     seccomp - seccomp.c:parse_config_v2:953 - Added compat rule for arch 1073741886 for reject_force_umount action 0(kill)
lxc-start 103 20181025230820.330 INFO     seccomp - seccomp.c:do_resolve_add_rule:503 - Set seccomp rule to reject force umounts
lxc-start 103 20181025230820.330 INFO     seccomp - seccomp.c:parse_config_v2:963 - Added native rule for arch -1073741762 for reject_force_umount action 0(kill)
lxc-start 103 20181025230820.330 INFO     seccomp - seccomp.c:parse_config_v2:757 - Processing "[all]"
lxc-start 103 20181025230820.330 INFO     seccomp - seccomp.c:parse_config_v2:757 - Processing "kexec_load errno 1"
lxc-start 103 20181025230820.330 INFO     seccomp - seccomp.c:parse_config_v2:934 - Added native rule for arch 0 for kexec_load action 327681(errno)
lxc-start 103 20181025230820.330 INFO     seccomp - seccomp.c:parse_config_v2:943 - Added compat rule for arch 1073741827 for kexec_load action 327681(errno)
lxc-start 103 20181025230820.330 INFO     seccomp - seccomp.c:parse_config_v2:953 - Added compat rule for arch 1073741886 for kexec_load action 327681(errno)
lxc-start 103 20181025230820.330 INFO     seccomp - seccomp.c:parse_config_v2:963 - Added native rule for arch -1073741762 for kexec_load action 327681(errno)
lxc-start 103 20181025230820.330 INFO     seccomp - seccomp.c:parse_config_v2:757 - Processing "open_by_handle_at errno 1"
lxc-start 103 20181025230820.330 INFO     seccomp - seccomp.c:parse_config_v2:934 - Added native rule for arch 0 for open_by_handle_at action 327681(errno)
lxc-start 103 20181025230820.330 INFO     seccomp - seccomp.c:parse_config_v2:943 - Added compat rule for arch 1073741827 for open_by_handle_at action 327681(errno)
lxc-start 103 20181025230820.330 INFO     seccomp - seccomp.c:parse_config_v2:953 - Added compat rule for arch 1073741886 for open_by_handle_at action 327681(errno)
lxc-start 103 20181025230820.330 INFO     seccomp - seccomp.c:parse_config_v2:963 - Added native rule for arch -1073741762 for open_by_handle_at action 327681(errno)
lxc-start 103 20181025230820.330 INFO     seccomp - seccomp.c:parse_config_v2:757 - Processing "init_module errno 1"
lxc-start 103 20181025230820.330 INFO     seccomp - seccomp.c:parse_config_v2:934 - Added native rule for arch 0 for init_module action 327681(errno)
lxc-start 103 20181025230820.330 INFO     seccomp - seccomp.c:parse_config_v2:943 - Added compat rule for arch 1073741827 for init_module action 327681(errno)
lxc-start 103 20181025230820.330 INFO     seccomp - seccomp.c:parse_config_v2:953 - Added compat rule for arch 1073741886 for init_module action 327681(errno)
lxc-start 103 20181025230820.330 INFO     seccomp - seccomp.c:parse_config_v2:963 - Added native rule for arch -1073741762 for init_module action 327681(errno)
lxc-start 103 20181025230820.330 INFO     seccomp - seccomp.c:parse_config_v2:757 - Processing "finit_module errno 1"
lxc-start 103 20181025230820.330 INFO     seccomp - seccomp.c:parse_config_v2:934 - Added native rule for arch 0 for finit_module action 327681(errno)
lxc-start 103 20181025230820.330 INFO     seccomp - seccomp.c:parse_config_v2:943 - Added compat rule for arch 1073741827 for finit_module action 327681(errno)
lxc-start 103 20181025230820.330 INFO     seccomp - seccomp.c:parse_config_v2:953 - Added compat rule for arch 1073741886 for finit_module action 327681(errno)
lxc-start 103 20181025230820.330 INFO     seccomp - seccomp.c:parse_config_v2:963 - Added native rule for arch -1073741762 for finit_module action 327681(errno)
lxc-start 103 20181025230820.330 INFO     seccomp - seccomp.c:parse_config_v2:757 - Processing "delete_module errno 1"
lxc-start 103 20181025230820.330 INFO     seccomp - seccomp.c:parse_config_v2:934 - Added native rule for arch 0 for delete_module action 327681(errno)
lxc-start 103 20181025230820.330 INFO     seccomp - seccomp.c:parse_config_v2:943 - Added compat rule for arch 1073741827 for delete_module action 327681(errno)
lxc-start 103 20181025230820.330 INFO     seccomp - seccomp.c:parse_config_v2:953 - Added compat rule for arch 1073741886 for delete_module action 327681(errno)
lxc-start 103 20181025230820.330 INFO     seccomp - seccomp.c:parse_config_v2:963 - Added native rule for arch -1073741762 for delete_module action 327681(errno)
lxc-start 103 20181025230820.330 INFO     seccomp - seccomp.c:parse_config_v2:967 - Merging compat seccomp contexts into main context
lxc-start 103 20181025230820.330 TRACE    seccomp - seccomp.c:parse_config_v2:977 - Merged first compat seccomp context into main context
lxc-start 103 20181025230820.330 TRACE    seccomp - seccomp.c:parse_config_v2:993 - Merged second compat seccomp context into main context
lxc-start 103 20181025230820.330 TRACE    start - start.c:lxc_init:753 - Read seccomp policy
lxc-start 103 20181025230820.330 TRACE    start - start.c:lxc_serve_state_clients:431 - Set container state to STARTING
lxc-start 103 20181025230820.330 TRACE    start - start.c:lxc_serve_state_clients:434 - No state clients registered
lxc-start 103 20181025230820.330 TRACE    start - start.c:lxc_init:761 - Set container state to "STARTING"
lxc-start 103 20181025230820.330 TRACE    start - start.c:lxc_init:824 - Set environment variables
lxc-start 103 20181025230820.330 INFO     conf - conf.c:run_script_argv:374 - Executing script "/usr/share/lxc/hooks/lxc-pve-prestart-hook" for container "103", config section "lxc"
lxc-start 103 20181025230820.777 DEBUG    conf - conf.c:run_buffer:344 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 103 lxc pre-start with output: can't open '/lib/systemd/system/container-getty@.service' - No such file or directory

lxc-start 103 20181025230820.778 DEBUG    conf - conf.c:run_buffer:344 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 103 lxc pre-start with output: error in setup task PVE::LXC::Setup::pre_start_hook

lxc-start 103 20181025230820.787 ERROR    conf - conf.c:run_buffer:353 - Script exited with status 1
lxc-start 103 20181025230820.787 ERROR    start - start.c:lxc_init:828 - Failed to run lxc.hook.pre-start for container "103"
lxc-start 103 20181025230820.787 TRACE    start - start.c:lxc_serve_state_clients:431 - Set container state to ABORTING
lxc-start 103 20181025230820.787 TRACE    start - start.c:lxc_serve_state_clients:434 - No state clients registered
lxc-start 103 20181025230820.787 ERROR    start - start.c:__lxc_start:1914 - Failed to initialize container "103"
lxc-start 103 20181025230820.787 ERROR    lxc_start - tools/lxc_start.c:main:330 - The container failed to start
lxc-start 103 20181025230820.787 ERROR    lxc_start - tools/lxc_start.c:main:336 - Additional information can be obtained by setting the --logfile and --logpriority options

Thanks for your 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!