LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 11-30-2006, 06:03 PM   #1
janinelumc
LQ Newbie
 
Registered: Nov 2006
Posts: 4

Rep: Reputation: 0
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!
 
Old 09-27-2008, 08:37 AM   #2
numberfiveisalive
LQ Newbie
 
Registered: Sep 2008
Posts: 1

Rep: Reputation: 0
Hi

Did you ever find the answer to your question? I am suffering from the same problem when using it in SUSE 11
 
Old 06-01-2009, 11:59 AM   #3
coolphive
LQ Newbie
 
Registered: May 2009
Posts: 6

Rep: Reputation: 0
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
 
Old 06-17-2009, 03:52 AM   #4
sreeharsha.t
Member
 
Registered: Jan 2009
Location: Mumbai, India
Distribution: Fedora 9, 10,11, RHEL 5
Posts: 67

Rep: Reputation: 18
Unhappy

Quote:
Originally Posted by coolphive View Post
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
 
Old 06-17-2009, 07:14 AM   #5
sreeharsha.t
Member
 
Registered: Jan 2009
Location: Mumbai, India
Distribution: Fedora 9, 10,11, RHEL 5
Posts: 67

Rep: Reputation: 18
Thumbs up 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
 
1 members found this post helpful.
Old 12-29-2010, 08:05 AM   #6
mnvamsi
LQ Newbie
 
Registered: Oct 2010
Posts: 4

Rep: Reputation: 0
Smile

Quote:
Originally Posted by sreeharsha.t View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Managing Xen With Xen-Tools, Xen-Shell, And Argo LXer Syndicated Linux News 0 11-05-2006 12:21 PM
LXer: Managing Xen With Xen-Tools, Xen-Shell, And Argo LXer Syndicated Linux News 0 10-21-2006 11:33 PM
SuSE 10.1 / Xen / no network connection in DOMU zeichensatz Suse/Novell 0 07-26-2006 09:27 AM
How to run RHEL 4 as guest in Xen(SLES 10 XEN) darshanbv Linux - Software 1 06-26-2006 11:21 AM
XEN-SUSE 10.1-- DHCP Server works under plain but not under XEN Dimitriy Linux - Networking 4 06-08-2006 05:53 PM


All times are GMT -5. The time now is 06:46 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration