<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On 03/16/2012 05:33 AM, Su Zhang wrote:
<blockquote
cite="mid:CAPjtyqsuENZ+Rt7dPPHge_oWw=E65h-41_js7FvHonj2xxXaCA@mail.gmail.com"
type="cite"><br>
<br>
<div class="gmail_quote">On Thu, Mar 15, 2012 at 4:20 PM, Eric
Blake <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:eblake@redhat.com">eblake@redhat.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div class="im">On 03/15/2012 02:57 PM, Su Zhang wrote:<br>
> Hi all,<br>
><br>
> I am trying to use virt-install to install domU image.
However, I<br>
> encountered the following issue. It seems that a
connection driver is<br>
> needed for Xen.<br>
> I am new to both libvirt and Xen. Anyone have any ideas
on what's wrong<br>
> with the following error ?<br>
><br>
><br>
><br>
> # virt-install --connect=xen:/// -p -d<br>
> Thu, 15 Mar 2012 10:17:55 DEBUG Launched with
command line:<br>
> /usr/bin/virt-install --connect=xen:/// -p -d<br>
> Thu, 15 Mar 2012 10:17:55 DEBUG Requesting libvirt
URI xen:///<br>
> Thu, 15 Mar 2012 10:17:55 ERROR no connection driver
available for No<br>
> connection for URI xen:///<br>
<br>
</div>
This probably means that your copy of libvirt.so and libvirtd
was built<br>
without xen support. What does<br>
<br>
virsh --version=long<br>
<br>
say? Also, are you sure libvirtd is running?<br>
</blockquote>
</div>
</blockquote>
In addition, I want to know your libvirt.so, libvirtd, xend
location, for example,<br>
# which libvirtd<br>
# which xend<br>
# locate libvirt.so<br>
<br>
Please also make sure xend service is running:<br>
# service xend status <br>
<blockquote
cite="mid:CAPjtyqsuENZ+Rt7dPPHge_oWw=E65h-41_js7FvHonj2xxXaCA@mail.gmail.com"
type="cite">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Eric Blake <a moz-do-not-send="true"
href="mailto:eblake@redhat.com">eblake@redhat.com</a>
<a moz-do-not-send="true" href="tel:%2B1-919-301-3266"
value="+19193013266">+1-919-301-3266</a><br>
Libvirt virtualization library <a moz-do-not-send="true"
href="http://libvirt.org" target="_blank">http://libvirt.org</a><br>
<br>
</font></span></blockquote>
</div>
<br>
Eric,<br>
<br>
Here is the output:<br>
# virsh --version=long<br>
Virsh command line tool of libvirt 0.9.10<br>
See web site at <a moz-do-not-send="true"
href="http://libvirt.org/">http://libvirt.org/</a><br>
<br>
Compiled with support for:<br>
Hypervisors: Xen QEmu/KVM UML OpenVZ VirtualBox LXC Test<br>
Networking: Remote Daemon Network Bridging Nwfilter VirtualPort<br>
Storage: Dir Filesystem SCSI Multipath iSCSI LVM<br>
Miscellaneous: SELinux Secrets Debug<br>
<br>
It seems that it does support Xen.<br>
</blockquote>
Yeah, Xen indeed appears in Hypervisors line.<br>
<blockquote
cite="mid:CAPjtyqsuENZ+Rt7dPPHge_oWw=E65h-41_js7FvHonj2xxXaCA@mail.gmail.com"
type="cite"><br>
I am not sure if libvirtd is running so I use the following
command to start it:<br>
<br>
[root@XenTester srv]# /etc/rc.d/init.d/libvirtd start<br>
</blockquote>
Right, you may also use service libvirtd start, and check it by
service libvirtd status or ps -ef|grep libvirtd.
<blockquote
cite="mid:CAPjtyqsuENZ+Rt7dPPHge_oWw=E65h-41_js7FvHonj2xxXaCA@mail.gmail.com"
type="cite"><br>
But the same error is still there.<br>
<br>
Am I using the right way to start libvirtd service? Are there any
other possible reasons of this error?<br>
</blockquote>
<blockquote
cite="mid:CAPjtyqsuENZ+Rt7dPPHge_oWw=E65h-41_js7FvHonj2xxXaCA@mail.gmail.com"
type="cite"><br>
Thanks,<br clear="all">
<br>
-- <br>
Su Zhang<br>
Ph.D Candidate<br>
Computing and Information Sciences<br>
Kansas State University<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
libvirt-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:libvirt-users@redhat.com">libvirt-users@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/libvirt-users">https://www.redhat.com/mailman/listinfo/libvirt-users</a></pre>
</blockquote>
<br>
</body>
</html>