Portál AbcLinuxu, 28. května 2024 15:23


Dotaz: kontajner sa nespusti

20.3.2018 15:16 jany2 | skóre: 30 | blog: jany_blog
kontajner sa nespusti
Přečteno: 413×
Odpovědět | Admin
Proxmox Virtual Environment 5.1-41
Zatial sa v proxmoxe len hrajem a skusam.
Nainstaloval som kontajner debian 9.x zo sablony. Vsetko pekne fungovalo, nemal som ziadny problem. Kedze som sa s tym celkom vyhral, tak som si to nejako rozbyl a kontajner som odstranil a nainstaloval som si znova z tej istej sablony.
Kontajner som spustil a fungoval, ale len v LAN. Na internet sa uz nevedel pripojit. neriesil som to a znova som kontajner odstranil a nainstaloval znova.
Bohuzial teraz sa kontajner ani nespusti
root@test:~# pct start 100
Job for pve-container@100.service failed because the control process exited with error code.
See "systemctl status pve-container@100.service" and "journalctl -xe" for details.
command 'systemctl start pve-container@100' failed: exit code 1
systemctl status pve-container@100.service vyzera nejak takto
● pve-container@100.service - PVE LXC Container: 100
   Loaded: loaded (/lib/systemd/system/pve-container@.service; static; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2018-03-20 15:04:59 CET; 9s ago
     Docs: man:lxc-start
           man:lxc
           man:pct
  Process: 1825 ExecStart=/usr/bin/lxc-start -n 100 (code=exited, status=1/FAILURE)

Mar 20 15:04:59 test systemd[1]: Starting PVE LXC Container: 100...
Mar 20 15:04:59 test lxc-start[1825]: lxc-start: 100: lxccontainer.c: wait_on_daemonized_start: 751 No such file or di
Mar 20 15:04:59 test lxc-start[1825]: lxc-start: 100: tools/lxc_start.c: main: 371 The container failed to start.
Mar 20 15:04:59 test lxc-start[1825]: lxc-start: 100: tools/lxc_start.c: main: 373 To get more details, run the contai
Mar 20 15:04:59 test lxc-start[1825]: lxc-start: 100: tools/lxc_start.c: main: 375 Additional information can be obtai
Mar 20 15:04:59 test systemd[1]: pve-container@100.service: Control process exited, code=exited status=1
Mar 20 15:04:59 test systemd[1]: pve-container@100.service: Killing process 1835 (lxc-start) with signal SIGKILL.
Mar 20 15:04:59 test systemd[1]: Failed to start PVE LXC Container: 100.
Mar 20 15:04:59 test systemd[1]: pve-container@100.service: Unit entered failed state.
Mar 20 15:04:59 test systemd[1]: pve-container@100.service: Failed with result 'exit-code'.
...skipping...
● pve-container@100.service - PVE LXC Container: 100
   Loaded: loaded (/lib/systemd/system/pve-container@.service; static; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2018-03-20 15:04:59 CET; 9s ago
     Docs: man:lxc-start
           man:lxc
           man:pct
  Process: 1825 ExecStart=/usr/bin/lxc-start -n 100 (code=exited, status=1/FAILURE)

Mar 20 15:04:59 test systemd[1]: Starting PVE LXC Container: 100...
Mar 20 15:04:59 test lxc-start[1825]: lxc-start: 100: lxccontainer.c: wait_on_daemonized_start: 751 No such file or di
Mar 20 15:04:59 test lxc-start[1825]: lxc-start: 100: tools/lxc_start.c: main: 371 The container failed to start.
Mar 20 15:04:59 test lxc-start[1825]: lxc-start: 100: tools/lxc_start.c: main: 373 To get more details, run the contai
Mar 20 15:04:59 test lxc-start[1825]: lxc-start: 100: tools/lxc_start.c: main: 375 Additional information can be obtai
Mar 20 15:04:59 test systemd[1]: pve-container@100.service: Control process exited, code=exited status=1
Mar 20 15:04:59 test systemd[1]: pve-container@100.service: Killing process 1835 (lxc-start) with signal SIGKILL.
Mar 20 15:04:59 test systemd[1]: Failed to start PVE LXC Container: 100.
Mar 20 15:04:59 test systemd[1]: pve-container@100.service: Unit entered failed state.
Mar 20 15:04:59 test systemd[1]: pve-container@100.service: Failed with result 'exit-code'.
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
lines 1-18/18 (END)...skipping...
● pve-container@100.service - PVE LXC Container: 100
   Loaded: loaded (/lib/systemd/system/pve-container@.service; static; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2018-03-20 15:04:59 CET; 9s ago
     Docs: man:lxc-start
           man:lxc
           man:pct
  Process: 1825 ExecStart=/usr/bin/lxc-start -n 100 (code=exited, status=1/FAILURE)

Mar 20 15:04:59 test systemd[1]: Starting PVE LXC Container: 100...
Mar 20 15:04:59 test lxc-start[1825]: lxc-start: 100: lxccontainer.c: wait_on_daemonized_start: 751 No such file or di
Mar 20 15:04:59 test lxc-start[1825]: lxc-start: 100: tools/lxc_start.c: main: 371 The container failed to start.
Mar 20 15:04:59 test lxc-start[1825]: lxc-start: 100: tools/lxc_start.c: main: 373 To get more details, run the contai
Mar 20 15:04:59 test lxc-start[1825]: lxc-start: 100: tools/lxc_start.c: main: 375 Additional information can be obtai
Mar 20 15:04:59 test systemd[1]: pve-container@100.service: Control process exited, code=exited status=1
Mar 20 15:04:59 test systemd[1]: pve-container@100.service: Killing process 1835 (lxc-start) with signal SIGKILL.
Mar 20 15:04:59 test systemd[1]: Failed to start PVE LXC Container: 100.
Mar 20 15:04:59 test systemd[1]: pve-container@100.service: Unit entered failed state.
Mar 20 15:04:59 test systemd[1]: pve-container@100.service: Failed with result 'exit-code'.
journalctl -xe je hodne dlhy. Po aktualizacii
/etc/apt/sources.list
kde mam
deb http://ftp.debian.org/debian stretch main contrib

# security updates
deb http://security.debian.org stretch/updates main contrib
to vobec nefunguje. Skusil som pre istotu aj iny HDD s novo nainstalovanym proxmoxom. Pripada mi ten proxmox ako nejaka trial verzia :)
upozornujem, ze v linuxe som vecny zaciatocnik ...

Řešení dotazu:


Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

20.3.2018 19:12 NN
Rozbalit Rozbalit vše Re: kontajner sa nespusti
Odpovědět | | Sbalit | Link | Blokovat | Admin
 To get more details, run the container in foreground mode. Additional information can be obtained by setting the --logfile and --logpriority options.
21.3.2018 18:50 jany2 | skóre: 30 | blog: jany_blog
Rozbalit Rozbalit vše Re: kontajner sa nespusti
/etc/apt/sources.list
stacilo pridat repozitar bez predplatnehoa aktualizovat
upozornujem, ze v linuxe som vecny zaciatocnik ...

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.