Wiki source code of Проблема запуска lxc контейнера
Last modified by Сергей Коршунов on 2024/04/01 15:13
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | При ошибке запуска lxc контейнера proxmox: | ||
2 | |||
3 | run_buffer: 322 Script exited with status 255 | ||
4 | lxc_init: 844 Failed to run lxc.hook.pre-start for container "195" | ||
5 | ~_~_lxc_start: 2027 Failed to initialize container "195" | ||
6 | \\TASK ERROR: startup for container '195' failed | ||
7 | |||
8 | |||
9 | Введите команду ниже для запуска с параметрами отладки: | ||
10 | |||
11 | lxc-start -n 195 -F | ||
12 | |||
13 | |||
14 | Результат примерно такой вывод: | ||
15 | |||
16 | |||
17 | lxc-start: 195: ../src/lxc/conf.c: run_buffer: 322 Script exited with status 255 | ||
18 | lxc-start: 195: ../src/lxc/start.c: lxc_init: 844 Failed to run lxc.hook.pre-start for container "195" | ||
19 | lxc-start: 195: ../src/lxc/start.c: ~_~_lxc_start: 2027 Failed to initialize container "195" | ||
20 | lxc-start: 195: ../src/lxc/conf.c: run_buffer: 322 Script exited with status 1 | ||
21 | lxc-start: 195: ../src/lxc/start.c: lxc_end: 985 Failed to run lxc.hook.post-stop for container "195" | ||
22 | lxc-start: 195: ../src/lxc/tools/lxc_start.c: main: 306 The container failed to start | ||
23 | lxc-start: 195: ../src/lxc/tools/lxc_start.c: main: 311 Additional information can be obtained by setting the ~-~-logfile and ~-~-logpriority options | ||
24 | |||
25 | |||
26 | Починить можно командой (проверка на ошибки и исправлеие витуального диска): | ||
27 | |||
28 | pct fsck 195 |