[SOLVED] TASK ERROR: command 'systemctl start [email protected]' failed: exit code 1


Status
Not open for further replies.

zens

Hosting Guru
Verified Provider
Assalamualaikum,
Selamat pagi, apa kabar kawan-kawan semuanya ? semoga selalu diberikan kesehatan dan dijauhkan dari pengaruh pandemi yang melanda saat ini.
Setelah sekian lama baru masuk lagi di forum diskusiwebhosting ini, akhirnya kembali saya curhat mengenai kendala server yang saat ini sedang dialami, mohon bantuan nya kepada kawan-kawan yang mungkin pernah mengalaminya untuk bersedia memberikan coretan pengalaman nya.

Salahsatu server saya menggunakan proxmox CT, sejak semalam salahsatu vm CT dalam posisi stopped, sehingga server tidak berjalan, sedangkan vm lainnya dalam satu server proxmox kondisi hidup normal.

beberapa kali dicoba start dan kondisi tetap stopped dengan pesan di status sever seperti berikut :
ob for [email protected] failed because the control process exited with error code.
See "systemctl status [email protected]" and "journalctl -xe" for details.
TASK ERROR: command 'systemctl start [email protected]' failed: exit code 1

Saya sudah melakukan beberapa proses yang mirif dengan kasus ini, tapi kendala belum tertangani.
berikut informasi dari server proxmox dan kendala yang dialami :

[email protected]:~# pveversion -v
proxmox-ve: 6.1-2 (running kernel: 5.3.10-1-pve)
pve-manager: 6.1-3 (running version: 6.1-3/37248ce6)
pve-kernel-5.3: 6.0-12
pve-kernel-helper: 6.0-12
pve-kernel-5.3.10-1-pve: 5.3.10-1
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.0.2-pve4
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: 0.8.35+pve1
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.13-pve1
libpve-access-control: 6.0-5
libpve-apiclient-perl: 3.0-2
libpve-common-perl: 6.0-9
libpve-guest-common-perl: 3.0-3
libpve-http-server-perl: 3.0-3
libpve-storage-perl: 6.1-2
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve3
lxc-pve: 3.2.1-1
lxcfs: 3.0.3-pve60
novnc-pve: 1.1.0-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.1-1
pve-cluster: 6.1-2
pve-container: 3.0-14
pve-docs: 6.1-3
pve-edk2-firmware: 2.20191002-1
pve-firewall: 4.0-9
pve-firmware: 3.0-4
pve-ha-manager: 3.0-8
pve-i18n: 2.0-3
pve-qemu-kvm: 4.1.1-2
pve-xtermjs: 3.13.2-1
qemu-server: 6.1-2
smartmontools: 7.0-pve2
spiceterm: 3.1-1
vncterm: 1.6-1
zfsutils-linux: 0.8.2-pve2


[email protected]:~# pct config 198
arch: amd64
cores: 4
hostname: da.dns.biz.id
memory: 8192
net0: name=eth0,bridge=vmbr0,firewall=1,gw=49.0.2.193,hwaddr=46:E9:05:BB:28:BC,ip=49.0.2.198/29,type=veth
onboot: 1
ostype: centos
rootfs: local-lvm:vm-198-disk-0,size=120G
swap: 8192
unprivileged: 1

[email protected]:~# lxc-start -n 198 -F -l DEBUG -o /tmp/lxc-198.log
lxc-start: 198: conf.c: run_buffer: 352 Script exited with status 2
lxc-start: 198: start.c: lxc_init: 897 Failed to run lxc.hook.pre-start for container "198"
lxc-start: 198: start.c: __lxc_start: 2032 Failed to initialize container "198"
Segmentation fault

lxc-start 198 20210318233043.884 INFO seccomp - seccomp.c:parse_config_v2:984 - Added compat rule for arch 1073741827 for finit_module action 327681(errno)
lxc-start 198 20210318233043.884 INFO seccomp - seccomp.c:parse_config_v2:994 - Added compat rule for arch 1073741886 for finit_module action 327681(errno)
lxc-start 198 20210318233043.884 INFO seccomp - seccomp.c:parse_config_v2:1004 - Added native rule for arch -1073741762 for finit_module action 327681(errno)
lxc-start 198 20210318233043.884 INFO seccomp - seccomp.c:parse_config_v2:789 - Processing "delete_module errno 1"
lxc-start 198 20210318233043.884 INFO seccomp - seccomp.c:parse_config_v2:975 - Added native rule for arch 0 for delete_module action 327681(errno)
lxc-start 198 20210318233043.884 INFO seccomp - seccomp.c:parse_config_v2:984 - Added compat rule for arch 1073741827 for delete_module action 327681(errno)
lxc-start 198 20210318233043.884 INFO seccomp - seccomp.c:parse_config_v2:994 - Added compat rule for arch 1073741886 for delete_module action 327681(errno)
lxc-start 198 20210318233043.884 INFO seccomp - seccomp.c:parse_config_v2:1004 - Added native rule for arch -1073741762 for delete_module action 327681(errno)
lxc-start 198 20210318233043.884 INFO seccomp - seccomp.c:parse_config_v2:789 - Processing "keyctl errno 38"
lxc-start 198 20210318233043.884 INFO seccomp - seccomp.c:parse_config_v2:975 - Added native rule for arch 0 for keyctl action 327718(errno)
lxc-start 198 20210318233043.884 INFO seccomp - seccomp.c:parse_config_v2:984 - Added compat rule for arch 1073741827 for keyctl action 327718(errno)
lxc-start 198 20210318233043.884 INFO seccomp - seccomp.c:parse_config_v2:994 - Added compat rule for arch 1073741886 for keyctl action 327718(errno)
lxc-start 198 20210318233043.884 INFO seccomp - seccomp.c:parse_config_v2:1004 - Added native rule for arch -1073741762 for keyctl action 327718(errno)
lxc-start 198 20210318233043.884 INFO seccomp - seccomp.c:parse_config_v2:1008 - Merging compat seccomp contexts into main context
lxc-start 198 20210318233043.884 INFO conf - conf.c:run_script_argv:372 - Executing script "/usr/share/lxc/hooks/lxc-pve-prestart-hook" for container "198", config section "lxc"
lxc-start 198 20210318233044.470 DEBUG conf - conf.c:run_buffer:340 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 198 lxc pre-start produced output: unable to detect OS distribution

lxc-start 198 20210318233044.475 ERROR conf - conf.c:run_buffer:352 - Script exited with status 2
lxc-start 198 20210318233044.475 ERROR start - start.c:lxc_init:897 - Failed to run lxc.hook.pre-start for container "198"
lxc-start 198 20210318233044.475 ERROR start - start.c:__lxc_start:2032 - Failed to initialize container "198"

[email protected]:~# pct mount 198
mounted CT 198 in '/var/lib/lxc/198/rootfs'

[email protected]:~# cat /etc/pve/storage.cfg
dir: local
path /var/lib/vz
content iso,vztmpl,backup

lvmthin: local-lvm
thinpool data
vgname pve
content rootdir,images

[email protected]:~# pct start 198
Job for [email protected] failed because the control process exited with error code.
See "systemctl status [email protected]" and "journalctl -xe" for details.
command 'systemctl start [email protected]' failed: exit code 1

Mohon masukannya supaya container 198 bisa kembali normal, terimakasih.
 

zens

