LXC Container not Starting UP

GuillermoC

New Member
Jul 13, 2019
3
0
1
44
Hi,
Trying to start an LXC container from GUI fails.
From console i get this:

upload_2019-7-12_16-27-18.png

journalctl -xe returns this:

upload_2019-7-12_16-31-13.png

log returns this:
upload_2019-7-12_16-36-27.png

It seems from the log that the error is coming from:

---------------------------------------------------------------

lxc-start 100 20190712223530.156 INFO conf - conf.c:run_script_argv:374 - Executing script "/usr/share/lxc/hooks/lxc-pve-prestart-hook" for container "100", config section "lxc"
lxc-start 100 20190712223530.990 DEBUG conf - conf.c:run_buffer:344 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 100 lxc pre-start with output: can't open '/usr/lib/systemd/system/container-getty@.service' - No such file or directory

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

-------------------------------------------------------------
What ive done?
A) ran apt update and then apt upgrade and the reboot the node.

B) ran pct fsck 100 and the result was:

root@proxmox:/tmp# pct fsck 100
fsck from util-linux 2.29.2
/dev/mapper/pve-vm--100--disk--0: clean, 79981/13107200 files, 6091084/52428800 blocks

C) ran fsck on the system by putting a fsck file in the root.

D) lvs and lvscan look normal

upload_2019-7-12_16-41-13.png

Please any other ideas on how to troubleshoot this or how to fix this?

Other containers start up just fine.

Thanks in advanced
 

Attachments

  • upload_2019-7-12_16-29-21.png
    upload_2019-7-12_16-29-21.png
    285.7 KB · Views: 2
hi,
show us your config output from `pct config CTID`
 
Here is the output of 'pct config 100'.

Code:
arch: amd64
cores: 2
hostname: biblioteca
memory: 4096
net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=5A:04:F5:0C:DF:33,ip=dhcp,ip6=dhcp,type=veth
onboot: 1
ostype: ubuntu
rootfs: local-lvm:vm-100-disk-0,size=200G
startup: order=1,up=15
swap: 4096

And im using this CT Image downloaded from proxmox repo:

ubuntu-18.04-standard_18.04-1_amd64.tar.gz

Thanks for any help.

Guillermo
 
Ok Guys, short story , be aware with CT contatainers in proxmox. I had to do a full reinstall of my application and deploy an external backup.
 

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!