lxc_container: command get_init_pid failed to receive response

Itamar Gal itamarggal at gmail.com
Wed Jun 24 15:43:25 UTC 2015


Dear ubuntu-users,

First some background about me. I'm a junior system administrator at a
small company. I've inherited my environment from a previous sysadmin who
didn't leave much in the way of documentation.

Now here's my issue. Recently I've been put in charge of a server running
Ubuntu 12.04, which is hosting several Linux containers. I started learning
about the lxc toolset, and while playing around with lxc-ls I noticed that
running lxc-ls with any of its option flags (except for the -1 flag)
resulted in the following error:

    lxc_container: command get_init_pid failed to receive response

An example session would be:

    $ sudo lxc-ls --fancy
    lxc_container: command get_init_pid failed to receive response

I tried updating the lxc package, but it didn't seem to help much. The
error disappeared, but there was no output. I also noticed that the
lxc-list command which was previously available had disappeared. So then I
tried down-grading the lxc package, but that seems to have broken other
lxc-* commands; they result in the same error. I tried installing several
different versions of the lxc package, but I must be doing something wrong,
because I can't seem to find a version that works. In the current state I'm
getting errors such as the following:

    $ sudo lxc-ls --fancy
    lxc: unknown key lxc.start.auto
    lxc_container: command get_init_pid failed to receive response

How can I get a working set of lxc-* tools? Help!

Cheers,
Itamar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20150624/8b7d40c2/attachment.html>


More information about the ubuntu-users mailing list