<div dir="ltr">try this:<br><br><pre><div class="" id="LC32">chkconfig cgconfig on</div><div class="" id="LC33">service cgconfig restart</div><div class="" id="LC34"><br></div><div class="" id="LC35">service libvirtd start</div>
<div class="" id="LC36"><br></div><div class="" id="LC46">sysctl -w net.ipv4.ip_forward<span class="">=</span>1<br><br></div><div class="" id="LC46">if you want the containers to access the network/internet<br><br>add  <br>
<pre>net.ipv4.ip_forward<span class="">=</span>1</pre>to /etc/sysctl.conf<br><br>Alvaro. <br></div><div class="" id="LC46"><br></div></pre><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Feb 11, 2014 at 4:06 AM, Mingjiang Shi <span dir="ltr"><<a href="mailto:mrjewes@gmail.com" target="_blank">mrjewes@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi there,<div>I am a newbie to lxc and trying to use lxc on centos.  I downloaded source code from github, built it on centos 6, and managed to create my first linux container using centos template.  Everything went well so far.</div>

<div><br></div><div>However, I got the following error when trying to start it:</div><div><pre>lxc-start: <span>command </span>get_cgroup failed to receive response</pre></div><div><div>My machine has libcgroup installed already:</div>

<div># rpm -qa | grep cgroup</div><div>libcgroup-devel-0.40.rc1-5.el6_5.1.x86_64</div><div>libcgroup-0.40.rc1-5.el6_5.1.x86_64</div><div><br></div><div><div>I googled a lot, but didn't find any relevant information for running lxc on centos. I appreciate any idea on the possible fix for this issue or ideas on how to debug this, like how to enable more logs. Thanks! </div>
<span class="HOEnZb"><font color="#888888">
</font></span></div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br>Thanks<br>-Mingjiang
</font></span></div></div>
<br>_______________________________________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a><br></blockquote></div><br></div>