Dear All I am a new user of Xen. I tried to compiling Xen from source on a fedora 8 machine. I download the latest Xen 3.3.1 and do make world, make install, mkinitrd..., edit grub.conf and then reboot into the newly build xenlinux 2.6.18. So far so good. However, when I tried starting xend by /usr/sbin/xend start, it gives some error message about running python. Traceback (most recent call last): File "/usr/sbin/xend", line 155, in <module> sys.exit(main()) File "/usr/sbin/xend", line 131, in main start_consoled() File "/usr/sbin/xend", line 113, in start_consoled start_daemon("xenconsoled", args) File "/usr/sbin/xend", line 82, in start_daemon os.execvp(daemon, (daemon,) + args) File "/usr/lib/python2.5/os.py", line 354, in execvp _execvpe(file, args) File "/usr/lib/python2.5/os.py", line 392, in _execvpe func(fullname, *argrest) OSError: [Errno 2] No such file or directory Traceback (most recent call last): File "/usr/sbin/xend", line 155, in <module> sys.exit(main()) File "/usr/sbin/xend", line 132, in main start_blktapctrl() File "/usr/sbin/xend", line 116, in start_blktapctrl start_daemon("blktapctrl", "") File "/usr/sbin/xend", line 82, in start_daemon os.execvp(daemon, (daemon,) + args) File "/usr/lib/python2.5/os.py", line 354, in execvp _execvpe(file, args) File "/usr/lib/python2.5/os.py", line 392, in _execvpe func(fullname, *argrest) OSError: [Errno 2] No such file or directory There is a file os.py under /usr/lib/python2.5. I appreciate if anyone could help. Thanks. -Steven _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On the same machine, if I install Xen by yum install xen kernel-xen. Then xend can be started without any problem. The xend start problem exists from compiling the source. Anyone could help? Thanks. - Steven On Thu, Mar 26, 2009 at 4:50 PM, Steven <wangwangkang@gmail.com> wrote:> Hi, Ata, > Yes, I could run yum install xen to install Xen. By doing this, how > can I retrieve the source code? > Because I need to change some xen code. Thanks. > > - Hui > > On Thu, Mar 26, 2009 at 7:45 PM, Ata E Husain Bohra > <aehusain@buffalo.edu> wrote: >> Dear Steven, >> >> You can also try installing the xen kernel using the "yum" installer. Try >> this link if you are not fixed on only installing xen 3.3.1 >> >> http://www.techotopia.com/index.php/Installing_and_Configuring_Fedora_Xen_Vi >> rtualization >> >> Thanks! >> Ata >> >> -----Original Message----- >> From: xen-users-bounces@lists.xensource.com >> [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Steven >> Sent: Thursday, March 26, 2009 1:37 PM >> To: xen-users@lists.xensource.com >> Subject: [Xen-users] problem on starting xend >> >> Dear All >> I am a new user of Xen. I tried to compiling Xen from source on a >> fedora 8 machine. >> I download the latest Xen 3.3.1 and do make world, make install, >> mkinitrd..., edit grub.conf and then reboot into the newly build >> xenlinux 2.6.18. So far so good. >> However, when I tried starting xend by >> >> /usr/sbin/xend start, it gives some error message about running python. >> Traceback (most recent call last): >> File "/usr/sbin/xend", line 155, in <module> >> sys.exit(main()) >> File "/usr/sbin/xend", line 131, in main >> start_consoled() >> File "/usr/sbin/xend", line 113, in start_consoled >> start_daemon("xenconsoled", args) >> File "/usr/sbin/xend", line 82, in start_daemon >> os.execvp(daemon, (daemon,) + args) >> File "/usr/lib/python2.5/os.py", line 354, in execvp >> _execvpe(file, args) >> File "/usr/lib/python2.5/os.py", line 392, in _execvpe >> func(fullname, *argrest) >> OSError: [Errno 2] No such file or directory >> Traceback (most recent call last): >> File "/usr/sbin/xend", line 155, in <module> >> sys.exit(main()) >> File "/usr/sbin/xend", line 132, in main >> start_blktapctrl() >> File "/usr/sbin/xend", line 116, in start_blktapctrl >> start_daemon("blktapctrl", "") >> File "/usr/sbin/xend", line 82, in start_daemon >> os.execvp(daemon, (daemon,) + args) >> File "/usr/lib/python2.5/os.py", line 354, in execvp >> _execvpe(file, args) >> File "/usr/lib/python2.5/os.py", line 392, in _execvpe >> func(fullname, *argrest) >> OSError: [Errno 2] No such file or directory >> >> There is a file os.py under /usr/lib/python2.5. >> I appreciate if anyone could help. Thanks. >> >> -Steven >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> >> >> >> >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Dear Steven, You can also try installing the xen kernel using the "yum" installer. Try this link if you are not fixed on only installing xen 3.3.1 http://www.techotopia.com/index.php/Installing_and_Configuring_Fedora_Xen_Vi rtualization Thanks! Ata -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Steven Sent: Thursday, March 26, 2009 1:37 PM To: xen-users@lists.xensource.com Subject: [Xen-users] problem on starting xend Dear All I am a new user of Xen. I tried to compiling Xen from source on a fedora 8 machine. I download the latest Xen 3.3.1 and do make world, make install, mkinitrd..., edit grub.conf and then reboot into the newly build xenlinux 2.6.18. So far so good. However, when I tried starting xend by /usr/sbin/xend start, it gives some error message about running python. Traceback (most recent call last): File "/usr/sbin/xend", line 155, in <module> sys.exit(main()) File "/usr/sbin/xend", line 131, in main start_consoled() File "/usr/sbin/xend", line 113, in start_consoled start_daemon("xenconsoled", args) File "/usr/sbin/xend", line 82, in start_daemon os.execvp(daemon, (daemon,) + args) File "/usr/lib/python2.5/os.py", line 354, in execvp _execvpe(file, args) File "/usr/lib/python2.5/os.py", line 392, in _execvpe func(fullname, *argrest) OSError: [Errno 2] No such file or directory Traceback (most recent call last): File "/usr/sbin/xend", line 155, in <module> sys.exit(main()) File "/usr/sbin/xend", line 132, in main start_blktapctrl() File "/usr/sbin/xend", line 116, in start_blktapctrl start_daemon("blktapctrl", "") File "/usr/sbin/xend", line 82, in start_daemon os.execvp(daemon, (daemon,) + args) File "/usr/lib/python2.5/os.py", line 354, in execvp _execvpe(file, args) File "/usr/lib/python2.5/os.py", line 392, in _execvpe func(fullname, *argrest) OSError: [Errno 2] No such file or directory There is a file os.py under /usr/lib/python2.5. I appreciate if anyone could help. Thanks. -Steven _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Could any one give some help on this? I install Xen from source on a FC 8 machine. Following the instruction in the README file, everything seems fine. However, the problem is that I can not start xend. The error message is that Traceback (most recent call last): File "/usr/sbin/xend", line 155, in <module> sys.exit(main()) File "/usr/sbin/xend", line 132, in main start_blktapctrl() File "/usr/sbin/xend", line 116, in start_blktapctrl start_daemon("blktapctrl", "") File "/usr/sbin/xend", line 82, in start_daemon os.execvp(daemon, (daemon,) + args) File "/usr/lib/python2.5/os.py", line 354, in execvp _execvpe(file, args) File "/usr/lib/python2.5/os.py", line 392, in _execvpe func(fullname, *argrest) OSError: [Errno 2] No such file or directory I guess the problem is caused by the python os.py. However, on the same machine, the xen kernel installed by yum install xen has no problem with starting xend using the same command. This is strange. On Thu, Mar 26, 2009 at 7:45 PM, Ata E Husain Bohra <aehusain@buffalo.edu> wrote:> Dear Steven, > > You can also try installing the xen kernel using the "yum" installer. Try > this link if you are not fixed on only installing xen 3.3.1 > > http://www.techotopia.com/index.php/Installing_and_Configuring_Fedora_Xen_Vi > rtualization > > Thanks! > Ata > > -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Steven > Sent: Thursday, March 26, 2009 1:37 PM > To: xen-users@lists.xensource.com > Subject: [Xen-users] problem on starting xend > > Dear All > I am a new user of Xen. I tried to compiling Xen from source on a > fedora 8 machine. > I download the latest Xen 3.3.1 and do make world, make install, > mkinitrd..., edit grub.conf and then reboot into the newly build > xenlinux 2.6.18. So far so good. > However, when I tried starting xend by > > /usr/sbin/xend start, it gives some error message about running python. > Traceback (most recent call last): > File "/usr/sbin/xend", line 155, in <module> > sys.exit(main()) > File "/usr/sbin/xend", line 131, in main > start_consoled() > File "/usr/sbin/xend", line 113, in start_consoled > start_daemon("xenconsoled", args) > File "/usr/sbin/xend", line 82, in start_daemon > os.execvp(daemon, (daemon,) + args) > File "/usr/lib/python2.5/os.py", line 354, in execvp > _execvpe(file, args) > File "/usr/lib/python2.5/os.py", line 392, in _execvpe > func(fullname, *argrest) > OSError: [Errno 2] No such file or directory > Traceback (most recent call last): > File "/usr/sbin/xend", line 155, in <module> > sys.exit(main()) > File "/usr/sbin/xend", line 132, in main > start_blktapctrl() > File "/usr/sbin/xend", line 116, in start_blktapctrl > start_daemon("blktapctrl", "") > File "/usr/sbin/xend", line 82, in start_daemon > os.execvp(daemon, (daemon,) + args) > File "/usr/lib/python2.5/os.py", line 354, in execvp > _execvpe(file, args) > File "/usr/lib/python2.5/os.py", line 392, in _execvpe > func(fullname, *argrest) > OSError: [Errno 2] No such file or directory > > There is a file os.py under /usr/lib/python2.5. > I appreciate if anyone could help. Thanks. > > -Steven > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users