Hosting Guru
Verified Provider
terimakasih atas tanggapan nya om @idnix :77:
tampilan dari systemctl status [email protected]
seperti berikut :
Code:
[email protected]:~# systemctl status [email protected][email protected] - PVE LXC Container: 198
   Loaded: loaded (/lib/systemd/system/[email protected]; static; vendor pr
   Active: failed (Result: exit-code) since Sat 2021-03-20 06:48:23 WIB; 12h ago
     Docs: man:lxc-start
           man:lxc
           man:pct
  Process: 26414 ExecStart=/usr/bin/lxc-start -n 198 (code=exited, status=1/FAIL

Mar 20 06:48:22 proxmox systemd[1]: Starting PVE LXC Container: 198...
Mar 20 06:48:23 proxmox lxc-start[26414]: lxc-start: 198: lxccontainer.c: wait_o
Mar 20 06:48:23 proxmox lxc-start[26414]: lxc-start: 198: tools/lxc_start.c: mai
Mar 20 06:48:23 proxmox lxc-start[26414]: lxc-start: 198: tools/lxc_start.c: mai
Mar 20 06:48:23 proxmox lxc-start[26414]: lxc-start: 198: tools/lxc_start.c: mai
Mar 20 06:48:23 proxmox systemd[1]: [email protected]: Control process e
Mar 20 06:48:23 proxmox systemd[1]: [email protected]: Failed with resul
Mar 20 06:48:23 proxmox systemd[1]: Failed to start PVE LXC Container: 198.
 

zens

Hosting Guru
Verified Provider
systemctl restart [email protected]
Code:
[email protected]:~# systemctl restart [email protected]
Job for [email protected] failed because the control process exited with error code.
See "systemctl status [email protected]" and "journalctl -xe" for details.

systemctl status [email protected] -l
Code:
[email protected]:~# systemctl status [email protected] -l
● [email protected] - PVE LXC Container: 198
   Loaded: loaded (/lib/systemd/system/[email protected]; static; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2021-03-21 04:35:41 WIB; 45s ago
     Docs: man:lxc-start
           man:lxc
           man:pct
  Process: 14566 ExecStart=/usr/bin/lxc-start -n 198 (code=exited, status=1/FAILURE)

Mar 21 04:35:40 proxmox systemd[1]: Starting PVE LXC Container: 198...
Mar 21 04:35:41 proxmox lxc-start[14566]: lxc-start: 198: lxccontainer.c: wait_on_daemonized_start: 865 No such file or directory - Failed to receive the container st
Mar 21 04:35:41 proxmox lxc-start[14566]: lxc-start: 198: tools/lxc_start.c: main: 329 The container failed to start
Mar 21 04:35:41 proxmox lxc-start[14566]: lxc-start: 198: tools/lxc_start.c: main: 332 To get more details, run the container in foreground mode
Mar 21 04:35:41 proxmox lxc-start[14566]: lxc-start: 198: tools/lxc_start.c: main: 335 Additional information can be obtained by setting the --logfile and --logpriori
Mar 21 04:35:41 proxmox systemd[1]: [email protected]: Control process exited, code=exited, status=1/FAILURE
Mar 21 04:35:41 proxmox systemd[1]: [email protected]: Failed with result 'exit-code'.
Mar 21 04:35:41 proxmox systemd[1]: Failed to start PVE LXC Container: 198.
 
Last edited:

Milea Adnan

Expert 1.0
Assalamualaikum,
Selamat pagi, apa kabar kawan-kawan semuanya ? semoga selalu diberikan kesehatan dan dijauhkan dari pengaruh pandemi yang melanda saat ini.
Setelah sekian lama baru masuk lagi di forum diskusiwebhosting ini, akhirnya kembali saya curhat mengenai kendala server yang saat ini sedang dialami, mohon bantuan nya kepada kawan-kawan yang mungkin pernah mengalaminya untuk bersedia memberikan coretan pengalaman nya.

Salahsatu server saya menggunakan proxmox CT, sejak semalam salahsatu vm CT dalam posisi stopped, sehingga server tidak berjalan, sedangkan vm lainnya dalam satu server proxmox kondisi hidup normal.

beberapa kali dicoba start dan kondisi tetap stopped dengan pesan di status sever seperti berikut :


Saya sudah melakukan beberapa proses yang mirif dengan kasus ini, tapi kendala belum tertangani.
berikut informasi dari server proxmox dan kendala yang dialami :

[email protected]:~# pveversion -v
proxmox-ve: 6.1-2 (running kernel: 5.3.10-1-pve)
pve-manager: 6.1-3 (running version: 6.1-3/37248ce6)
pve-kernel-5.3: 6.0-12
pve-kernel-helper: 6.0-12
pve-kernel-5.3.10-1-pve: 5.3.10-1
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.0.2-pve4
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: 0.8.35+pve1
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.13-pve1
libpve-access-control: 6.0-5
libpve-apiclient-perl: 3.0-2
libpve-common-perl: 6.0-9
libpve-guest-common-perl: 3.0-3
libpve-http-server-perl: 3.0-3
libpve-storage-perl: 6.1-2
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve3
lxc-pve: 3.2.1-1
lxcfs: 3.0.3-pve60
novnc-pve: 1.1.0-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.1-1
pve-cluster: 6.1-2
pve-container: 3.0-14
pve-docs: 6.1-3
pve-edk2-firmware: 2.20191002-1
pve-firewall: 4.0-9
pve-firmware: 3.0-4
pve-ha-manager: 3.0-8
pve-i18n: 2.0-3
pve-qemu-kvm: 4.1.1-2
pve-xtermjs: 3.13.2-1
qemu-server: 6.1-2
smartmontools: 7.0-pve2
spiceterm: 3.1-1
vncterm: 1.6-1
zfsutils-linux: 0.8.2-pve2


[email protected]:~# pct config 198
arch: amd64
cores: 4
hostname: da.dns.biz.id
memory: 8192
net0: name=eth0,bridge=vmbr0,firewall=1,gw=49.0.2.193,hwaddr=46:E9:05:BB:28:BC,ip=49.0.2.198/29,type=veth
onboot: 1
ostype: centos
rootfs: local-lvm:vm-198-disk-0,size=120G
swap: 8192
unprivileged: 1

[email protected]:~# lxc-start -n 198 -F -l DEBUG -o /tmp/lxc-198.log
lxc-start: 198: conf.c: run_buffer: 352 Script exited with status 2
lxc-start: 198: start.c: lxc_init: 897 Failed to run lxc.hook.pre-start for container "198"
lxc-start: 198: start.c: __lxc_start: 2032 Failed to initialize container "198"
Segmentation fault

lxc-start 198 20210318233043.884 INFO seccomp - seccomp.c:parse_config_v2:984 - Added compat rule for arch 1073741827 for finit_module action 327681(errno)
lxc-start 198 20210318233043.884 INFO seccomp - seccomp.c:parse_config_v2:994 - Added compat rule for arch 1073741886 for finit_module action 327681(errno)
lxc-start 198 20210318233043.884 INFO seccomp - seccomp.c:parse_config_v2:1004 - Added native rule for arch -1073741762 for finit_module action 327681(errno)
lxc-start 198 20210318233043.884 INFO seccomp - seccomp.c:parse_config_v2:789 - Processing "delete_module errno 1"
lxc-start 198 20210318233043.884 INFO seccomp - seccomp.c:parse_config_v2:975 - Added native rule for arch 0 for delete_module action 327681(errno)
lxc-start 198 20210318233043.884 INFO seccomp - seccomp.c:parse_config_v2:984 - Added compat rule for arch 1073741827 for delete_module action 327681(errno)
lxc-start 198 20210318233043.884 INFO seccomp - seccomp.c:parse_config_v2:994 - Added compat rule for arch 1073741886 for delete_module action 327681(errno)
lxc-start 198 20210318233043.884 INFO seccomp - seccomp.c:parse_config_v2:1004 - Added native rule for arch -1073741762 for delete_module action 327681(errno)
lxc-start 198 20210318233043.884 INFO seccomp - seccomp.c:parse_config_v2:789 - Processing "keyctl errno 38"
lxc-start 198 20210318233043.884 INFO seccomp - seccomp.c:parse_config_v2:975 - Added native rule for arch 0 for keyctl action 327718(errno)
lxc-start 198 20210318233043.884 INFO seccomp - seccomp.c:parse_config_v2:984 - Added compat rule for arch 1073741827 for keyctl action 327718(errno)
lxc-start 198 20210318233043.884 INFO seccomp - seccomp.c:parse_config_v2:994 - Added compat rule for arch 1073741886 for keyctl action 327718(errno)
lxc-start 198 20210318233043.884 INFO seccomp - seccomp.c:parse_config_v2:1004 - Added native rule for arch -1073741762 for keyctl action 327718(errno)
lxc-start 198 20210318233043.884 INFO seccomp - seccomp.c:parse_config_v2:1008 - Merging compat seccomp contexts into main context
lxc-start 198 20210318233043.884 INFO conf - conf.c:run_script_argv:372 - Executing script "/usr/share/lxc/hooks/lxc-pve-prestart-hook" for container "198", config section "lxc"
lxc-start 198 20210318233044.470 DEBUG conf - conf.c:run_buffer:340 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 198 lxc pre-start produced output: unable to detect OS distribution

lxc-start 198 20210318233044.475 ERROR conf - conf.c:run_buffer:352 - Script exited with status 2
lxc-start 198 20210318233044.475 ERROR start - start.c:lxc_init:897 - Failed to run lxc.hook.pre-start for container "198"
lxc-start 198 20210318233044.475 ERROR start - start.c:__lxc_start:2032 - Failed to initialize container "198"

[email protected]:~# pct mount 198
mounted CT 198 in '/var/lib/lxc/198/rootfs'

[email protected]:~# cat /etc/pve/storage.cfg
dir: local
path /var/lib/vz
content iso,vztmpl,backup

lvmthin: local-lvm
thinpool data
vgname pve
content rootdir,images

[email protected]:~# pct start 198
Job for [email protected] failed because the control process exited with error code.
See "systemctl status [email protected]" and "journalctl -xe" for details.
command 'systemctl start [email protected]' failed: exit code 1

Mohon masukannya supaya container 198 bisa kembali normal, terimakasih.

wa'alaikumussalaam warahmatullaah wabarakaatuh

bisa posting hasil dari :
ls -al /storage/proxmox/vm-198-disk-0

dan/atau hasil dari :
ls -al /tank/vmdata/vm-198-disk-0
 

zens

Hosting Guru
Verified Provider
terimakasih @Milea Adnan atas respon nya.

report dari ls -al /storage/proxmox/vm-198-disk-0
Code:
[email protected]:~# ls -al /storage/proxmox/vm-198-disk-0
ls: cannot access '/storage/proxmox/vm-198-disk-0': No such file or directory

report dari ls -al /tank/vmdata/vm-198-disk-0
Code:
[email protected]:~# ls -al /tank/vmdata/vm-198-disk-0
ls: cannot access '/tank/vmdata/vm-198-disk-0': No such file or directory
 
Status
Not open for further replies.


Top