
31st March 2009, 11:28
|
|
Junior Member
|
|
Join Date: Mar 2009
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Xen image creation problem
hi friends,,
i hav used the HOWTO in this link http://www.howtoforge.com/installing...tu-8.10-x86_64..
However i get the following error when i type "xm create /etc/xen/xen1.example.com.cfg"
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 hope i shall get the problem here.
|

1st April 2009, 13:43
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Did you boot into the Xen kernel? It seems as if Xen is not running.
What's the output of ?
|

2nd April 2009, 16:51
|
|
Junior Member
|
|
Join Date: Mar 2009
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by falko
Did you boot into the Xen kernel? It seems as if Xen is not running.
What's the output of ?
|
Hi friend,,
thanks for the prompt reply..But unfortunatly i`m away from the computer now..However is shall provide u the output of that "Uname" command by tommrrow.
but here i wantd to ask a question..
when i follwed thta "HOW TO" ..it prompted me to install Xen thro internet and i did ..How ever when i rebooted the computer..there was no xen on grub..instead there was "UBUNTU server" on my ubuntu 8.10 desktop computer..
Thanks
|

3rd April 2009, 08:27
|
|
Junior Member
|
|
Join Date: Mar 2009
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Here is the output of uname -a
Hey..here is the output
pls have a look at the attachment
|

3rd April 2009, 12:42
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
That's the normal Ubuntu kernel which cannot be used for a Xen dom0.
What's the output of , and what's in /boot/grub/menu.lst?
|

7th April 2009, 10:47
|
|
Junior Member
|
|
Join Date: Mar 2009
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Here is the output of the command u gave
Here is the output
mamce@mamce-desktop:~$ sudo su
root@mamce-desktop:/home/mamce# ls -la /boot
total 39160
drwxr-xr-x 3 root root 4096 2009-04-01 14:00 .
drwxr-xr-x 20 root root 4096 2009-04-07 14:13 ..
-rw-r--r-- 1 root root 508385 2009-01-30 02:41 abi-2.6.27-11-generic
-rw-r--r-- 1 root root 510401 2009-01-30 02:56 abi-2.6.27-11-server
-rw-r--r-- 1 root root 507665 2008-11-05 02:30 abi-2.6.27-7-generic
-rw-r--r-- 1 root root 91358 2009-01-30 02:41 config-2.6.27-11-generic
-rw-r--r-- 1 root root 91522 2009-01-30 02:56 config-2.6.27-11-server
-rw-r--r-- 1 root root 91364 2008-11-05 02:30 config-2.6.27-7-generic
drwxr-xr-x 2 root root 4096 2009-04-01 14:01 grub
-rw-r--r-- 1 root root 8184671 2009-02-23 16:13 initrd.img-2.6.27-11-generic
-rw-r--r-- 1 root root 8214100 2009-03-30 14:55 initrd.img-2.6.27-11-server
-rw-r--r-- 1 root root 3097876 2009-04-01 14:00 initrd.img-2.6.27.5
-rw-r--r-- 1 root root 8180888 2009-02-23 16:10 initrd.img-2.6.27-7-generic
-rw-r--r-- 1 root root 124152 2008-09-12 01:41 memtest86+.bin
-rw-r--r-- 1 root root 1031799 2009-01-30 02:41 System.map-2.6.27-11-generic
-rw-r--r-- 1 root root 1052790 2009-01-30 02:56 System.map-2.6.27-11-server
-rw-r--r-- 1 root root 1029585 2008-11-05 02:30 System.map-2.6.27-7-generic
-rw-r--r-- 1 root root 1074 2009-01-30 02:42 vmcoreinfo-2.6.27-11-generic
-rw-r--r-- 1 root root 1073 2009-01-30 02:58 vmcoreinfo-2.6.27-11-server
-rw-r--r-- 1 root root 1073 2008-11-05 02:32 vmcoreinfo-2.6.27-7-generic
-rw-r--r-- 1 root root 2248912 2009-01-30 02:41 vmlinuz-2.6.27-11-generic
-rw-r--r-- 1 root root 2297776 2009-01-30 02:56 vmlinuz-2.6.27-11-server
-rw-r--r-- 1 root root 2244464 2008-11-05 02:30 vmlinuz-2.6.27-7-generic
-rw-r--r-- 1 root root 427143 2008-10-06 23:42 xen-3.3.gz
root@mamce-desktop:/home/mamce#
Last edited by goolee; 7th April 2009 at 10:50.
Reason: image not attached properly
|

8th April 2009, 12:27
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
There's an initrd.img for kernel 2.6.27, but no vmlinuz or config file for that kernel which makes me believe it wasn't installed properly. Did you see any errors during the installation of that kernel?
What's in /boot/grub/menu.lst?
|

10th April 2009, 09:32
|
|
Junior Member
|
|
Join Date: Mar 2009
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by falko
There's an initrd.img for kernel 2.6.27, but no vmlinuz or config file for that kernel which makes me believe it wasn't installed properly. Did you see any errors during the installation of that kernel?
What's in /boot/grub/menu.lst?
|
here is the file u have asked..i have attached it
|

10th April 2009, 09:34
|
|
Junior Member
|
|
Join Date: Mar 2009
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Here is the file Menu.lst
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 3
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu
# Pretty colours
#color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=c75d72a6-cf6f-41fe-9460-3adff864aa21 ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=c75d72a6-cf6f-41fe-9460-3adff864aa21
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##
title Ubuntu 8.10, kernel 2.6.27-11-server
uuid c75d72a6-cf6f-41fe-9460-3adff864aa21
kernel /boot/vmlinuz-2.6.27-11-server root=UUID=c75d72a6-cf6f-41fe-9460-3adff864aa21 ro quiet splash
initrd /boot/initrd.img-2.6.27-11-server
quiet
title Ubuntu 8.10, kernel 2.6.27-11-server (recovery mode)
uuid c75d72a6-cf6f-41fe-9460-3adff864aa21
kernel /boot/vmlinuz-2.6.27-11-server root=UUID=c75d72a6-cf6f-41fe-9460-3adff864aa21 ro single
initrd /boot/initrd.img-2.6.27-11-server
title Ubuntu 8.10, kernel 2.6.27-11-generic
uuid c75d72a6-cf6f-41fe-9460-3adff864aa21
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=c75d72a6-cf6f-41fe-9460-3adff864aa21 ro quiet splash
initrd /boot/initrd.img-2.6.27-11-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
uuid c75d72a6-cf6f-41fe-9460-3adff864aa21
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=c75d72a6-cf6f-41fe-9460-3adff864aa21 ro single
initrd /boot/initrd.img-2.6.27-11-generic
title Ubuntu 8.10, kernel 2.6.27-7-generic
uuid c75d72a6-cf6f-41fe-9460-3adff864aa21
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=c75d72a6-cf6f-41fe-9460-3adff864aa21 ro quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
uuid c75d72a6-cf6f-41fe-9460-3adff864aa21
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=c75d72a6-cf6f-41fe-9460-3adff864aa21 ro single
initrd /boot/initrd.img-2.6.27-7-generic
title Ubuntu 8.10, memtest86+
uuid c75d72a6-cf6f-41fe-9460-3adff864aa21
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
|

11th April 2009, 19:51
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
No signs of a Xen kernel. There must have gone something wrong when you tried to build the kernel.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 19:34.
|
Recent comments
2 days 10 hours ago
2 days 19 hours ago
2 days 22 hours ago
2 days 23 hours ago
3 days 50 min ago
3 days 2 hours ago
3 days 3 hours ago
3 days 5 hours ago
3 days 21 hours ago
3 days 21 hours ago