Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 31st March 2009, 12:28
goolee goolee is offline
Junior Member
 
Join Date: Mar 2009
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
Smile 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.
Reply With Quote
Sponsored Links
  #2  
Old 1st April 2009, 14:43
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

Did you boot into the Xen kernel? It seems as if Xen is not running.

What's the output of
Code:
uname -a
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 2nd April 2009, 17:51
goolee goolee is offline
Junior Member
 
Join Date: Mar 2009
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
Smile

Quote:
Originally Posted by falko View Post
Did you boot into the Xen kernel? It seems as if Xen is not running.

What's the output of
Code:
uname -a
?
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
Reply With Quote
  #4  
Old 3rd April 2009, 09:27
goolee goolee is offline
Junior Member
 
Join Date: Mar 2009
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
Smile Here is the output of uname -a

Hey..here is the output
pls have a look at the attachment
Attached Images
 
Reply With Quote
  #5  
Old 3rd April 2009, 13:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

That's the normal Ubuntu kernel which cannot be used for a Xen dom0.

What's the output of
Code:
ls -la /boot
, and what's in /boot/grub/menu.lst?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 7th April 2009, 11:47
goolee goolee is offline
Junior Member
 
Join Date: Mar 2009
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
Smile 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 11:50. Reason: image not attached properly
Reply With Quote
  #7  
Old 8th April 2009, 13:27
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

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?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #8  
Old 10th April 2009, 10:32
goolee goolee is offline
Junior Member
 
Join Date: Mar 2009
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
Smile

Quote:
Originally Posted by falko View Post
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
Reply With Quote
  #9  
Old 10th April 2009, 10:34
goolee goolee is offline
Junior Member
 
Join Date: Mar 2009
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
Smile 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
Reply With Quote
  #10  
Old 11th April 2009, 20:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
 
Default

No signs of a Xen kernel. There must have gone something wrong when you tried to build the kernel.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Tags
xen, xm-create

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 13:20
Xen Networking Problem atjensen11 Installation/Configuration 2 28th January 2009 19:15
Problem with Xen / Debian & mkinitrd.yaird. TheDreamer HOWTO-Related Questions 3 1st November 2006 18:45
perfect Xen/Debian setup problem: No DMA support in xen 3.0.1 BCNW HOWTO-Related Questions 2 6th September 2006 20:06
The Perfect Xen 3.0 Setup For Debian - IpTables Problem Gurke666 HOWTO-Related Questions 2 21st April 2006 18:21


All times are GMT +2. The time now is 03:30.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.