[SOLVED] VE 5.0 TASK ERROR: command 'systemctl start lxc@10x' failed: exit code 1

Cyberavis

Member
Oct 9, 2016
8
0
6
40
I create new container (debian-9.0-standard_9.0-2_amd64.tar.gz).
In container I perform only:
Code:
apt-get update && apt-get upgrade
reboot

And CT cannot start, giving this error:
Code:
Job for lxc@105.service failed because the control process exited with error code.
See "systemctl status lxc@105.service" and "journalctl -xe" for details.
TASK ERROR: command 'systemctl start lxc@105' failed: exit code 1

pveversion -v
Code:
proxmox-ve: 5.0-15 (running kernel: 4.10.15-1-pve)
pve-manager: 5.0-23 (running version: 5.0-23/af4267bf)
pve-kernel-4.10.15-1-pve: 4.10.15-15
libpve-http-server-perl: 2.0-5
lvm2: 2.02.168-pve2
corosync: 2.4.2-pve3
libqb0: 1.0.1-1
pve-cluster: 5.0-10
qemu-server: 5.0-12
pve-firmware: 2.0-2
libpve-common-perl: 5.0-16
libpve-guest-common-perl: 2.0-11
libpve-access-control: 5.0-5
libpve-storage-perl: 5.0-12
pve-libspice-server1: 0.12.8-3
vncterm: 1.5-2
pve-docs: 5.0-6
pve-qemu-kvm: 2.9.0-2
pve-container: 2.0-14
pve-firewall: 3.0-1
pve-ha-manager: 2.0-2
ksm-control-daemon: 1.2-2
glusterfs-client: 3.8.8-1
lxc-pve: 2.0.8-3
lxcfs: 2.0.7-pve2
criu: 2.11.1-1~bpo90
novnc-pve: 0.6-4
smartmontools: 6.5+svn4324-1
zfsutils-linux: 0.6.5.9-pve16~bpo90

pct config 105:
Code:
arch: amd64
cores: 1
hostname: test
memory: 512
net0: name=eth0,bridge=vmbr0,gw=172.22.22.1,hwaddr=9A:80:46:2B:17:12,ip=172.22.22.105/25,type=veth
ostype: debian
rootfs: local-lvm:vm-105-disk-1,size=2G
swap: 128
 
please upgrade your installation, pve-container 2.0-15 contains a fix for debian containers
 
OK, thank you for help, but I can't upgrade this packet because it is my home testing VE so i don't have any subscription for this server.

systemctl status lxc@105.service:
Code:
● lxc@105.service - LXC Container: 105
   Loaded: loaded (/lib/systemd/system/lxc@.service; disabled; vendor preset: enabled)
  Drop-In: /usr/lib/systemd/system/lxc@.service.d
           └─pve-reboot.conf
   Active: failed (Result: exit-code) since Tue 2017-08-08 14:49:40 CEST; 3h 36min ago
     Docs: man:lxc-start
           man:lxc
  Process: 6581 ExecStopPost=/usr/share/lxc/lxc-pve-reboot-trigger 105 (code=exited, status=0/SUCCESS)
  Process: 6659 ExecStart=/usr/bin/lxc-start -n 105 (code=exited, status=1/FAILURE)
 Main PID: 2223 (code=exited, status=1/FAILURE)

Aug 08 14:35:40 DELL-T7500 systemd[1]: Starting LXC Container: 105...
Aug 08 14:49:40 DELL-T7500 lxc-start[6659]: lxc-start: tools/lxc_start.c: main: 366 The container failed to start.
Aug 08 14:49:40 DELL-T7500 lxc-start[6659]: lxc-start: tools/lxc_start.c: main: 368 To get more details, run the container in foreground mode.
Aug 08 14:49:40 DELL-T7500 lxc-start[6659]: lxc-start: tools/lxc_start.c: main: 370 Additional information can be obtained by setting the --logfile and --logpriority options.
Aug 08 14:49:40 DELL-T7500 systemd[1]: lxc@105.service: Control process exited, code=exited status=1
Aug 08 14:49:40 DELL-T7500 systemd[1]: Failed to start LXC Container: 105.
Aug 08 14:49:40 DELL-T7500 systemd[1]: lxc@105.service: Unit entered failed state.
Aug 08 14:49:40 DELL-T7500 systemd[1]: lxc@105.service: Failed with result 'exit-code'.

journalctl -xe:
Code:
-- Defined-By: systemd
-- Support: hxxxxxxxxxxxxxxx
--
-- Unit pvesr.service has begun starting up.
Aug 08 18:26:00 DELL-T7500 systemd[1]: Started Proxmox VE replication runner.
-- Subject: Unit pvesr.service has finished start-up
-- Defined-By: systemd
-- Support: hxxxxxxxxxxxxxxx
--
-- Unit pvesr.service has finished starting up.
--
-- The start-up result is done.
Aug 08 18:27:00 DELL-T7500 systemd[1]: Starting Proxmox VE replication runner...
-- Subject: Unit pvesr.service has begun start-up
-- Defined-By: systemd
-- Support: hxxxxxxxxxxxxxxx
--
-- Unit pvesr.service has begun starting up.
Aug 08 18:27:00 DELL-T7500 systemd[1]: Started Proxmox VE replication runner.
-- Subject: Unit pvesr.service has finished start-up
-- Defined-By: systemd
-- Support: hxxxxxxxxxxxxxxx
--
-- Unit pvesr.service has finished starting up.
--
-- The start-up result is done.
Aug 08 18:27:11 DELL-T7500 rrdcached[839]: flushing old values
Aug 08 18:27:11 DELL-T7500 rrdcached[839]: rotating journals
Aug 08 18:27:11 DELL-T7500 rrdcached[839]: started new journal /var/lib/rrdcached/journal/rrd.journal.1502209631.320616
Aug 08 18:27:11 DELL-T7500 rrdcached[839]: removing old journal /var/lib/rrdcached/journal/rrd.journal.1502202431.320644
 

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!