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 |
If you could supply the actual error message it might help.
|
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 |
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. |
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 , |
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. |
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 |
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.
|
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 |
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. |
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 ) |
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 |
"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 |
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 . |
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? |
All times are GMT -5. The time now is 03:24 PM. |