Thanks for your response, I found that the server's kernel has been changed so I installed the official kernel by yum.
but there still question:
/usr/bin/virsh -c lxc:/// start instance-00000011
error: Failed to start domain instance-00000011
error: internal error Child process (PATH=/sbin:/usr/sbin:/bin:/usr/bin LIBVIRT_DEBUG=3 LIBVIRT_LOG_OUTPUTS=3:stderr /usr/libexec/libvirt_lxc --name instance-00000011 --console 27 --handshake 30 --background --veth veth1) status unexpected: fatal signal 11
------------------ 原始邮件 ------------------
发件人: "Osier Yang"<jyang@redhat.com>;
发送时间: 2012年10月22日(星期一) 晚上9:01
收件人: "#█er"<williamkyle@vip.qq.com>;
抄送: "libvirt-users"<libvirt-users@redhat.com>;
主题: Re: [libvirt-users] error: internal error lxc state driver is notactive
On 2012年10月22日 15:55, #█er wrote: > hi: > I want to use libvirt with LXC, but when I use virsh -c lxc:/// to > connect to lxc, it just print these errors: > error: internal error lxc state driver is not active > error: failed to connect to the hypervisor > I searched these error message , but it seems that there is no helpful > information . > > Could you help me solve this problem? >
Sounds like you don't have the LXC driver loaded. Possibably you don't have libvirt-daemon-driver-lxc installed if you use libvirt newer enough.
Start the daemon like following will help you find out the cause.