Hi,
One of my four containers refuses to restart after a recent power outage. I'd be grateful of steps I can take to try to resolve it.
I've tried issuing the command:
Here's the output at the command line
And
Here's the resulting log file:
container config:
Here's the output of journalctl -xe
One of my four containers refuses to restart after a recent power outage. I'd be grateful of steps I can take to try to resolve it.
I've tried issuing the command:
Code:
lxc-start -n 115 -F -lDEBUG -o temp/lxc-115-2.log:
Here's the output at the command line
Code:
lxc-start: 115: conf.c: run_buffer: 323 Script exited with status 1
lxc-start: 115: start.c: lxc_init: 804 Failed to run lxc.hook.pre-start for container "115"
lxc-start: 115: start.c: __lxc_start: 1903 Failed to initialize container "115"
lxc-start: 115: tools/lxc_start.c: main: 308 The container failed to start
lxc-start: 115: tools/lxc_start.c: main: 314 Additional information can be obtained by setting the --logfile and --logpriority options
And
Here's the resulting log file:
Code:
lxc-start 115 20200910165233.673 INFO confile - confile.c:set_config_idmaps:2051 - Read uid map: type u nsid 1614000000 hostid 1614000000 range 200000
lxc-start 115 20200910165233.673 INFO confile - confile.c:set_config_idmaps:2051 - Read uid map: type g nsid 1614000000 hostid 1614000000 range 200000
lxc-start 115 20200910165233.673 INFO confile - confile.c:set_config_idmaps:2051 - Read uid map: type u nsid 0 hostid 100000 range 65536
lxc-start 115 20200910165233.673 INFO confile - confile.c:set_config_idmaps:2051 - Read uid map: type g nsid 0 hostid 100000 range 65536
lxc-start 115 20200910165233.673 INFO lsm - lsm/lsm.c:lsm_init:29 - LSM security driver AppArmor
lxc-start 115 20200910165233.673 INFO conf - conf.c:run_script_argv:340 - Executing script "/usr/share/lxc/hooks/lxc-pve-prestart-hook" for container "115", config section "lxc"
lxc-start 115 20200910165234.154 DEBUG conf - conf.c:run_buffer:312 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 115 lxc pre-start produced output: unable to open file '/fastboot.tm$
lxc-start 115 20200910165234.161 DEBUG conf - conf.c:run_buffer:312 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 115 lxc pre-start produced output: error in setup task PVE::LXC::Set$
lxc-start 115 20200910165234.223 ERROR conf - conf.c:run_buffer:323 - Script exited with status 1
lxc-start 115 20200910165234.224 ERROR start - start.c:lxc_init:804 - Failed to run lxc.hook.pre-start for container "115"
lxc-start 115 20200910165234.224 ERROR start - start.c:__lxc_start:1903 - Failed to initialize container "115"
lxc-start 115 20200910165234.225 INFO conf - conf.c:run_script_argv:340 - Executing script "/usr/share/lxcfs/lxc.reboot.hook" for container "115", config section "lxc"
lxc-start 115 20200910165234.524 INFO conf - conf.c:run_script_argv:340 - Executing script "/usr/share/lxc/hooks/lxc-pve-poststop-hook" for container "115", config section "lxc"
lxc-start 115 20200910165234.816 DEBUG conf - conf.c:run_buffer:312 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 115 lxc post-stop produced output: umount: /var/lib/lxc/.pve-staged-$
lxc-start 115 20200910165234.816 DEBUG conf - conf.c:run_buffer:312 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 115 lxc post-stop produced output: command 'umount -- /var/lib/lxc/.$
lxc-start 115 20200910165234.825 DEBUG conf - conf.c:run_buffer:312 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 115 lxc post-stop produced output: umount: /var/lib/lxc/.pve-staged-$
lxc-start 115 20200910165234.825 DEBUG conf - conf.c:run_buffer:312 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 115 lxc post-stop produced output: command 'umount -- /var/lib/lxc/.$
lxc-start 115 20200910165234.828 DEBUG conf - conf.c:run_buffer:312 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 115 lxc post-stop produced output: umount: /var/lib/lxc/.pve-staged-$
lxc-start 115 20200910165234.828 DEBUG conf - conf.c:run_buffer:312 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 115 lxc post-stop produced output: command 'umount -- /var/lib/lxc/.$
lxc-start 115 20200910165234.830 DEBUG conf - conf.c:run_buffer:312 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 115 lxc post-stop produced output: umount: /var/lib/lxc/.pve-staged-$
lxc-start 115 20200910165234.830 DEBUG conf - conf.c:run_buffer:312 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 115 lxc post-stop produced output: command 'umount -- /var/lib/lxc/.$
lxc-start 115 20200910165234.837 DEBUG conf - conf.c:run_buffer:312 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 115 lxc post-stop produced output: umount: /var/lib/lxc/.pve-staged-$
lxc-start 115 20200910165234.837 DEBUG conf - conf.c:run_buffer:312 - Script exec /usr/share/lxc/hooks/lxc-pve-poststop-hook 115 lxc post-stop produced output: command 'umount -- /var/lib/lxc/.$
lxc-start 115 20200910165234.875 ERROR lxc_start - tools/lxc_start.c:main:308 - The container failed to start
lxc-start 115 20200910165234.875 ERROR lxc_start - tools/lxc_start.c:main:314 - Additional information can be obtained by setting the --logfile and --logpriority options
container config:
Code:
arch: amd64
cores: 1
hostname: downloader.home.pmer.tk
memory: 1280
mp0: /bodpool/Media/Downloads,mp=/mnt/Downloads
mp1: /bodpool/Media/Library,mp=/mnt/Library
mp2: /bodpool/Media/Library/TVShows,mp=/mnt/Library/TVShows
mp3: /bodpool/Media/Library/Movies,mp=/mnt/Library/Movies
mp4: /bodpool/Media/Library/Music,mp=/mnt/Library/Music
mp5: /bodpool/Media/Library/Pictures,mp=/mnt/Library/Pictures
mp6: /bodpool/Media/Library/HomeVideos,mp=/mnt/Library/HomeVideos
mp7: /bodpool/Media/Library/Videos,mp=/mnt/Library/Videos
mp8: /bodpool/Media/Library/Books,mp=/mnt/Library/Books
mp9: /bodpool/Media/Library/Games,mp=/mnt/Library/Games
net0: name=eth0,bridge=vmbr0,firewall=1,gw=192.168.199.254,hwaddr=82:B3:77:28:EB:44,ip=192.168.199.15/24,type=veth
onboot: 1
ostype: ubuntu
rootfs: local-zfs:subvol-115-disk-0,size=8G
startup: order=3
swap: 0
unprivileged: 1
lxc.idmap: u 1614000000 1614000000 200000
lxc.idmap: g 1614000000 1614000000 200000
lxc.idmap: u 0 100000 65536
lxc.idmap: g 0 100000 65536
Here's the output of journalctl -xe
Code:
Sep 10 17:48:34 toast.home.pmer.tk audit[4939]: AVC apparmor="ALLOWED" operation="open" profile="/usr/sbin/sssd" name="/etc/selinux/semanage.conf" pid=4939 comm="selinux_child" requested_mask="r" d
Sep 10 17:48:34 toast.home.pmer.tk sudo[4938]: proxmoxadmin : TTY=pts/3 ; PWD=/home/proxmoxadmin ; USER=root ; COMMAND=/usr/sbin/pct start 115
Sep 10 17:48:34 toast.home.pmer.tk sudo[4938]: pam_unix(sudo:session): session opened for user root by proxmoxadmin(uid=0)
Sep 10 17:48:34 toast.home.pmer.tk kernel: audit: type=1400 audit(1599756514.714:2349): apparmor="ALLOWED" operation="open" profile="/usr/sbin/sssd" name="/etc/selinux/semanage.conf" pid=4939 comm=
Sep 10 17:48:35 toast.home.pmer.tk pct[4940]: <root@pam> starting task UPID:toast:0000134E:011ABB16:5F5A58E3:vzstart:115:root@pam:
Sep 10 17:48:35 toast.home.pmer.tk pct[4942]: starting CT 115: UPID:toast:0000134E:011ABB16:5F5A58E3:vzstart:115:root@pam:
Sep 10 17:48:35 toast.home.pmer.tk systemd[1]: Started PVE LXC Container: 115.
-- Subject: A start job for unit pve-container@115.service has finished successfully
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit pve-container@115.service has finished successfully.
--
-- The job identifier is 175285.
Sep 10 17:48:35 toast.home.pmer.tk pct[4940]: <root@pam> end task UPID:toast:0000134E:011ABB16:5F5A58E3:vzstart:115:root@pam: OK
Sep 10 17:48:35 toast.home.pmer.tk sudo[4938]: pam_unix(sudo:session): session closed for user root
Sep 10 17:48:35 toast.home.pmer.tk pvestatd[2713]: unable to get PID for CT 115 (not running?)
Sep 10 17:48:36 toast.home.pmer.tk systemd[1]: pve-container@115.service: Main process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- An ExecStart= process belonging to unit pve-container@115.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
Sep 10 17:48:36 toast.home.pmer.tk systemd[1]: pve-container@115.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit pve-container@115.service has entered the 'failed' state with result 'exit-code'.
Sep 10 17:48:43 toast.home.pmer.tk audit[5226]: AVC apparmor="ALLOWED" operation="open" profile="/usr/sbin/sssd" name="/etc/selinux/semanage.conf" pid=5226 comm="selinux_child" requested_mask="r" d
Sep 10 17:48:43 toast.home.pmer.tk sudo[5225]: proxmoxadmin : TTY=pts/3 ; PWD=/home/proxmoxadmin ; USER=root ; COMMAND=/bin/journalctl -xe
Sep 10 17:48:43 toast.home.pmer.tk sudo[5225]: pam_unix(sudo:session): session opened for user root by proxmoxadmin(uid=0)
Sep 10 17:48:43 toast.home.pmer.tk kernel: audit: type=1400 audit(1599756523.826:2350): apparmor="ALLOWED" operation="open" profile="/usr/sbin/sssd" name="/etc/selinux/semanage.conf" pid=5226 comm=