Skip to contentSkip to conversation

Newbie of xen-unstable: xend start failure

DISCUSSION helen zhan 4 participants 7 messages Jul 19, 2004 – Jul 20, 2004

lore
Share & tools
lore

helen zhan

author
#0 lore raw

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!

#1 lore raw

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

author
#2 lore raw

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 <[email protected]> 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 [email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel

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

#3 lore raw

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

Rune

Quoted 47 lines · helen zhan

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 <[email protected]> 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 [email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel

Quoted 2 lines

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

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 <<[email protected]></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

[email protected]

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>

author
#4 lore raw

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 <[email protected]> wrote:

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

Rune

Quoted 44 lines · helen zhan

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 [email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel

Quoted 2 lines

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

---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!

#5 lore raw
In reply to helen zhan
Quoted 5 lines · helen zhan

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.

Quoted 28 lines

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')

Quoted 6 lines

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

author
#6 lore raw

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 <[email protected]> wrote:

Quoted 10 lines · helen zhan

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.

Quoted 33 lines

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')

Quoted 7 lines

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!