[SOLVED] Proxmox Empty/Blank Console on single VM

May 25, 2019
14
0
6
28
I have 10 VM's hosted currently and after a reboot on the server one of my servers doesn't have a working console anymore.

'pct enter <id>' works and I can get into a working shell but looking at it, ssh, smbd and other services aren't started so it seems to be stuck in a booting mode but I can't figure out why, even restoring a backup didn't work.

The VM was working without issues before the reboot as far as I know.
If anyone knows the best way to debug this issue I'd be interested to hear your thoughts.

(note: All 9 other VM's show no issues)
 
Hi,
since you have a shell you can try to check the syslogs in the container and check the status of the service `systemctl status sshd smbd ...`
 
  • Like
Reactions: TheWorkingDeveloper
Code:
systemctl status sshd
● ssh.service - OpenBSD Secure Shell server
   Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled)
   Active: inactive (dead)

Jun 06 18:28:20 Fileshare systemd[1]: ssh.service: Failed to reset devices.list: Operation not permitted
Jun 06 18:28:20 Fileshare systemd[1]: Starting OpenBSD Secure Shell server...
Jun 06 18:28:20 Fileshare systemd[199]: Failed to attach 199 to compat systemd cgroup /system.slice/ssh.service: No such file or directory
Jun 06 18:28:20 Fileshare systemd[200]: Failed to attach 200 to compat systemd cgroup /system.slice/ssh.service: No such file or directory
Jun 06 18:28:20 Fileshare sshd[200]: Server listening on 0.0.0.0 port 22.
Jun 06 18:28:20 Fileshare sshd[200]: Server listening on :: port 22.
Jun 06 18:28:20 Fileshare systemd[1]: Started OpenBSD Secure Shell server.
Jun 06 21:48:37 Fileshare systemd[1]: Stopping OpenBSD Secure Shell server...
Jun 06 21:48:37 Fileshare sshd[200]: Received signal 15; terminating.
Jun 06 21:48:37 Fileshare systemd[1]: Stopped OpenBSD Secure Shell server.


Code:
systemctl status smbd
● smbd.service - Samba SMB Daemon
   Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: enabled)
   Active: inactive (dead)
     Docs: man:smbd(8)
           man:samba(7)
           man:smb.conf(5)

Jun 06 18:28:44 Fileshare systemd[1]: Starting Samba SMB Daemon...
Jun 06 18:28:44 Fileshare systemd[251]: Failed to attach 251 to compat systemd cgroup /system.slice/smbd.service: No such file or directory
Jun 06 18:28:45 Fileshare systemd[1]: Started Samba SMB Daemon.
Jun 06 18:29:13 Fileshare smbd[257]: pam_unix(samba:session): session opened for user niels by (uid=0)
Jun 06 21:48:37 Fileshare systemd[1]: smbd.service: Failed to kill control group /system.slice/smbd.service, ignoring: Input/output error
Jun 06 21:48:37 Fileshare systemd[1]: Stopping Samba SMB Daemon...
Jun 06 21:48:37 Fileshare smbd[257]: pam_unix(samba:session): session closed for user niels
Jun 06 21:48:37 Fileshare systemd[1]: smbd.service: Failed to kill control group /system.slice/smbd.service, ignoring: Input/output error
Jun 06 21:48:37 Fileshare systemd[1]: smbd.service: Failed to kill control group /system.slice/smbd.service, ignoring: Input/output error
Jun 06 21:48:37 Fileshare systemd[1]: Stopped Samba SMB Daemon.



Code:
cat /var/log/syslog
Jun  1 06:36:18 Fileshare postfix/pickup[22070]: 0203C20886: uid=0 from=<root>
Jun  1 06:36:18 Fileshare postfix/cleanup[22251]: 0203C20886: message-id=<20190601063618.0203C20886@Fileshare.localdomain>
Jun  1 06:36:18 Fileshare postfix/qmgr[326]: 0203C20886: from=<root@Fileshare.localdomain>, size=917, nrcpt=1 (queue active)
Jun  1 06:36:18 Fileshare postfix/local[22253]: 0203C20886: to=<root@Fileshare.localdomain>, orig_to=<root>, relay=local, delay=0.9, delays=0.32/0.46/0/0.12, dsn=2.0.0, status=sent (delivered to mailbox)
Jun  1 06:36:18 Fileshare postfix/qmgr[326]: 0203C20886: removed
Jun  1 06:51:01 Fileshare CRON[22259]: (root) CMD (test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly ))
Jun  1 06:57:01 Fileshare CRON[22266]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jun  1 07:31:32 Fileshare systemd[1]: motd-news.service: Failed to reset devices.list: Operation not permitted
Jun  1 07:31:33 Fileshare systemd[1]: Starting Message of the Day...
Jun  1 07:31:34 Fileshare systemd[1]: Started Message of the Day.
Jun  1 07:57:02 Fileshare CRON[22303]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jun  1 08:57:01 Fileshare CRON[22320]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jun  1 09:57:01 Fileshare CRON[22337]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jun  1 10:12:19 Fileshare systemd[1]: apt-daily.service: Failed to reset devices.list: Operation not permitted
Jun  1 10:12:19 Fileshare systemd[1]: Starting Daily apt download activities...
Jun  1 10:12:25 Fileshare systemd[1]: Started Daily apt download activities.
Jun  1 10:39:02 Fileshare kernel: [2644421.190403] audit: type=1400 audit(1559385542.599:860): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-105_</var/lib/lxc>" name="/" pid=5613 comm="(ionclean)" flags="rw, rslave"
Jun  1 10:57:02 Fileshare CRON[22405]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jun  1 11:57:02 Fileshare CRON[22422]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jun  1 12:57:01 Fileshare CRON[22440]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
 
Code:
sudo ps -aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.3  77248  8280 ?        Ss   Jun06   0:00 /sbin/init
root        48  0.0  0.4  78320  9616 ?        S<s  Jun06   0:00 /lib/systemd/systemd-journald
systemd+    54  0.0  0.2  71844  5096 ?        Ss   Jun06   0:00 /lib/systemd/systemd-networkd
systemd+   124  0.0  0.2  70624  5092 ?        Ss   Jun06   0:00 /lib/systemd/systemd-resolved
root       125  0.0  0.1  47600  3508 ?        Ss   Jun06   0:00 /sbin/rpcbind -f -w
root       153  0.0  0.1  61812  2984 pts/1    Ss+  Jun06   0:00 /lib/systemd/systemd-sulogin-shell emergency
root       154  0.0  0.1  24268  2468 pts/1    S+   Jun06   0:00 /sbin/sulogin
root       186  0.0  0.1  18628  3440 ?        Ss   11:38   0:00 /bin/bash
root       207  0.0  0.1  61740  3736 ?        S+   11:40   0:00 sudo ps -aux
root       208  0.0  0.1  36700  3164 ?        R+   11:40   0:00 ps -aux
 
  • Like
Reactions: TheWorkingDeveloper
Code:
proxmox-ve: 5.4-1 (running kernel: 4.15.18-12-pve)
pve-manager: 5.4-3 (running version: 5.4-3/0a6eaa62)
pve-kernel-4.15: 5.3-3
pve-kernel-4.15.18-12-pve: 4.15.18-35
corosync: 2.4.4-pve1
criu: 2.11.1-1~bpo90
glusterfs-client: 3.8.8-1
ksm-control-daemon: 1.2-2
libjs-extjs: 6.0.1-2
libpve-access-control: 5.1-8
libpve-apiclient-perl: 2.0-5
libpve-common-perl: 5.0-50
libpve-guest-common-perl: 2.0-20
libpve-http-server-perl: 2.0-13
libpve-storage-perl: 5.0-41
libqb0: 1.0.3-1~bpo9
lvm2: 2.02.168-pve6
lxc-pve: 3.1.0-3
lxcfs: 3.0.3-pve1
novnc-pve: 1.0.0-3
proxmox-widget-toolkit: 1.0-25
pve-cluster: 5.0-36
pve-container: 2.0-37
pve-docs: 5.4-2
pve-edk2-firmware: 1.20190312-1
pve-firewall: 3.0-19
pve-firmware: 2.0-6
pve-ha-manager: 2.0-9
pve-i18n: 1.1-4
pve-libspice-server1: 0.14.1-2
pve-qemu-kvm: 2.12.1-3
pve-xtermjs: 3.12.0-1
qemu-server: 5.0-50
smartmontools: 6.5+svn4324-1
spiceterm: 3.0-5
vncterm: 1.5-3
zfsutils-linux: 0.7.13-pve1~bpo2


Code:
arch: amd64
cores: 2
features: mount=nfs;nfs
hostname: Fileshare
memory: 2048
net0: name=eth0,bridge=vmbr0,firewall=1,gw=192.168.178.1,hwaddr=82:10:9C:9E:38:75,ip=192.168.178.21/24,type=veth
onboot: 1
ostype: ubuntu
rootfs: local-lvm:vm-103-disk-0,size=100G
swap: 2048

Debug Log:
Code:
lxc-start 103 20190607201151.644 INFO     lsm - lsm/lsm.c:lsm_init:50 - LSM security driver AppArmor
lxc-start 103 20190607201151.644 INFO     seccomp - seccomp.c:parse_config_v2:759 - Processing "reject_force_umount  # comment this to allow umount -f;  not recommended"
lxc-start 103 20190607201151.644 INFO     seccomp - seccomp.c:do_resolve_add_rule:505 - Set seccomp rule to reject force umounts
lxc-start 103 20190607201151.644 INFO     seccomp - seccomp.c:parse_config_v2:937 - Added native rule for arch 0 for reject_force_umount action 0(kill)
lxc-start 103 20190607201151.644 INFO     seccomp - seccomp.c:do_resolve_add_rule:505 - Set seccomp rule to reject force umounts
lxc-start 103 20190607201151.644 INFO     seccomp - seccomp.c:parse_config_v2:946 - Added compat rule for arch 1073741827 for reject_force_umount action 0(kill)
lxc-start 103 20190607201151.644 INFO     seccomp - seccomp.c:do_resolve_add_rule:505 - Set seccomp rule to reject force umounts
lxc-start 103 20190607201151.644 INFO     seccomp - seccomp.c:parse_config_v2:956 - Added compat rule for arch 1073741886 for reject_force_umount action 0(kill)
lxc-start 103 20190607201151.644 INFO     seccomp - seccomp.c:do_resolve_add_rule:505 - Set seccomp rule to reject force umounts
lxc-start 103 20190607201151.644 INFO     seccomp - seccomp.c:parse_config_v2:966 - Added native rule for arch -1073741762 for reject_force_umount action 0(kill)
lxc-start 103 20190607201151.644 INFO     seccomp - seccomp.c:parse_config_v2:759 - Processing "[all]"
lxc-start 103 20190607201151.644 INFO     seccomp - seccomp.c:parse_config_v2:759 - Processing "kexec_load errno 1"
lxc-start 103 20190607201151.644 INFO     seccomp - seccomp.c:parse_config_v2:937 - Added native rule for arch 0 for kexec_load action 327681(errno)
lxc-start 103 20190607201151.644 INFO     seccomp - seccomp.c:parse_config_v2:946 - Added compat rule for arch 1073741827 for kexec_load action 327681(errno)
lxc-start 103 20190607201151.644 INFO     seccomp - seccomp.c:parse_config_v2:956 - Added compat rule for arch 1073741886 for kexec_load action 327681(errno)
lxc-start 103 20190607201151.644 INFO     seccomp - seccomp.c:parse_config_v2:966 - Added native rule for arch -1073741762 for kexec_load action 327681(errno)
lxc-start 103 20190607201151.644 INFO     seccomp - seccomp.c:parse_config_v2:759 - Processing "open_by_handle_at errno 1"
lxc-start 103 20190607201151.644 INFO     seccomp - seccomp.c:parse_config_v2:937 - Added native rule for arch 0 for open_by_handle_at action 327681(errno)
lxc-start 103 20190607201151.644 INFO     seccomp - seccomp.c:parse_config_v2:946 - Added compat rule for arch 1073741827 for open_by_handle_at action 327681(errno)
lxc-start 103 20190607201151.644 INFO     seccomp - seccomp.c:parse_config_v2:956 - Added compat rule for arch 1073741886 for open_by_handle_at action 327681(errno)
lxc-start 103 20190607201151.644 INFO     seccomp - seccomp.c:parse_config_v2:966 - Added native rule for arch -1073741762 for open_by_handle_at action 327681(errno)
lxc-start 103 20190607201151.644 INFO     seccomp - seccomp.c:parse_config_v2:759 - Processing "init_module errno 1"
lxc-start 103 20190607201151.644 INFO     seccomp - seccomp.c:parse_config_v2:937 - Added native rule for arch 0 for init_module action 327681(errno)
lxc-start 103 20190607201151.644 INFO     seccomp - seccomp.c:parse_config_v2:946 - Added compat rule for arch 1073741827 for init_module action 327681(errno)
lxc-start 103 20190607201151.644 INFO     seccomp - seccomp.c:parse_config_v2:956 - Added compat rule for arch 1073741886 for init_module action 327681(errno)
lxc-start 103 20190607201151.644 INFO     seccomp - seccomp.c:parse_config_v2:966 - Added native rule for arch -1073741762 for init_module action 327681(errno)
lxc-start 103 20190607201151.644 INFO     seccomp - seccomp.c:parse_config_v2:759 - Processing "finit_module errno 1"
lxc-start 103 20190607201151.644 INFO     seccomp - seccomp.c:parse_config_v2:937 - Added native rule for arch 0 for finit_module action 327681(errno)
lxc-start 103 20190607201151.644 INFO     seccomp - seccomp.c:parse_config_v2:946 - Added compat rule for arch 1073741827 for finit_module action 327681(errno)
lxc-start 103 20190607201151.644 INFO     seccomp - seccomp.c:parse_config_v2:956 - Added compat rule for arch 1073741886 for finit_module action 327681(errno)
lxc-start 103 20190607201151.644 INFO     seccomp - seccomp.c:parse_config_v2:966 - Added native rule for arch -1073741762 for finit_module action 327681(errno)
lxc-start 103 20190607201151.644 INFO     seccomp - seccomp.c:parse_config_v2:759 - Processing "delete_module errno 1"
lxc-start 103 20190607201151.644 INFO     seccomp - seccomp.c:parse_config_v2:937 - Added native rule for arch 0 for delete_module action 327681(errno)
lxc-start 103 20190607201151.644 INFO     seccomp - seccomp.c:parse_config_v2:946 - Added compat rule for arch 1073741827 for delete_module action 327681(errno)
lxc-start 103 20190607201151.644 INFO     seccomp - seccomp.c:parse_config_v2:956 - Added compat rule for arch 1073741886 for delete_module action 327681(errno)
lxc-start 103 20190607201151.644 INFO     seccomp - seccomp.c:parse_config_v2:966 - Added native rule for arch -1073741762 for delete_module action 327681(errno)
lxc-start 103 20190607201151.644 INFO     seccomp - seccomp.c:parse_config_v2:970 - Merging compat seccomp contexts into main context
lxc-start 103 20190607201151.644 INFO     conf - conf.c:run_script_argv:356 - Executing script "/usr/share/lxc/hooks/lxc-pve-prestart-hook" for container "103", config section "lxc"
lxc-start 103 20190607201152.949 DEBUG    terminal - terminal.c:lxc_terminal_peer_default:714 - Using terminal "/dev/tty" as proxy
lxc-start 103 20190607201152.949 DEBUG    terminal - terminal.c:lxc_terminal_signal_init:192 - Created signal fd 9
lxc-start 103 20190607201152.949 DEBUG    terminal - terminal.c:lxc_terminal_winsz:90 - Set window size to 268 columns and 77 rows
lxc-start 103 20190607201153.143 INFO     start - start.c:lxc_init:906 - Container "103" is initialized
lxc-start 103 20190607201153.146 INFO     conf - conf.c:run_script:495 - Executing script "/usr/share/lxc/lxcnetaddbr" for container "103", config section "net"
lxc-start 103 20190607201154.865 DEBUG    network - network.c:instantiate_veth:206 - Instantiated veth "veth103i0/vethFL0GHG", index is "136"
lxc-start 103 20190607201154.873 DEBUG    cgfsng - cgroups/cgfsng.c:cg_legacy_handle_cpuset_hierarchy:619 - "cgroup.clone_children" was already set to "1"
lxc-start 103 20190607201154.874 INFO     cgfsng - cgroups/cgfsng.c:cgfsng_payload_create:1537 - The container uses "lxc/103" as cgroup
lxc-start 103 20190607201154.890 INFO     start - start.c:lxc_spawn:1707 - Cloned CLONE_NEWNS
lxc-start 103 20190607201154.890 INFO     start - start.c:lxc_spawn:1707 - Cloned CLONE_NEWPID
lxc-start 103 20190607201154.890 INFO     start - start.c:lxc_spawn:1707 - Cloned CLONE_NEWUTS
lxc-start 103 20190607201154.890 INFO     start - start.c:lxc_spawn:1707 - Cloned CLONE_NEWIPC
lxc-start 103 20190607201154.890 INFO     start - start.c:lxc_spawn:1707 - Cloned CLONE_NEWNET
lxc-start 103 20190607201154.891 DEBUG    start - start.c:lxc_try_preserve_namespaces:196 - Preserved mnt namespace via fd 15
lxc-start 103 20190607201154.891 DEBUG    start - start.c:lxc_try_preserve_namespaces:196 - Preserved pid namespace via fd 16
lxc-start 103 20190607201154.892 DEBUG    start - start.c:lxc_try_preserve_namespaces:196 - Preserved uts namespace via fd 17
lxc-start 103 20190607201154.893 DEBUG    start - start.c:lxc_try_preserve_namespaces:196 - Preserved ipc namespace via fd 18
lxc-start 103 20190607201154.893 DEBUG    start - start.c:lxc_try_preserve_namespaces:196 - Preserved net namespace via fd 19
lxc-start 103 20190607201154.895 DEBUG    cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2476 - Set controller "memory.limit_in_bytes" set to "2147483648"
lxc-start 103 20190607201154.895 DEBUG    cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2476 - Set controller "memory.memsw.limit_in_bytes" set to "4294967296"
lxc-start 103 20190607201154.895 DEBUG    cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2476 - Set controller "cpu.shares" set to "1024"
lxc-start 103 20190607201154.901 DEBUG    cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2476 - Set controller "cpuset.cpus" set to "6,15"
lxc-start 103 20190607201154.902 INFO     cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2481 - Limits for the legacy cgroup hierarchies have been setup
lxc-start 103 20190607201154.906 DEBUG    start - start.c:lxc_spawn:1761 - Preserved net namespace via fd 10
lxc-start 103 20190607201154.117 DEBUG    network - network.c:lxc_network_move_created_netdev_priv:2505 - Moved network device "vethFL0GHG"/"eth0" to network namespace of 24248
lxc-start 103 20190607201154.117 DEBUG    cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2476 - Set controller "devices.deny" set to "a"
lxc-start 103 20190607201154.117 DEBUG    cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2476 - Set controller "devices.allow" set to "c *:* m"
lxc-start 103 20190607201154.117 DEBUG    cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2476 - Set controller "devices.allow" set to "b *:* m"
lxc-start 103 20190607201154.117 DEBUG    cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2476 - Set controller "devices.allow" set to "c 1:3 rwm"
lxc-start 103 20190607201154.117 DEBUG    cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2476 - Set controller "devices.allow" set to "c 1:5 rwm"
lxc-start 103 20190607201154.117 DEBUG    cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2476 - Set controller "devices.allow" set to "c 1:7 rwm"
lxc-start 103 20190607201154.117 DEBUG    cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2476 - Set controller "devices.allow" set to "c 5:0 rwm"
lxc-start 103 20190607201154.117 DEBUG    cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2476 - Set controller "devices.allow" set to "c 5:1 rwm"
lxc-start 103 20190607201154.118 DEBUG    cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2476 - Set controller "devices.allow" set to "c 5:2 rwm"
lxc-start 103 20190607201154.118 DEBUG    cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2476 - Set controller "devices.allow" set to "c 1:8 rwm"
lxc-start 103 20190607201154.118 DEBUG    cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2476 - Set controller "devices.allow" set to "c 1:9 rwm"
lxc-start 103 20190607201154.118 DEBUG    cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2476 - Set controller "devices.allow" set to "c 136:* rwm"
lxc-start 103 20190607201154.118 DEBUG    cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2476 - Set controller "devices.allow" set to "c 10:229 rwm"
lxc-start 103 20190607201154.118 DEBUG    cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2476 - Set controller "devices.allow" set to "c 254:0 rm"
lxc-start 103 20190607201154.118 DEBUG    cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2476 - Set controller "devices.allow" set to "c 10:200 rwm"
lxc-start 103 20190607201154.118 DEBUG    cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2476 - Set controller "devices.allow" set to "c 10:228 rwm"
lxc-start 103 20190607201154.118 DEBUG    cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2476 - Set controller "devices.allow" set to "c 10:232 rwm"
lxc-start 103 20190607201154.118 INFO     cgfsng - cgroups/cgfsng.c:__cg_legacy_setup_limits:2481 - Limits for the legacy cgroup hierarchies have been setup
lxc-start 103 20190607201154.119 INFO     start - start.c:do_start:1258 - Unshared CLONE_NEWCGROUP
lxc-start 103 20190607201154.119 DEBUG    storage - storage/storage.c:storage_query:253 - Detected rootfs type "dir"
lxc-start 103 20190607201154.119 DEBUG    conf - conf.c:lxc_mount_rootfs:1358 - Mounted rootfs "/var/lib/lxc/103/rootfs" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs" with options "(null)"
lxc-start 103 20190607201154.119 INFO     conf - conf.c:setup_utsname:817 - Set hostname to "Fileshare"
lxc-start 103 20190607201154.145 DEBUG    network - network.c:setup_hw_addr:2772 - Mac address "82:10:9C:9E:38:75" on "eth0" has been setup
lxc-start 103 20190607201154.145 DEBUG    network - network.c:lxc_setup_netdev_in_child_namespaces:3037 - Network device "eth0" has been setup
lxc-start 103 20190607201154.145 INFO     network - network.c:lxc_setup_network_in_child_namespaces:3058 - network has been setup
lxc-start 103 20190607201154.145 INFO     conf - conf.c:mount_autodev:1144 - Preparing "/dev"
lxc-start 103 20190607201154.145 INFO     conf - conf.c:mount_autodev:1191 - Prepared "/dev"
lxc-start 103 20190607201154.229 INFO     conf - conf.c:run_script_argv:356 - Executing script "/usr/share/lxcfs/lxc.mount.hook" for container "103", config section "lxc"
lxc-start 103 20190607201154.300 INFO     conf - conf.c:run_script_argv:356 - Executing script "/usr/share/lxc/hooks/lxc-pve-autodev-hook" for container "103", config section "lxc"
lxc-start 103 20190607201154.442 INFO     conf - conf.c:lxc_fill_autodev:1235 - Populating "/dev"
lxc-start 103 20190607201154.442 DEBUG    conf - conf.c:lxc_fill_autodev:1250 - Created device node "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/full"
lxc-start 103 20190607201154.442 DEBUG    conf - conf.c:lxc_fill_autodev:1250 - Created device node "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/null"
lxc-start 103 20190607201154.442 DEBUG    conf - conf.c:lxc_fill_autodev:1250 - Created device node "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/random"
lxc-start 103 20190607201154.442 DEBUG    conf - conf.c:lxc_fill_autodev:1250 - Created device node "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/tty"
lxc-start 103 20190607201154.442 DEBUG    conf - conf.c:lxc_fill_autodev:1250 - Created device node "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/urandom"
lxc-start 103 20190607201154.442 DEBUG    conf - conf.c:lxc_fill_autodev:1250 - Created device node "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/zero"
lxc-start 103 20190607201154.442 INFO     conf - conf.c:lxc_fill_autodev:1312 - Populated "/dev"
lxc-start 103 20190607201154.442 DEBUG    conf - conf.c:mount_entry:2053 - Remounting "/sys/fs/fuse/connections" on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/sys/fs/fuse/connections" to respect bind or remount options
lxc-start 103 20190607201154.442 DEBUG    conf - conf.c:mount_entry:2074 - Flags for "/sys/fs/fuse/connections" were 4096, required extra flags are 0
lxc-start 103 20190607201154.442 DEBUG    conf - conf.c:mount_entry:2084 - Mountflags already were 4096, skipping remount
lxc-start 103 20190607201154.442 DEBUG    conf - conf.c:mount_entry:2128 - Mounted "/sys/fs/fuse/connections" on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/sys/fs/fuse/connections" with filesystem type "none"
lxc-start 103 20190607201154.442 DEBUG    conf - conf.c:mount_entry:2053 - Remounting "/sys/kernel/debug" on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/sys/kernel/debug" to respect bind or remount options
lxc-start 103 20190607201154.442 DEBUG    conf - conf.c:mount_entry:2074 - Flags for "/sys/kernel/debug" were 4096, required extra flags are 0
lxc-start 103 20190607201154.442 DEBUG    conf - conf.c:mount_entry:2084 - Mountflags already were 4096, skipping remount
lxc-start 103 20190607201154.442 DEBUG    conf - conf.c:mount_entry:2128 - Mounted "/sys/kernel/debug" on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/sys/kernel/debug" with filesystem type "none"
lxc-start 103 20190607201154.442 DEBUG    conf - conf.c:mount_entry:2053 - Remounting "/sys/kernel/security" on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/sys/kernel/security" to respect bind or remount options
lxc-start 103 20190607201154.442 DEBUG    conf - conf.c:mount_entry:2074 - Flags for "/sys/kernel/security" were 4110, required extra flags are 14
lxc-start 103 20190607201154.442 DEBUG    conf - conf.c:mount_entry:2128 - Mounted "/sys/kernel/security" on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/sys/kernel/security" with filesystem type "none"
lxc-start 103 20190607201154.442 DEBUG    conf - conf.c:mount_entry:2053 - Remounting "/sys/fs/pstore" on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/sys/fs/pstore" to respect bind or remount options
lxc-start 103 20190607201154.442 DEBUG    conf - conf.c:mount_entry:2074 - Flags for "/sys/fs/pstore" were 4110, required extra flags are 14
lxc-start 103 20190607201154.442 DEBUG    conf - conf.c:mount_entry:2128 - Mounted "/sys/fs/pstore" on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/sys/fs/pstore" with filesystem type "none"
lxc-start 103 20190607201154.442 DEBUG    conf - conf.c:mount_entry:2128 - Mounted "mqueue" on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/mqueue" with filesystem type "mqueue"
lxc-start 103 20190607201154.442 INFO     conf - conf.c:mount_file_entries:2359 - Finished setting up mounts
lxc-start 103 20190607201154.443 DEBUG    conf - conf.c:lxc_setup_ttydir_console:1822 - Created directory for console and tty devices at "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/lxc"
lxc-start 103 20190607201154.443 DEBUG    conf - conf.c:lxc_setup_ttydir_console:1867 - Mounted "/dev/pts/1" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/lxc/console"
lxc-start 103 20190607201154.443 DEBUG    conf - conf.c:lxc_setup_ttydir_console:1875 - Mounted "/dev/pts/1" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/lxc/console"
lxc-start 103 20190607201154.443 DEBUG    conf - conf.c:lxc_setup_ttydir_console:1877 - Console has been setup under "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/lxc/console" and mounted to "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/console"
lxc-start 103 20190607201154.443 INFO     utils - utils.c:lxc_mount_proc_if_needed:1239 - I am 1, /proc/self points to "1"
lxc-start 103 20190607201154.461 WARN     conf - conf.c:lxc_setup_devpts:1642 - Invalid argument - Failed to unmount old devpts instance
lxc-start 103 20190607201154.461 DEBUG    conf - conf.c:lxc_setup_devpts:1679 - Mount new devpts instance with options "gid=5,newinstance,ptmxmode=0666,mode=0620,max=1024"
lxc-start 103 20190607201154.461 DEBUG    conf - conf.c:lxc_setup_devpts:1698 - Created dummy "/dev/ptmx" file as bind mount target
lxc-start 103 20190607201154.461 DEBUG    conf - conf.c:lxc_setup_devpts:1703 - Bind mounted "/dev/pts/ptmx" to "/dev/ptmx"
lxc-start 103 20190607201154.461 DEBUG    conf - conf.c:lxc_allocate_ttys:1015 - Created tty "/dev/pts/0" with master fd 11 and slave fd 14
lxc-start 103 20190607201154.461 DEBUG    conf - conf.c:lxc_allocate_ttys:1015 - Created tty "/dev/pts/1" with master fd 15 and slave fd 16
lxc-start 103 20190607201154.461 INFO     conf - conf.c:lxc_allocate_ttys:1031 - Finished creating 2 tty devices
lxc-start 103 20190607201154.462 DEBUG    conf - conf.c:lxc_setup_ttys:939 - Bind mounted "/dev/pts/0" onto "/dev/lxc/tty1"
lxc-start 103 20190607201154.462 DEBUG    conf - conf.c:lxc_setup_ttys:939 - Bind mounted "/dev/pts/1" onto "/dev/lxc/tty2"
lxc-start 103 20190607201154.462 INFO     conf - conf.c:lxc_setup_ttys:975 - Finished setting up 2 /dev/tty<N> device(s)
lxc-start 103 20190607201154.462 INFO     conf - conf.c:setup_personality:1742 - Set personality to "0x0"
lxc-start 103 20190607201154.462 DEBUG    conf - conf.c:setup_caps:2551 - Dropped mac_admin (33) capability
lxc-start 103 20190607201154.462 DEBUG    conf - conf.c:setup_caps:2551 - Dropped mac_override (32) capability
lxc-start 103 20190607201154.462 DEBUG    conf - conf.c:setup_caps:2551 - Dropped sys_time (25) capability
lxc-start 103 20190607201154.462 DEBUG    conf - conf.c:setup_caps:2551 - Dropped sys_module (16) capability
lxc-start 103 20190607201154.462 DEBUG    conf - conf.c:setup_caps:2551 - Dropped sys_rawio (17) capability
lxc-start 103 20190607201154.462 DEBUG    conf - conf.c:setup_caps:2554 - Capabilities have been setup
lxc-start 103 20190607201154.462 NOTICE   conf - conf.c:lxc_setup:3746 - The container "103" is set up
lxc-start 103 20190607201154.462 INFO     lsm - lsm/lsm.c:lsm_process_label_set_at:178 - Set AppArmor label to "lxc-103_</var/lib/lxc>//&:lxc-103_<-var-lib-lxc>:"
lxc-start 103 20190607201154.462 INFO     apparmor - lsm/apparmor.c:apparmor_process_label_set:1106 - Changed AppArmor profile to lxc-103_</var/lib/lxc>//&:lxc-103_<-var-lib-lxc>:
lxc-start 103 20190607201154.464 DEBUG    start - start.c:lxc_spawn:1853 - Preserved cgroup namespace via fd 20
lxc-start 103 20190607201154.465 NOTICE   utils - utils.c:lxc_setgroups:1408 - Dropped additional groups
lxc-start 103 20190607201154.465 NOTICE   start - start.c:start:2075 - Exec'ing "/sbin/init"
lxc-start 103 20190607201154.571 NOTICE   start - start.c:post_start:2086 - Started "/sbin/init" with pid "24248"
lxc-start 103 20190607201154.571 NOTICE   start - start.c:signal_handler:430 - Received 17 from pid 24113 instead of container init 24248


