WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Newbie of xen-unstable: xend start failure

To: Mike Wray <mike.wray@xxxxxxxxxx>
Subject: Re: [Xen-devel] Newbie of xen-unstable: xend start failure
From: helen zhan <helenzhan04@xxxxxxxxx>
Date: Tue, 20 Jul 2004 09:13:09 -0700 (PDT)
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 20 Jul 2004 17:15:41 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: <40FD2CA7.6050200@xxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxx> 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!