All of lore.kernel.org
 help / color / mirror / Atom feed
* Newbie of xen-unstable: xend start failure
@ 2004-07-19 20:20 helen zhan
  2004-07-19 22:30 ` Mark Williamson
  2004-07-20 14:31 ` Mike Wray
  0 siblings, 2 replies; 7+ messages in thread
From: helen zhan @ 2004-07-19 20:20 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 1350 bytes --]

Hi, 
 
I just installed xen-unstable two hours ago following the instructions in the README file. I used "make world" and "make install" to compile and install it sucessfully. But when I tried to start the daemon by "xend start", I got the error as below.
 
It looks like that a file "xc.py" was missing in the directory "/usr/lib/python2.2/site-packages/xen/lowlevel". Does anyone have any clue how to fix it?

XendRoot>configure>

XendRoot>set_config> config_path= /etc/xen/xend-config.sxp

XendRoot>set_config> loading

XendRoot> config= ['xend-config', ['xend-port', '8000'], ['xend-address', ''], ['network-script', 'network'], ['vif-bridge', 'xen-br0'], ['vif-script', 'vif-bridge'], ['vif-antispoof', 'no']]

ERROR: Could not obtain handle on privileged command interface (2 = No such file or directory)

Traceback (most recent call last):

File "/usr/sbin/xend", line 23, in ?

from xen.xend.server import SrvDaemon

File "/usr/lib/python2.2/site-packages/xen/xend/server/SrvDaemon.py", line 38, in ?

import channel

File "/usr/lib/python2.2/site-packages/xen/xend/server/channel.py", line 3, in ?

import xen.lowlevel.xc; xc = xen.lowlevel.xc.new()

xen.lowlevel.xc.error: (2, 'No such file or directory')

 
Thanks & Best wishes,
 
Helen

		
---------------------------------
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!

[-- Attachment #2: Type: text/html, Size: 1672 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Newbie of xen-unstable: xend start failure
  2004-07-19 20:20 Newbie of xen-unstable: xend start failure helen zhan
@ 2004-07-19 22:30 ` Mark Williamson
  2004-07-20 16:10   ` helen zhan
  2004-07-20 14:31 ` Mike Wray
  1 sibling, 1 reply; 7+ messages in thread
From: Mark Williamson @ 2004-07-19 22:30 UTC (permalink / raw)
  To: helen zhan; +Cc: xen-devel, Mark.Williamson

Had you rebooted into the Xen / XenLinux kernels at the time or were you just 
testing Xend with your normal Linux kernel?  Xend will not start under a 
normal Linux kernel because the /proc/xen/privcmd file does not exist.

HTH,
Mark



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Newbie of xen-unstable: xend start failure
  2004-07-19 20:20 Newbie of xen-unstable: xend start failure helen zhan
  2004-07-19 22:30 ` Mark Williamson
@ 2004-07-20 14:31 ` Mike Wray
  2004-07-20 16:13   ` helen zhan
  1 sibling, 1 reply; 7+ messages in thread
From: Mike Wray @ 2004-07-20 14:31 UTC (permalink / raw)
  To: helen zhan; +Cc: xen-devel

helen zhan wrote:

> Hi,
>  
> I just installed xen-unstable two hours ago following the instructions 
> in the README file. I used "make world" and "make install" to compile 
> and install it sucessfully. But when I tried to start the daemon by 
> "xend start", I got the error as below.
>  
> It looks like that a file "xc.py" was missing in the directory 
> "/usr/lib/python2.2/site-packages/xen/lowlevel". Does anyone have any 
> clue how to fix it?

The xc module failed to import because it couldn't open the command interface
(that's the line ERROR:... below). After that everything trying to use xc got
an error. The usual reason for this is that xend was not being run by root -
if you weren't root when running 'xend start', try again as root.

> 
> XendRoot>configure>
> 
> XendRoot>set_config> config_path= /etc/xen/xend-config.sxp
> 
> XendRoot>set_config> loading
> 
> XendRoot> config= ['xend-config', ['xend-port', '8000'], 
> ['xend-address', ''], ['network-script', 'network'], ['vif-bridge', 
> 'xen-br0'], ['vif-script', 'vif-bridge'], ['vif-antispoof', 'no']]
> 
> ERROR: Could not obtain handle on privileged command interface (2 = No 
> such file or directory)
> 
> Traceback (most recent call last):
> 
> File "/usr/sbin/xend", line 23, in ?
> 
> from xen.xend.server import SrvDaemon
> 
> File "/usr/lib/python2.2/site-packages/xen/xend/server/SrvDaemon.py", 
> line 38, in ?
> 
> import channel
> 
> File "/usr/lib/python2.2/site-packages/xen/xend/server/channel.py", line 
> 3, in ?
> 
> import xen.lowlevel.xc; xc = xen.lowlevel.xc.new()
> 
> xen.lowlevel.xc.error: (2, 'No such file or directory')
> 
>  
> Thanks & Best wishes,
>  
> Helen
> 
> Do you Yahoo!?
> Vote for the stars of Yahoo!'s next ad campaign! 
> <http://advision.webevents.yahoo.com/yahoo/votelifeengine/>

Mike



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Newbie of xen-unstable: xend start failure
  2004-07-19 22:30 ` Mark Williamson
@ 2004-07-20 16:10   ` helen zhan
  2004-07-20 16:30     ` Rune Johan Andresen
  0 siblings, 1 reply; 7+ messages in thread
From: helen zhan @ 2004-07-20 16:10 UTC (permalink / raw)
  Cc: xen-devel, Mark.Williamson

[-- Attachment #1: Type: text/plain, Size: 1537 bytes --]

Right, I didn't boot into XenLinux. But now  everytime when I try to reboot into XenLinux, the booting got into a loop as follows. Does anyone have any idea of how to fix it?
 
at the multiboot page, I chose "xen running linux 2.4.26"
 
Then it began to boot and stopper at the promput
 
"(XEN)*** Sereial input -> COM0(type 'CTRL-a' three times to switch input to Xen)."
 
So I typed 'CTRL-a' three times. But as a result, it returns me to the multiboot page again.
 
The following is related config in my /boot/grub.conf file. 
 

title Xen running Linux 2.4.26

root(hd0,0)

kernel /xen.gz dom0_mem=131072 watchdog com1=115200,8n1 noht

module /vmlinuz-2.4.26-xen0 root=/dev/hda1 ro

Thanks & Best wishes,
 
Helen
 


Mark Williamson <Mark.Williamson@cl.cam.ac.uk> wrote:
Had you rebooted into the Xen / XenLinux kernels at the time or were you just 
testing Xend with your normal Linux kernel? Xend will not start under a 
normal Linux kernel because the /proc/xen/privcmd file does not exist.

HTH,
Mark



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xen-devel

		
---------------------------------
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!

[-- Attachment #2: Type: text/html, Size: 2088 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Newbie of xen-unstable: xend start failure
  2004-07-20 14:31 ` Mike Wray
@ 2004-07-20 16:13   ` helen zhan
  0 siblings, 0 replies; 7+ messages in thread
From: helen zhan @ 2004-07-20 16:13 UTC (permalink / raw)
  To: Mike Wray; +Cc: xen-devel

[-- Attachment #1: Type: text/plain, Size: 2047 bytes --]

I was using root to start the xen daemon but I didn't boot into the XenLinux. Maybe that's why the xc module was not there. 
 
Thanks & Best wishes,
 
Helen

Mike Wray <mike.wray@hpl.hp.com> wrote:
helen zhan wrote:

> Hi,
> 
> I just installed xen-unstable two hours ago following the instructions 
> in the README file. I used "make world" and "make install" to compile 
> and install it sucessfully. But when I tried to start the daemon by 
> "xend start", I got the error as below.
> 
> It looks like that a file "xc.py" was missing in the directory 
> "/usr/lib/python2.2/site-packages/xen/lowlevel". Does anyone have any 
> clue how to fix it?

The xc module failed to import because it couldn't open the command interface
(that's the line ERROR:... below). After that everything trying to use xc got
an error. The usual reason for this is that xend was not being run by root -
if you weren't root when running 'xend start', try again as root.

> 
> XendRoot>configure>
> 
> XendRoot>set_config> config_path= /etc/xen/xend-config.sxp
> 
> XendRoot>set_config> loading
> 
> XendRoot> config= ['xend-config', ['xend-port', '8000'], 
> ['xend-address', ''], ['network-script', 'network'], ['vif-bridge', 
> 'xen-br0'], ['vif-script', 'vif-bridge'], ['vif-antispoof', 'no']]
> 
> ERROR: Could not obtain handle on privileged command interface (2 = No 
> such file or directory)
> 
> Traceback (most recent call last):
> 
> File "/usr/sbin/xend", line 23, in ?
> 
> from xen.xend.server import SrvDaemon
> 
> File "/usr/lib/python2.2/site-packages/xen/xend/server/SrvDaemon.py", 
> line 38, in ?
> 
> import channel
> 
> File "/usr/lib/python2.2/site-packages/xen/xend/server/channel.py", line 
> 3, in ?
> 
> import xen.lowlevel.xc; xc = xen.lowlevel.xc.new()
> 
> xen.lowlevel.xc.error: (2, 'No such file or directory')
> 
> 
> Thanks & Best wishes,
> 
> Helen
> 
> Do you Yahoo!?
> Vote for the stars of Yahoo!'s next ad campaign! 
> 

Mike


		
---------------------------------
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!

[-- Attachment #2: Type: text/html, Size: 2739 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Newbie of xen-unstable: xend start failure
  2004-07-20 16:10   ` helen zhan
@ 2004-07-20 16:30     ` Rune Johan Andresen
  2004-07-20 18:55       ` helen zhan
  0 siblings, 1 reply; 7+ messages in thread
From: Rune Johan Andresen @ 2004-07-20 16:30 UTC (permalink / raw)
  To: helen zhan; +Cc: xen-devel, Mark Williamson

[-- Attachment #1: Type: text/plain, Size: 1736 bytes --]


try:  module /vmlinuz-2.4.26-xen0 root=/dev/hda1 ro console=tty0

Rune

On Jul 20, 2004, at 6:10 PM, helen zhan wrote:

> Right, I didn't boot into XenLinux. But now  everytime when I try to 
> reboot into XenLinux, the booting got into a loop as follows. Does 
> anyone have any idea of how to fix it?
>  
> at the multiboot page, I chose "xen running linux 2.4.26"
>  
> Then it began to boot and stopper at the promput
>  
> "(XEN)*** Sereial input -> COM0(type 'CTRL-a' three times to switch 
> input to Xen)."
>  
> So I typed 'CTRL-a' three times. But as a result, it returns me to the 
> multiboot page again.
>  
> The following is related config in my /boot/grub.conf file.
>   
>
> title Xen running Linux 2.4.26
>
> root(hd0,0)
>
> kernel /xen.gz dom0_mem=131072 watchdog com1=115200,8n1 noht
>
>
> Thanks & Best wishes,
>  
> Helen
>  
>
>
> Mark Williamson <Mark.Williamson@cl.cam.ac.uk> wrote:
> Had you rebooted into the Xen / XenLinux kernels at the time or were 
> you just
>  testing Xend with your normal Linux kernel? Xend will not start under 
> a
> normal Linux kernel because the /proc/xen/privcmd file does not exist.
>
> HTH,
> Mark
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xen-devel
>
> Do you Yahoo!?
> Vote for the stars of Yahoo!'s next ad campaign!

[-- Attachment #2: Type: text/enriched, Size: 1886 bytes --]



try:  <smaller>module /vmlinuz-2.4.26-xen0 root=/dev/hda1 ro
console=tty0</smaller>


Rune


On Jul 20, 2004, at 6:10 PM, helen zhan wrote:


<excerpt>Right, I didn't boot into XenLinux. But now  everytime when I
try to reboot into XenLinux, the booting got into a loop as follows.
Does anyone have any idea of how to fix it?

 

at the multiboot page, I chose "xen running linux 2.4.26"

 

Then it began to boot and stopper at the promput

 

"(XEN)*** Sereial input -> COM0(type 'CTRL-a' three times to switch
input to Xen)."

 

So I typed 'CTRL-a' three times. But as a result, it returns me to the
multiboot page again.

 

The following is related config in my /boot/grub.conf file.

  


<smaller>title Xen running Linux 2.4.26</smaller>


<smaller>root(hd0,0)</smaller>


<smaller>kernel /xen.gz dom0_mem=131072 watchdog com1=115200,8n1 noht</smaller>



Thanks & Best wishes,

 

Helen

 



<bold><italic>Mark Williamson
<<Mark.Williamson@cl.cam.ac.uk></italic></bold> wrote:

Had you rebooted into the Xen / XenLinux kernels at the time or were
you just

 testing Xend with your normal Linux kernel? Xend will not start under
a 

normal Linux kernel because the /proc/xen/privcmd file does not exist.


HTH,

Mark




-------------------------------------------------------

This SF.Net email is sponsored by BEA Weblogic Workshop

FREE Java Enterprise J2EE developer tools!

Get your free copy of BEA WebLogic Workshop 8.1 today.

http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click

_______________________________________________

Xen-devel mailing list

Xen-devel@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/xen-devel


Do you Yahoo!?

<color><param>0000,0000,EEEE</param>Vote for the stars of Yahoo!'s
next ad campaign!</color></excerpt>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Newbie of xen-unstable: xend start failure
  2004-07-20 16:30     ` Rune Johan Andresen
@ 2004-07-20 18:55       ` helen zhan
  0 siblings, 0 replies; 7+ messages in thread
From: helen zhan @ 2004-07-20 18:55 UTC (permalink / raw)
  To: Rune Johan Andresen; +Cc: xen-devel, Mark Williamson

[-- Attachment #1: Type: text/plain, Size: 1968 bytes --]

Thanks for your help.  I modified the grub.conf file again based on the hint from the error messages.  It is working now. :-)
 
Jian

Rune Johan Andresen <runejoha@idi.ntnu.no> wrote:

try: module /vmlinuz-2.4.26-xen0 root=/dev/hda1 ro console=tty0

Rune

On Jul 20, 2004, at 6:10 PM, helen zhan wrote:

> Right, I didn't boot into XenLinux. But now?everytime when I try to 
> reboot into XenLinux, the booting got into a loop as follows. Does 
> anyone have any idea of how to fix it?
> ?lt;br>> at the multiboot page, I chose "xen running linux 2.4.26"
> ?lt;br>> Then it began to boot and stopper at the promput
> ?lt;br>> "(XEN)*** Sereial input -> COM0(type 'CTRL-a' three times to switch 
> input to Xen)."
> ?lt;br>> So I typed 'CTRL-a' three times. But as a result, it returns me to the 
> multiboot page again.
> ?lt;br>> The following is related config in my /boot/grub.conf file.
> ?lt;br>>
> title Xen running Linux 2.4.26
>
> root(hd0,0)
>
> kernel /xen.gz dom0_mem=131072 watchdog com1=115200,8n1 noht
>
>
> Thanks & Best wishes,
> ?lt;br>> Helen
> ?lt;br>>
>
> Mark Williamson wrote:
> Had you rebooted into the Xen / XenLinux kernels at the time or were 
> you just
> testing Xend with your normal Linux kernel? Xend will not start under 
> a
> normal Linux kernel because the /proc/xen/privcmd file does not exist.
>
> HTH,
> Mark
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xen-devel
>
> Do you Yahoo!?
> Vote for the stars of Yahoo!'s next ad campaign!
		
---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!

[-- Attachment #2: Type: text/html, Size: 2656 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-07-20 18:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-19 20:20 Newbie of xen-unstable: xend start failure helen zhan
2004-07-19 22:30 ` Mark Williamson
2004-07-20 16:10   ` helen zhan
2004-07-20 16:30     ` Rune Johan Andresen
2004-07-20 18:55       ` helen zhan
2004-07-20 14:31 ` Mike Wray
2004-07-20 16:13   ` helen zhan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.