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!
Mark Williamson
2004-Jul-19 22:30 UTC
Re: [Xen-devel] Newbie of xen-unstable: xend start failure
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
Mike Wray
2004-Jul-20 14:31 UTC
Re: [Xen-devel] Newbie of xen-unstable: xend start failure
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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
helen zhan
2004-Jul-20 16:10 UTC
Re: [Xen-devel] Newbie of xen-unstable: xend start failure
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!
helen zhan
2004-Jul-20 16:13 UTC
Re: [Xen-devel] Newbie of xen-unstable: xend start failure
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!
Rune Johan Andresen
2004-Jul-20 16:30 UTC
Re: [Xen-devel] Newbie of xen-unstable: xend start failure
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!
helen zhan
2004-Jul-20 18:55 UTC
Re: [Xen-devel] Newbie of xen-unstable: xend start failure
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!