<div dir="ltr">Some more details on my system.<div><br></div><div>I am running CentOS 6.5.   To install libvirt and LXC, I performed the following command:</div><div><br></div><div>yum install libvirt libvirt-client python-virtinst</div>
<div><br></div><div>I have turned selinux to DISABLED.   </div><div><span class="" id="line-10" style="color:rgb(0,0,0);font-family:'DejaVu Sans','Liberation Sans',sans-serif;font-size:14px;line-height:17px"></span><span class="" id="line-11" style="color:rgb(0,0,0);font-family:'DejaVu Sans','Liberation Sans',sans-serif;font-size:14px;line-height:17px"></span><p class="" style="margin-left:1.5em;margin-bottom:1.3em;line-height:1.5em;padding-left:0px;color:rgb(0,0,0);font-family:'DejaVu Sans','Liberation Sans',sans-serif;font-size:14px">
</p></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 22, 2014 at 10:34 AM, Jacob Everist <span dir="ltr"><<a href="mailto:jacob.everist@gmail.com" target="_blank">jacob.everist@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">Hello,<div><br></div><div>I am having difficulty getting any sort of LXC container running.  I am trying to use the following tutorial to run the hello world example:</div>
<div><br></div><div><a href="https://www.berrange.com/posts/2011/09/27/getting-started-with-lxc-using-libvirt/" target="_blank">https://www.berrange.com/posts/2011/09/27/getting-started-with-lxc-using-libvirt/</a></div>
<div><br></div><div><br></div><div>Here are the results of my running the tutorial:</div><div><br></div><div><div>[root@terraria ~]# virsh list</div><div> Id    Name                           State</div><div>----------------------------------------------------</div>

<div><br></div><div>[root@terraria ~]# virsh uri</div><div>lxc:///</div><div><br></div><div>[root@terraria ~]# cat helloworld.xml </div><div><domain type='lxc'></div><div>  <name>helloworld</name></div>

<div>  <memory>102400</memory></div><div>  <os></div><div>    <type>exe</type></div><div>    <init>/bin/sh</init></div><div>  </os></div><div>  <devices></div><div>    <console type='pty'/></div>

<div>  </devices></div><div></domain></div><div>[root@terraria ~]# virsh define helloworld.xml </div><div>Domain helloworld defined from helloworld.xml</div><div><br></div><div>[root@terraria ~]# virsh start helloworld</div>

<div>error: Failed to start domain helloworld</div><div>error: internal error guest failed to start: PATH=/bin:/sbin TERM=linux container=lxc-libvirt container_uuid=791640de-95a9-082c-7292-c55106bcdca9 LIBVIRT_LXC_UUID=791640de-95a9-082c-7292-c55106bcdca9 LIBVIRT_LXC_NAME=helloworld /bin/sh</div>

<div>error receiving signal from container: Input/output error</div><div><br></div><div>---</div><div><br></div><div>As you can see, I am getting an error.  How do I go about diagnosing this error?  This is a fresh install so the only thing I have been using this machine for is for LXC/libvirt testing.</div>
<span class="HOEnZb"><font color="#888888">
<div><br></div>-- <br>Jacob Everist<br><br>cell:  <a href="tel:310-425-9732" value="+13104259732" target="_blank">310-425-9732</a><br>email:  <a href="mailto:jacob.everist@gmail.com" target="_blank">jacob.everist@gmail.com</a>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Jacob Everist<br><br>cell:  310-425-9732<br>email:  <a href="mailto:jacob.everist@gmail.com">jacob.everist@gmail.com</a>
</div>