[lxc-users] Error connecting to cgroup manager

Alan Hoffmeister alanhoffmeister at gmail.com
Mon Jun 8 16:50:03 UTC 2015


Nothing, same error.


--
Alan Hoffmeister
https://twitter.com/alan_hoff
https://github.com/alanhoff
https://keybase.io/alanhoff

2015-06-08 12:19 GMT-03:00 Serge Hallyn <serge.hallyn at ubuntu.com>:

> Quoting Alan Hoffmeister (alanhoffmeister at gmail.com):
> > Hello folks, I'm getting this messages when trying to autostart a vanilla
> > ubuntu 14.04 guest on an ubntu 14.04 host, I'm using LXC 1.1.2
> >
> >       lxc-start 1433600022.910 ERROR    lxc_cgmanager -
> > cgmanager.c:cgm_destroy:571 - Error connecting to cgroup manager
> >       lxc-start 1433600096.266 ERROR    lxc_cgmanager -
> > cgmanager.c:cgm_bind_dir:1339 -
> /usr/lib/x86_64-linux-gnu/lxc/sys/fs/cgroup
> > does not exist
>
> Hm, this looks like a race.  lxc.conf starts on runlevel [2345].
> cgmanager starts on starting dbus.  If cgmanager is slow to start,
> I'm not sure there is anything stopping runlevel 2 from being entered
> before
> cgmanager is up.
>
> Does it reliably solve your issue if you change the 'start on' line in
> /etc/init/lxc.conf to
>
> start on runlevel [2345] and started cgmanager
>
> ?
>
> >       lxc-start 1433600096.286 ERROR    lxc_conf -
> > conf.c:lxc_mount_auto_mounts:846 - No such file or directory - error
> > mounting /sys/fs/cgroup
> >       lxc-start 1433600096.286 ERROR    lxc_conf -
> conf.c:lxc_setup:3847 -
> > failed to setup the automatic mounts for 'test'
> >       lxc-start 1433600096.286 ERROR    lxc_start -
> start.c:do_start:699 -
> > failed to setup the container
> >       lxc-start 1433600096.286 ERROR    lxc_sync -
> sync.c:__sync_wait:51 -
> > invalid sequence number 1. expected 2
> >       lxc-start 1433600096.319 ERROR    lxc_start -
> > start.c:__lxc_start:1164 - failed to spawn 'test'
> >       lxc-start 1433600101.324 ERROR    lxc_start_ui -
> lxc_start.c:main:344
> > - The container failed to start.
> >       lxc-start 1433600101.325 ERROR    lxc_start_ui -
> lxc_start.c:main:346
> > - To get more details, run the container in foreground mode.
> >       lxc-start 1433600101.325 ERROR    lxc_start_ui -
> lxc_start.c:main:348
> > - Additional information can be obtained by setting the --logfile and
> > --logpriority options
> >
> > --
> > Alan Hoffmeister
> > https://twitter.com/alan_hoff
> > https://github.com/alanhoff
> > https://keybase.io/alanhoff
>
> > _______________________________________________
> > lxc-users mailing list
> > lxc-users at lists.linuxcontainers.org
> > http://lists.linuxcontainers.org/listinfo/lxc-users
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150608/1894d131/attachment.html>


More information about the lxc-users mailing list