[Lxc-users] lxc-start problem in centos 6.2

Peter S htims.rm.p at gmail.com
Thu Apr 5 17:58:24 UTC 2012


Hi Serge,

Thanks for the replay. I tried fc3c7f7f6e9d8adfc4be943160e4ef902436a25d,
but still got an error:

[jenkins at localhost lxc]$ sudo /usr/local/bin/lxc-start -n centos
lxc-start: File exists - failed to rename cgroup
/cgroup//31162->/cgroup//centos
lxc-start: failed to spawn 'centos'
lxc-start: Device or resource busy - failed to remove cgroup
'/cgroup//centos'

Any hint?

Thanks,
Peter

On Wed, Apr 4, 2012 at 7:03 PM, Serge Hallyn <serge.hallyn at canonical.com>wrote:

> you need to grab fc3c7f7f6e9d8adfc4be943160e4ef902436a25d from upstream.
> I think that's the next commit after 0.8.0-rc1.
>
> -serge
>
> Quoting Peter S (htims.rm.p at gmail.com):
> > Hi guys,
> >
> > My os is centos 6.2 and lxc version is 0.8.0-rc1. I downloaded the
> template
> > from openvz, crated a container from it. When I tried to run lxc-start,
> got
> > the following error:
> > sudo /usr/local/bin/lxc-start  -n centos
> > lxc-start: No such file or directory - failed to rename cgroup
> > /cgroup//lxc/3732->/cgroup//lxc/centos
> > lxc-start: failed to spawn 'centos'
> > lxc-start: No such file or directory - failed to remove cgroup
> > '/cgroup//lxc/centos'
> >
> > The following is some information about my configuration:
> > 1. mount:
> > ...
> > none on /cgroup type cgroup (rw)
> >
> >
> > 2. centos configuration file:
> > lxc.utsname = centos
> > lxc.network.type = veth
> > lxc.network.flags = up
> > lxc.network.link = br0
> > lxc.network.name = eth0
> > lxc.network.hwaddr = 4a:49:43:49:79:bd
> > lxc.network.ipv4 = 192.168.250.150
> > lxc.mount = /etc/lxc/lxc-centos.fstab
> > lxc.rootfs = /home/jenkins/container/centos
> >
> >
> > /home/jenkins/container/centos is where the template is extracted into.
> >
> > Can you give me some hint how I can fix the problem? Thanks a lot.
> >
> > Regards,
> > Peter
>
> >
> ------------------------------------------------------------------------------
> > Better than sec? Nothing is better than sec when it comes to
> > monitoring Big Data applications. Try Boundary one-second
> > resolution app monitoring today. Free.
> > http://p.sf.net/sfu/Boundary-dev2dev
>
> > _______________________________________________
> > Lxc-users mailing list
> > Lxc-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/lxc-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20120405/1adcc86a/attachment.html>


More information about the lxc-users mailing list