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

Discussion in 'Proxmox VE: Installation and configuration' started by Cyberavis, Aug 8, 2017.

  1. Cyberavis

    Cyberavis New Member

    Joined:
    Oct 9, 2016
    Messages:
    6
    Likes Received:
    0
    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
    
     
  2. dcsapak

    dcsapak Proxmox Staff Member
    Staff Member

    Joined:
    Feb 1, 2016
    Messages:
    3,617
    Likes Received:
    329
    what does
    Code:
    systemctl status lxc@105.service
    journalctl -xe
    
    say?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. dcsapak

    dcsapak Proxmox Staff Member
    Staff Member

    Joined:
    Feb 1, 2016
    Messages:
    3,617
    Likes Received:
    329
    please upgrade your installation, pve-container 2.0-15 contains a fix for debian containers
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Cyberavis

    Cyberavis New Member

    Joined:
    Oct 9, 2016
    Messages:
    6
    Likes Received:
    0
    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
    
     
  5. dietmar

    dietmar Proxmox Staff Member
    Staff Member

    Joined:
    Apr 28, 2005
    Messages:
    16,461
    Likes Received:
    310
    Note: please follow the upgrade instructions. Never use
    You do not need a subscription for updates, because you can use the pve-no-subscription repository for you home server:

    https://pve.proxmox.com/wiki/Package_Repositories
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Cyberavis

    Cyberavis New Member

    Joined:
    Oct 9, 2016
    Messages:
    6
    Likes Received:
    0
    Great, after this upgrade CT started correctly. Thank you very much for your help.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice