On Thu, Mar 15, 2012 at 9:45 PM, Alex Jia
<ajia@redhat.com>
wrote:
On 03/16/2012 05:33 AM, Su Zhang wrote:
On Thu, Mar 15, 2012 at 4:20
PM, Eric Blake <eblake@redhat.com>
wrote:
On 03/15/2012 02:57 PM, Su Zhang wrote:
> Hi all,
>
> I am trying to use virt-install to install
domU image. However, I
> encountered the following issue. It seems
that a connection driver is
> needed for Xen.
> I am new to both libvirt and Xen. Anyone have
any ideas on what's wrong
> with the following error ?
>
>
>
> # virt-install --connect=xen:/// -p -d
> Thu, 15 Mar 2012 10:17:55 DEBUG Launched
with command line:
> /usr/bin/virt-install --connect=xen:/// -p -d
> Thu, 15 Mar 2012 10:17:55 DEBUG Requesting
libvirt URI xen:///
> Thu, 15 Mar 2012 10:17:55 ERROR no
connection driver available for No
> connection for URI xen:///
This probably means that your copy of libvirt.so and
libvirtd was built
without xen support. What does
virsh --version=long
say? Also, are you sure libvirtd is running?
In addition, I want to know your libvirt.so, libvirtd, xend
location, for example,
# which libvirtd
# which xend
# locate libvirt.so
Please also make sure xend service is running:
# service xend status
You have 2 different libvirt versions 0.9.4 and 0.9.10, and your
0.9.10 is put under the
/usr/local/lib directory, so I guess you haven't used ./configure
with --prefix=/usr option
or directly use ./autogen.sh --system when you configure and compile
libvirt.
And also please yum install strace -y if you haven't installed
strace rpm, then run the following operation: