LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 01-25-2010, 08:40 AM   #1
mgrah
LQ Newbie
 
Registered: Jan 2010
Posts: 14

Rep: Reputation: 0
xen on fedora core 10


Hi there I installed Xen on Fedora core 10.
But when starting Xen I receive an error message.
Like unable to connect to a file.
can someone help?

Thanks
 
Old 01-25-2010, 08:43 AM   #2
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
If you could supply the actual error message it might help.
 
Old 01-25-2010, 03:22 PM   #3
mgrah
LQ Newbie
 
Registered: Jan 2010
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks for your reply.
Here are some info about it.


Package xen-3.3.0-1.fc10.i386 already installed and latest version
uname -r
2.6.27.5-117.fc10.i686
checking if Xen is running?
su-
/sbin/xm list
bash: /sbin/xm: No such file or directory

when I click applications ---> system tools --> virttual machine manager

I have an error message as follow.
Unable to open connection to hypervisor URI 'xen:///':
<class 'libvirt.libvirtError'> authentication failed
None

Thanks for your help.

mgrah
 
Old 01-25-2010, 03:50 PM   #4
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
The Kernel name is suggestive to me that Xen has not been loaded, if Xen has loaded then a xen kernel would also have been loaded what has not occurred in this situation. Would you mind copying and pasting your grub configuration here (should be /boot/grub/grub.conf but could be /boot/grub/menu.lst both should look near identical and be present), I suspect the issue might lay with grub not booting, or at least not defaulting to a xen kernel.

If you understand what I mean by this you could check this yourself.

P.S. xm is likely stored at /usr/sbin/xm to find it do an "updatedb" and then "locate *xm" may need sudo.

Last edited by r3sistance; 01-25-2010 at 04:08 PM. Reason: xm location.
 
Old 01-25-2010, 05:07 PM   #5
mgrah
LQ Newbie
 
Registered: Jan 2010
Posts: 14

Original Poster
Rep: Reputation: 0
Thumbs up

from su
/usr/sbin/xm list

ERROR Internal error: Could not obtain handle on privileged command interface (2 = No such file or directory)
Traceback (most recent call last):
File "/usr/sbin/xm", line 8, in <module>
from xen.xm import main
File "/usr/lib/python2.5/site-packages/xen/xm/main.py", line 61, in <module>
xc = xen.lowlevel.xc.xc()
xen.lowlevel.xc.Error: (1, 'Internal error', 'Could not obtain handle on privileged command interface (2 = No such file or directory)')

I did also check the /boot/grub/grub.conf and /boot/grub/menu.lst
they have from my eyes the same configuration.
if you want I can make a copy for you?

Thanks ,
 
Old 01-25-2010, 05:14 PM   #6
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
If you could place down the configuration here of /boot/grub/grub.conf then I might be able to tell you what you need to change to fix this problem.

I have to go to sleep now, what I suspect to see is that there will be a mixture of xen kernels and none-xen kernels and you just have a none-xen kernel defaulted rather then a xen kernel, the fix will probably be as easy as changing default from 0 to something like 1 or 2... but I can't be specific until I see the configuration.

Last edited by r3sistance; 01-25-2010 at 06:25 PM.
 
Old 01-26-2010, 02:30 PM   #7
mgrah
LQ Newbie
 
Registered: Jan 2010
Posts: 14

Original Poster
Rep: Reputation: 0
Sorry I can't send you the configuration file, since
I can't even start the pc again.
Fedora core 10 stop at boot witha prompt,
GRUB with a piep sound!!!
I really don't know what to do.
can't send you the grub file.
if you can help me restart it?
do you have an idea how to fix it?

Thanks

Last edited by mgrah; 01-26-2010 at 02:32 PM. Reason: reply was not clear
 
Old 01-26-2010, 04:40 PM   #8
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
I can't really help with that bit, I don't really know the grub commands to be honest, best I can do is link you here, http://fedoraforum.org/forum/showthread.php?t=227456 others in these forums might be able to help but I generally don't break grub configurations so don't really know what to do in the grub terminal.
 
Old 02-02-2010, 05:19 PM   #9
mgrah
LQ Newbie
 
Registered: Jan 2010
Posts: 14

Original Poster
Rep: Reputation: 0
Hi there,

Thanks for the links,
I did fix the grub issue, but still need to update some database.
the system is up and running.
Great.

But now back to Xen, here is the error messages I receive from Xen.

Unable to open connection to hypervisor URI 'xen:///':
<class 'libvirt.libvirtError'> unable to connect to 'localhost:8000': Connection refused
None

And the other error message:

raceback (most recent call last):
File "/usr/share/virt-manager/virt-manager.py", line 368, in <module>
main()
File "/usr/share/virt-manager/virt-manager.py", line 299, in main
icon_dir, data_dir)
File "/usr/share/virt-manager/virtManager/config.py", line 57, in __init__
gconf.CLIENT_PRELOAD_NONE)
GError: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)

Thanks for your help
 
Old 02-02-2010, 07:35 PM   #10
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
Hi,

Are you still getting the same thing on "uname -r"? If xen is not displayed anywhere within the name then the default boot option is likely not a xen one. If this is still the issue can you put up the content of /boot/grub/grub.conf here, with a copy and paste.
 
Old 02-02-2010, 10:54 PM   #11
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
mgrah
you do know that fedora 10 is PAST IT'S END OF LIFE and is nolonger supported .
there will NEVER be any updates to 10 ever - none at all .
if you do not care about your security - WE CARE ABOUT OURS!
PLEASE do the REST of the net a big security favor and install a supported version ( fedora 12 is current )
 
Old 02-03-2010, 09:48 AM   #12
mgrah
LQ Newbie
 
Registered: Jan 2010
Posts: 14

Original Poster
Rep: Reputation: 0
About Security John VV
I did upgrade with a dvd to fedora 11 now.
How to update or upgrade to fedora 12?
Thanks for your answers and suggestions?

To go one with Xen issue. Here are some infos about my installation.

uname -r
2.6.29.4-167.fc11.i686.PAE

vi /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda
default=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.29.4-167.fc11.i686.PAE)
root (hd0,0)
kernel /vmlinuz-2.6.29.4-167.fc11.i686.PAE ro root=UUID=6d1d891b-ebc0-4581-9f2c-b4a653c08c14 rhgb quiet
initrd /initrd-2.6.29.4-167.fc11.i686.PAE.img
title Fedora (2.6.27.5-117.fc10.i686)
root (hd0,0)
kernel /vmlinuz-2.6.27.5-117.fc10.i686 ro root=UUID=6d1d891b-ebc0-4581-9f2c-b4a653c08c14 rhgb quiet
initrd /initrd-2.6.27.5-117.fc10.i686.img
 
Old 02-03-2010, 08:27 PM   #13
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
"yum upgrade" is the easiest way to do it, should just grab all it needs from a repository and upgrade itself.

I can't see any xen kernels listed, you will probably have to add a new entry, yum upgrade should do this automatically as a new xen kernel should be found and added (tho going how this has previously gone I would say it is unlikely to default it), but this does not explain why one is currently not seen. Can you confirm there is a xen kernel on your machine by running the following line and seeing if it returns any results.

find /boot/ -name *xen | grep vmlinuz
 
Old 02-03-2010, 08:59 PM   #14
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
the "upgrade " and perfered " preupgrade" are only sort of working
I HAVE NEVER had upgrade work correctly on fedora .
there are SO MANY changes in fedora releases that the /home folder for one version WILL NOT WORK on the next .

and only some of the repos will upgrade .
 
Old 02-04-2010, 01:07 PM   #15
mgrah
LQ Newbie
 
Registered: Jan 2010
Posts: 14

Original Poster
Rep: Reputation: 0
Please here are ,
The last lines after issue

su
yum upgrade

-1.fc11.i586 (updates)
Error: Missing Dependency: libicuuc.so.40 is needed by package 389-admin-1.1.10-1.fc11.i586 (updates)
Error: Missing Dependency: libssl.so.8 is needed by package 1:qt-doc-4.5.0-14.fc11.i586 (fedora)
Error: Missing Dependency: libicudata.so.40 is needed by package 389-ds-base-1.2.5-1.fc11.i586 (updates)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.



find /boot/ *xen | grep vmlinuz

/boot/vmlinuz-2.6.29.4-167.fc11.i686.PAE
/boot/vmlinuz-2.6.27.5-117.fc10.i686

R3sistance,
What about reinstalling again?
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fedora core 6 xen not able to bring up X server sivak1 Fedora - Installation 5 03-24-2007 11:39 PM
How to install Fedora Core 6 as a Xen guest under openSuse 10.2 imk SUSE / openSUSE 1 03-01-2007 09:00 AM
Xen, Fedora Core 6 a few issues caps_phisto Linux - General 10 02-24-2007 06:48 PM
fedora core 6 (LINUX) with XEN anant Linux - Newbie 1 11-29-2006 02:39 PM
Fedora Core 5 (FC5) and Xen gwiesenekker Fedora 1 04-10-2006 05:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 10:39 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration