Some more details on my system.
I am running CentOS 6.5. To install libvirt and LXC, I performed the
following command:
yum install libvirt libvirt-client python-virtinst
I have turned selinux to DISABLED.
On Wed, Jan 22, 2014 at 10:34 AM, Jacob Everist <jacob.everist(a)gmail.com>wrote:
Hello,
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:
https://www.berrange.com/posts/2011/09/27/getting-started-with-lxc-using-...
Here are the results of my running the tutorial:
[root@terraria ~]# virsh list
Id Name State
----------------------------------------------------
[root@terraria ~]# virsh uri
lxc:///
[root@terraria ~]# cat helloworld.xml
<domain type='lxc'>
<name>helloworld</name>
<memory>102400</memory>
<os>
<type>exe</type>
<init>/bin/sh</init>
</os>
<devices>
<console type='pty'/>
</devices>
</domain>
[root@terraria ~]# virsh define helloworld.xml
Domain helloworld defined from helloworld.xml
[root@terraria ~]# virsh start helloworld
error: Failed to start domain helloworld
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
error receiving signal from container: Input/output error
---
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.
--
Jacob Everist
cell: 310-425-9732
email: jacob.everist(a)gmail.com
--
Jacob Everist
cell: 310-425-9732
email: jacob.everist(a)gmail.com