LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Xen error on connection with virt-manager (https://www.linuxquestions.org/questions/linux-desktop-74/xen-error-on-connection-with-virt-manager-506348/)

janinelumc 11-30-2006 06:03 PM

Xen error on connection with virt-manager
 
I'm running FC6 and have installed xen. I have confirmed that the xen kernel, services and daemon are running.

I'm getting the following message when I click on "connect" when trying to open a connection to the local xen host:

"Unable to open a connection to the Xen hypervisor/daemon. Verify that
- a xen host kernel was booted
- the xen service has been started

Both are running so what else is missing? Where can I check?

Thanks!

numberfiveisalive 09-27-2008 08:37 AM

Hi :)

Did you ever find the answer to your question? I am suffering from the same problem when using it in SUSE 11

coolphive 06-01-2009 11:59 AM

xen doesn't work on fedora6
 
I had the same problem trying to get xen hypervisor to work on fedora6.
i fixed the problem by installing virt-manager with the qemu hupervisor and was able to create virtual machines. apt-get install virt-manager and your good to go, u might have some problems bridging the virtual network adapter with your host network adapter, with the network manager running, so i uninstalled it and configured a script in the interfaces file as shown below:

auto eth0
iface eth0 inet dhcp
up ifconfig eth0 0.0.0.0 promisc
up brctl addbr vnet0
up brctl addif vnet0 eth0
up ifconfig vnet0 <ip address> netmask 255.255.255.0 up
up route add -net <network ip> netmask 255.255.255.0 vnet0
up route add default gw <gateway ip> vnet0

this should allow you to have internet activity on both the host and the virtual machine

set up your bridging using the brctl command utility and you should be good to go.

hope this helps

coolphive

sreeharsha.t 06-17-2009 03:52 AM

Quote:

Originally Posted by coolphive (Post 3559227)
I had the same problem trying to get xen hypervisor to work on fedora6.
i fixed the problem by installing virt-manager with the qemu hupervisor and was able to create virtual machines. apt-get install virt-manager and your good to go, u might have some problems bridging the virtual network adapter with your host network adapter, with the network manager running, so i uninstalled it and configured a script in the interfaces file as shown below:

Which interfaces file have to configured with this script? I just installed Xen-3.3.1 on fedora9. I am able to start the xend services and can see the processes running under pstree -pa | grep xend

But when I try to connect through virt-manager. It says the connection cannot be established..

Thanks
Harsha

sreeharsha.t 06-17-2009 07:14 AM

Virt-manager connection problem solved!
 
Hey yo!!

I am able to connect to Xend through Virt-manager..

Just thought I should post a valid solution for this unanswered thread.. here it goes..

When you install Xen. You will need to configure xend using the file /etc/xen/xend-config.sxp

In this file search for the following line:
#(xend-unix-server no)

uncomment it and change it to: (xend-unix-server yes)

If you want to connect to xend through http then you should uncomment and change the (xend-http-server no) to 'yes'. (This has security concerns and its not safe)

Restart the xend server and try connecting to Xen hypervisor.. Hope this helps.. Atleast, it worked for me..

-harsha

mnvamsi 12-29-2010 08:05 AM

Quote:

Originally Posted by sreeharsha.t (Post 3577006)
Hey yo!!

I am able to connect to Xend through Virt-manager..

Just thought I should post a valid solution for this unanswered thread.. here it goes..

When you install Xen. You will need to configure xend using the file /etc/xen/xend-config.sxp

In this file search for the following line:
#(xend-unix-server no)

uncomment it and change it to: (xend-unix-server yes)

If you want to connect to xend through http then you should uncomment and change the (xend-http-server no) to 'yes'. (This has security concerns and its not safe)

Restart the xend server and try connecting to Xen hypervisor.. Hope this helps.. Atleast, it worked for me..

-harsha

Awesome harsha, it worked for me.


All times are GMT -5. The time now is 02:09 PM.