[SOLVED] TASK ERROR: command 'systemctl start pve-container@198' 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 pve-container@198.service failed because the control process exited with error code.
See "systemctl status pve-container@198.service" and "journalctl -xe" for details.
TASK ERROR: command 'systemctl start pve-container@198' 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 :

root@proxmox:~# 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


root@proxmox:~# 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

root@proxmox:~# 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"

root@proxmox:~# pct mount 198
mounted CT 198 in '/var/lib/lxc/198/rootfs'

root@proxmox:~# 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

root@proxmox:~# pct start 198
Job for pve-container@198.service failed because the control process exited with error code.
See "systemctl status pve-container@198.service" and "journalctl -xe" for details.
command 'systemctl start pve-container@198' failed: exit code 1

Mohon masukannya supaya container 198 bisa kembali normal, terimakasih.
 

idnix

Hosting Guru
Verified Provider
result dari

Code:
systemctl status pve-container@198.service
mohon di lampirkan?
 

zens

Hosting Guru
Verified Provider
terimakasih atas tanggapan nya om @idnix :77:
tampilan dari systemctl status pve-container@198.service
seperti berikut :
Code:
root@proxmox:~# systemctl status pve-container@198.service
● pve-container@198.service - PVE LXC Container: 198
   Loaded: loaded (/lib/systemd/system/pve-container@.service; 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]: pve-container@198.service: Control process e
Mar 20 06:48:23 proxmox systemd[1]: pve-container@198.service: Failed with resul
Mar 20 06:48:23 proxmox systemd[1]: Failed to start PVE LXC Container: 198.
 

idnix

Hosting Guru
Verified Provider
masih belum jelas errornya "wait_o" apa itu?

coba restart dulu
Code:
systemctl restart pve-container@198.service
lalu cek status dengan tambahin opsi -l


Code:
systemctl status pve-container@198.service -l
lampirin lg errornya disini
 

zens

Hosting Guru
Verified Provider
systemctl restart pve-container@198.service
Code:
root@proxmox:~# systemctl restart pve-container@198.service
Job for pve-container@198.service failed because the control process exited with error code.
See "systemctl status pve-container@198.service" and "journalctl -xe" for details.
systemctl status pve-container@198.service -l
Code:
root@proxmox:~# systemctl status pve-container@198.service -l
● pve-container@198.service - PVE LXC Container: 198
   Loaded: loaded (/lib/systemd/system/pve-container@.service; 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]: pve-container@198.service: Control process exited, code=exited, status=1/FAILURE
Mar 21 04:35:41 proxmox systemd[1]: pve-container@198.service: 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 :

root@proxmox:~# 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


root@proxmox:~# 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

root@proxmox:~# 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"

root@proxmox:~# pct mount 198
mounted CT 198 in '/var/lib/lxc/198/rootfs'

root@proxmox:~# 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

root@proxmox:~# pct start 198
Job for pve-container@198.service failed because the control process exited with error code.
See "systemctl status pve-container@198.service" and "journalctl -xe" for details.
command 'systemctl start pve-container@198' 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:
root@proxmox:~# 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:
root@proxmox:~# ls -al /tank/vmdata/vm-198-disk-0
ls: cannot access '/tank/vmdata/vm-198-disk-0': No such file or directory
 

zens

Hosting Guru
Verified Provider
hasilnya :
Code:
root@proxmox:~# zfs get mounted
root@proxmox:~# /etc/pve/storage.cfg
-bash: /etc/pve/storage.cfg: Permission denied
root@proxmox:~#
 
Status
Not open for further replies.

Top