Quoting Ethier, Michael (meth...@cgr.harvard.edu):
> Hi,
> 
> I am trying to start a lxc container I have setup on a test Centos 6.4 box. I 
> downloaded and built lxc-0.9.0
> and installed it into /opt/lxc-0.9.0. I believe I have it setup properly and 
> my test lxc host is called host1.
> When I try to start it I get:
> 
> [root@sandbox ~]# lxc-start -n host1
> lxc-start: Error creating cgroups
> lxc-start: failed to spawn 'host1'
> 
> I have /cgroup mounted:
> [root@sandbox ~]# mount |grep cgroup
> cgroup on /cgroup type cgroup (rw)

Just to make sure I hadn't broken this recently, I went ahead and tested
upstream git head with all cgroups mounted together under
/sys/fs/cgroup/all.  Containers did start just fine for me.

This wasn't straight lxc-0.9.0, so it's possible you're running into a
bug that has since been fixed.  You might want to git clone
git://github.com/lxc/lxc and build and test that.

It'll also be informative to run

        lxc-start -n host1 -l info -o debug.out

and look through debug.out for information about what actually failed.

-serge

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to