Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cerebrate/2591e15dc4e2da0d4964b7b82f9845fc to your computer and use it in GitHub Desktop.
Save cerebrate/2591e15dc4e2da0d4964b7b82f9845fc to your computer and use it in GitHub Desktop.
LXD error starting container
# avatar @ athena in ~ [0:16:06]
$ lxc start deep-macaw
Error: Failed to run: /snap/lxd/current/bin/lxd forkstart deep-macaw /var/snap/lxd/common/lxd/containers /var/snap/lxd/common/lxd/logs/deep-macaw/lxc.conf:
Try `lxc info --show-log deep-macaw` for more info
[2] 8301 exit 1 lxc start deep-macaw
# avatar @ athena in ~ [0:16:15] C:1
$ lxc info --show-log deep-macaw
Name: deep-macaw
Location: none
Remote: unix://
Architecture: x86_64
Created: 2019/07/08 23:05 UTC
Status: Stopped
Type: persistent
Profiles: default
Log:
lxc deep-macaw 20190709051615.563 WARN conf - conf.c:lxc_map_ids:2970 - newuidmap binary is missing
lxc deep-macaw 20190709051615.563 WARN conf - conf.c:lxc_map_ids:2976 - newgidmap binary is missing
lxc deep-macaw 20190709051615.585 WARN conf - conf.c:lxc_map_ids:2970 - newuidmap binary is missing
lxc deep-macaw 20190709051615.585 WARN conf - conf.c:lxc_map_ids:2976 - newgidmap binary is missing
lxc deep-macaw 20190709051615.645 ERROR utils - utils.c:safe_mount:1187 - Operation not permitted - Failed to mount "sysfs" onto "/var/snap/lxd/common/lxc//sys"
lxc deep-macaw 20190709051615.645 ERROR conf - conf.c:lxc_mount_auto_mounts:741 - Operation not permitted - Failed to mount "sysfs" on "/var/snap/lxd/common/lxc//sys" with flags 0
lxc deep-macaw 20190709051615.645 ERROR conf - conf.c:lxc_setup:3592 - Failed to setup first automatic mounts
lxc deep-macaw 20190709051615.645 ERROR start - start.c:do_start:1282 - Failed to setup container "deep-macaw"
lxc deep-macaw 20190709051615.646 ERROR sync - sync.c:__sync_wait:62 - An error occurred in another process (expected sequence number 5)
lxc deep-macaw 20190709051615.710 ERROR lxccontainer - lxccontainer.c:wait_on_daemonized_start:864 - Received container state "ABORTING" instead of "RUNNING"
lxc deep-macaw 20190709051615.710 ERROR start - start.c:__lxc_start:1975 - Failed to spawn container "deep-macaw"
lxc deep-macaw 20190709051615.759 WARN conf - conf.c:lxc_map_ids:2970 - newuidmap binary is missing
lxc deep-macaw 20190709051615.759 WARN conf - conf.c:lxc_map_ids:2976 - newgidmap binary is missing
lxc 20190709051615.772 WARN commands - commands.c:lxc_cmd_rsp_recv:132 - Connection reset by peer - Failed to receive response for command "get_state"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment