installing Xen from source on fedora 16

Arindam Choudhury arindam at live.com
Fri Mar 16 10:23:46 UTC 2012


Thanks, Now I can boot into Xen Dom0.

But I always have to manually start xend. and also I can not connect to virtual machine monitor.

#modprobe xen-evtchn
# /etc/init.d/xencommons start
Starting xenstored...
Setting domain 0 name...
Starting xenconsoled...
# /etc/init.d/xend start
# xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  5358     2     r-----     35.6
[root at aopcach ~]# virt-install
ERROR    unable to connect to 'localhost:8000': Connection refused
# uname -a
Linux aopcach.uab.es 3.2.9-2.fc16.x86_64 #1 SMP Mon Mar 5 20:55:39 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux


When I try to connect with the GUI, I got the following error:

Unable to connect to libvirt.

unable to connect to 'localhost:8000': Connection refused

Verify that:
 - A Xen host kernel was booted
 - The Xen service has been started

Libvirt URI is: xen:///

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/connection.py", line 1185, in _open_thread
    self.vmm = self._try_open()
  File "/usr/share/virt-manager/virtManager/connection.py", line 1167, in _try_open
    flags)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 102, in openAuth
    if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: unable to connect to 'localhost:8000': Connection refused

Regards,
Arindam
> Date: Thu, 15 Mar 2012 21:12:51 +0000
> From: m.a.young at durham.ac.uk
> To: users at lists.fedoraproject.org
> Subject: Re: installing Xen from source on fedora 16
> 
> On Thu, 15 Mar 2012, Arindam Choudhury wrote:
> 
> > I am trying to install Xen 4.1.2 in Fedora 16. I have compiled and installed
> > the source code.
> > 
> > On my /boot, I have:
> > 
> > boot]# ls
> > config-3.2.9-2.fc16.x86_64
> > config.mk-compat-wireless-3.3-rc1-2-3.2.9-2.fc16.x86_64
> > grub
> > grub2
> > initramfs-3.2.9-2.fc16.x86_64.img
> > initrd-plymouth.img
> > System.map-3.2.9-2.fc16.x86_64
> > vmlinuz-3.2.9-2.fc16.x86_64
> > xen-4.1.2.gz
> > xen-4.1.gz
> > xen-4.gz
> > xen.gz
> > xen-syms-4.1.2
> > 
> > On Grub2, I dont have any boot option for Xen dom0.
> > 
> > Can you tell me what to do next? All the generated documents talks about Xen
> > 3.
> 
> You can generate a configuration by running
> grub2-mkconfig -o /tmp/grub.cfg
> This should contain xen boot options and you can copy the relevant bits or 
> the whole file to /boot/grub2/grub.cfg.
> 
>  	Michael Young
> -- 
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20120316/e378fe17/attachment.html>


More information about the users mailing list