Console:
Code:
root@pve:~# lxc-start -n 103 -F -l DEBUG -o /tmp/lxc-103.log
systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
Detected virtualization lxc.
Detected architecture x86-64.

Welcome to Ubuntu 18.04.2 LTS!

Set hostname to <Fileshare>.
Failed to attach 1 to compat systemd cgroup /init.scope: No such file or directory
Couldn't move remaining userspace processes, ignoring: Input/output error
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Reached target User and Group Name Lookups.
user.slice: Failed to reset devices.list: Operation not permitted
[  OK  ] Created slice User and Session Slice.
[  OK  ] Reached target Swap.
system.slice: Failed to reset devices.list: Operation not permitted
[  OK  ] Created slice System Slice.
system-container\x2dgetty.slice: Failed to reset devices.list: Operation not permitted
[  OK  ] Created slice system-container\x2dgetty.slice.
system-postfix.slice: Failed to reset devices.list: Operation not permitted
[  OK  ] Created slice system-postfix.slice.
[  OK  ] Listening on Syslog Socket.
[  OK  ] Listening on Journal Audit Socket.
[  OK  ] Listening on RPCbind Server Activation Socket.
[  OK  ] Listening on Journal Socket.
run-rpc_pipefs.mount: Failed to reset devices.list: Operation not permitted
         Mounting RPC Pipe File System...
keyboard-setup.service: Failed to reset devices.list: Operation not permitted
         Starting Set the console keyboard layout...
[  OK  ] Reached target Slices.
dev-hugepages.mount: Failed to reset devices.list: Operation not permitted
         Mounting Huge Pages File System...
ufw.service: Failed to reset devices.list: Operation not permitted
         Starting Uncomplicated firewall...
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on Journal Socket (/dev/log).
systemd-journald.service: Failed to reset devices.list: Operation not permitted
Failed to attach 48 to compat systemd cgroup /system.slice/systemd-journald.service: No such file or directory
         Starting Journal Service...
Failed to attach 48 to compat systemd cgroup /system.slice/systemd-journald.service: No such file or directory
systemd-sysctl.service: Failed to reset devices.list: Operation not permitted
         Starting Apply Kernel Variables...
[  OK  ] Mounted RPC Pipe File System.
[  OK  ] Mounted Huge Pages File System.
[  OK  ] Started Uncomplicated firewall.
[  OK  ] Started Apply Kernel Variables.
systemd-networkd.service: Failed to reset devices.list: Operation not permitted
Failed to attach 55 to compat systemd cgroup /system.slice/systemd-networkd.service: No such file or directory
         Starting Network Service...
[  OK  ] Started Journal Service.
         Starting Flush Journal to Persistent Storage...
Failed to attach 55 to compat systemd cgroup /system.slice/systemd-networkd.service: No such file or directory
[  OK  ] Started Set the console keyboard layout.
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /home/thuis...
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Reached target Local Encrypted Volumes.
[  OK  ] Reached target Paths.
[  OK  ] Started Network Service.
[FAILED] Failed to mount /home/thuis.
See 'systemctl status home-thuis.mount' for details.
[DEPEND] Dependency failed for Local File Systems.
         Starting Set console font and keymap...
         Starting Preprocess NFS configuration...
[  OK  ] Reached target Timers.
[  OK  ] Reached target Login Prompts.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Closed Syslog Socket.
         Starting AppArmor initialization...
[  OK  ] Started Emergency Shell.
[  OK  ] Reached target Emergency Mode.
         Starting Tell Plymouth To Write Out Runtime Data...
[  OK  ] Reached target Sockets.
[  OK  ] Started Flush Journal to Persistent Storage.
         Starting Create Volatile Files and Directories...
[  OK  ] Started Preprocess NFS configuration.
[  OK  ] Reached target NFS client services.
[  OK  ] Started Set console font and keymap.
[  OK  ] Started Tell Plymouth To Write Out Runtime Data.
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Reached target System Time Synchronized.
         Starting Update UTMP about System Boot/Shutdown...
         Starting RPC bind portmap service...
         Starting Network Name Resolution...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Update UTMP about System Runlevel Changes.
[  OK  ] Started Network Name Resolution.
[  OK  ] Reached target Host and Network Name Lookups.
[  OK  ] Reached target Network.
[  OK  ] Reached target Network is Online.
[  OK  ] Started RPC bind portmap service.
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems.
[  OK  ] Reached target RPC Port Mapper.
[FAILED] Failed to start AppArmor initialization.
See 'systemctl status apparmor.service' for details.
You are in emergency mode. After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default" or "exit"
to boot into default mode.
Give root password for maintenance
(or press Control-D to continue):
 
you're welcome, i'm glad your issue was solved.
 

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!