|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-users
Re: [Xen-users] virt-install error on every restart
 
Hi  Mr Berrange, 
 
XenD is running fine. 
 I am also able to boot up domains i had installed before
virt-install started giving this  error. These are the domains i
had installed with that virt-install itself ! 
All the other xm commands are also running fine.( xm list, xm create ,xm top and so on).  
Only virt-install/xenguest-install seems to have stopped working after restart ! 
 
I even updated xen and libvirt with yum. 
yum update libvirt. 
yum update xen. 
 
But even this new  combination behaves the same way on restart. 
 
Thanks.......
 
 On 3/4/07, Daniel P. Berrange <berrange@xxxxxxxxxx> wrote:
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 
 |   
 
 | 
    | 
  
  
    |   | 
    |