[SOLVED] Can't start a lxc container

bobzer

Well-Known Member
Nov 14, 2017
37
8
48
37
Hi,

Since I did a a backup with stop option of my lxc container i can't start anymore :'(

The container was running fine, when i did the backup it was automatically stop but never start since.

The backup succeed, it didn't show any error.

Code:
# lxc-start -n 102 -F  --logpriority TRACE --logfile log.txt
      lxc-start: 102: lxccontainer.c: do_lxcapi_start: 984 Permission denied - Failed to make / rslave at startup
      lxc-start: 102: tools/lxc_start.c: main: 371 The container failed to start.
      lxc-start: 102: tools/lxc_start.c: main: 375 Additional information can be obtained by setting the --logfile and --logpriority options.
# cat log.txt
      lxc-start 102 20180521020521.294 INFO     lxc_start_ui - tools/lxc_start.c:main:280 - using rcfile /var/lib/lxc/102/config
      lxc-start 102 20180521020521.294 TRACE    lxc_commands - commands.c:lxc_cmd:290 - command get_init_pid tries to connect command socket
      lxc-start 102 20180521020521.294 TRACE    lxc_commands - commands.c:lxc_cmd:295 - command get_init_pid failed to connect command socket: Connection refused
      lxc-start 102 20180521020521.294 TRACE    lxc_commands - commands.c:lxc_cmd:290 - command get_cgroup tries to connect command socket
      lxc-start 102 20180521020521.294 TRACE    lxc_commands - commands.c:lxc_cmd:295 - command get_cgroup failed to connect command socket: Connection refused
      lxc-start 102 20180521020521.294 TRACE    lxc_commands - commands.c:do_lxc_cmd_get_cgroup_path:439 - command get_cgroup failed for container "102": Connection refused.
      lxc-start 102 20180521020521.294 TRACE    lxc_commands - commands.c:lxc_cmd:290 - command get_state tries to connect command socket
      lxc-start 102 20180521020521.294 TRACE    lxc_commands - commands.c:lxc_cmd:295 - command get_state failed to connect command socket: Connection refused
      lxc-start 102 20180521020521.294 TRACE    lxc_start - start.c:lxc_init_handler:592 - unix domain socket 4 for command server is ready
      lxc-start 102 20180521020521.294 ERROR    lxc_container - lxccontainer.c:do_lxcapi_start:984 - Permission denied - Failed to make / rslave at startup
      lxc-start 102 20180521020521.294 ERROR    lxc_start_ui - tools/lxc_start.c:main:371 - The container failed to start.
      lxc-start 102 20180521020521.294 ERROR    lxc_start_ui - tools/lxc_start.c:main:375 - Additional information can be obtained by setting the --logfile and --logpriority options.
      lxc-start 102 20180521022026.387 INFO     lxc_start_ui - tools/lxc_start.c:main:280 - using rcfile /var/lib/lxc/102/config
      lxc-start 102 20180521022026.387 TRACE    lxc_commands - commands.c:lxc_cmd:290 - command get_init_pid tries to connect command socket
      lxc-start 102 20180521022026.387 TRACE    lxc_commands - commands.c:lxc_cmd:295 - command get_init_pid failed to connect command socket: Connection refused
      lxc-start 102 20180521022026.387 TRACE    lxc_commands - commands.c:lxc_cmd:290 - command get_cgroup tries to connect command socket
      lxc-start 102 20180521022026.387 TRACE    lxc_commands - commands.c:lxc_cmd:295 - command get_cgroup failed to connect command socket: Connection refused
      lxc-start 102 20180521022026.387 TRACE    lxc_commands - commands.c:do_lxc_cmd_get_cgroup_path:439 - command get_cgroup failed for container "102": Connection refused.
      lxc-start 102 20180521022026.387 TRACE    lxc_commands - commands.c:lxc_cmd:290 - command get_state tries to connect command socket
      lxc-start 102 20180521022026.387 TRACE    lxc_commands - commands.c:lxc_cmd:295 - command get_state failed to connect command socket: Connection refused
      lxc-start 102 20180521022026.387 TRACE    lxc_start - start.c:lxc_init_handler:592 - unix domain socket 4 for command server is ready
      lxc-start 102 20180521022026.387 ERROR    lxc_container - lxccontainer.c:do_lxcapi_start:984 - Permission denied - Failed to make / rslave at startup
      lxc-start 102 20180521022026.387 ERROR    lxc_start_ui - tools/lxc_start.c:main:371 - The container failed to start.
      lxc-start 102 20180521022026.387 ERROR    lxc_start_ui - tools/lxc_start.c:main:375 - Additional information can be obtained by setting the --logfile and --logpriority options.

Hope you can help me i have no idea for how to get back my data or even better make it work again :)
 
strangely after doing the latest update and reboot the server everything came back to normal
i don't understand why but anyway it works ...
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!