WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] virt-install error on every restart

To: suyash jape <suyashjape@xxxxxxxxx>
Subject: Re: [Xen-users] virt-install error on every restart
From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Date: Sat, 3 Mar 2007 18:31:38 +0000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx, fedora-xen@xxxxxxxxxx
Delivery-date: Sat, 03 Mar 2007 10:31:03 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <16314edc0703022123t5182ef5u6cf24a970d64da33@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <16314edc0703022123t5182ef5u6cf24a970d64da33@xxxxxxxxxxxxxx>
Reply-to: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Sat, Mar 03, 2007 at 10:53:32AM +0530, suyash jape wrote:
> Hi all
> 
> I have installed fedorra dcore 6 xen.
> [root@localhost ~]# uname -a
> Linux localhost.localdomain 2.6.18-1.2798.fc6xen #1 SMP Mon Oct 16 15:11:19
> EDT 2006 i686 i686 i386 GNU/Linux
> 
> [root@localhost ~]# rpm -qa|grep xen
> kernel-xen-2.6.18-1.2798.fc6
> xen-3.0.3-0.1.rc3
> xen-libs-3.0.3-0.1.rc3
> 
> [root@localhost ~]# rpm -qa|grep libvirt
> libvirt-0.1.7-2
> libvirt-python-0.1.7-2
> 
> 
> virt-install  works the first time i boot...but on restart it gives the
> following error:
> 
> [root@localhost ~]# virt-install
> Traceback (most recent call last):
>  File "/usr/sbin/virt-install", line 396, in ?
>    main()
>  File "/usr/sbin/virt-install", line 329, in main
>    guest = virtinst.ParaVirtGuest()
>  File "/usr/lib/python2.4/site-packages/virtinst/ParaVirtGuest.py", line
> 37, in                                             __init__
>    XenGuest.XenGuest.__init__(self, hypervisorURI=hypervisorURI)
>  File "/usr/lib/python2.4/site-packages/virtinst/XenGuest.py", line 174, in
> __i                                            nit__
>    self.conn = libvirt.open(hypervisorURI)
>  File "/usr/lib/python2.4/site-packages/libvirt.py", line 39, in open
>    if ret is None:raise libvirtError('virConnectOpen() failed')
> libvirt.libvirtError: virConnectOpen() failed
> 
> I removed xen and reinstalled it with yum. Again it works the first time but
> gives error on restart.

So is XenD actually still running ? That error message indicates libvirt
was unable to connect to XenD. What does the following say

   service xend status 

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users