Hi, I''m trying to get a Fedora Core 2 box running on a few instances of Xen, and I''ve followed the documentation up to the part where I''m supposed to: xend start Which immediately produces this: /lib/python/xen/xend/server/SrvDaemon.py:27: RuntimeWarning: Python C API version mismatch for module xen.lowlevel.xu: This Python has API version 1012, module xen.lowlevel.xu has version 1011. from xen.lowlevel import xu /lib/python/xen/xend/server/channel.py:3: RuntimeWarning: Python C API version mismatch for module xen.lowlevel.xc: This Python has API version 1012, module xen.lowlevel.xc has version 1011. import xen.lowlevel.xc; xc = xen.lowlevel.xc.new() 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 27, in ? from xen.xend.server import SrvDaemon File "/lib/python/xen/xend/server/SrvDaemon.py", line 40, in ? import channel File "/lib/python/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'') Any ideas? Thanks, -John ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Mark A. Williamson
2004-Nov-20 14:00 UTC
Re: [Xen-devel] python exception when xend starts
This looks like a Python versions issue. Are you using the binary install? If so, you can probably fix this by rebuilding from source. The build machine for the binary install runs RH9 and therefore has an older Python than you have. HTH, Mark On Friday 19 Nov 2004 22:55, John Christian wrote:> Hi, I''m trying to get a Fedora Core 2 box running on a few instances of > Xen, and I''ve followed the documentation up to the part where I''m > supposed to: > > xend start > > Which immediately produces this: > > /lib/python/xen/xend/server/SrvDaemon.py:27: RuntimeWarning: Python C > API version mismatch for module xen.lowlevel.xu: This Python has API > version 1012, module xen.lowlevel.xu has version 1011. > from xen.lowlevel import xu > /lib/python/xen/xend/server/channel.py:3: RuntimeWarning: Python C API > version mismatch for module xen.lowlevel.xc: This Python has API version > 1012, module xen.lowlevel.xc has version 1011. > import xen.lowlevel.xc; xc = xen.lowlevel.xc.new() > 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 27, in ? > from xen.xend.server import SrvDaemon > File "/lib/python/xen/xend/server/SrvDaemon.py", line 40, in ? > import channel > File "/lib/python/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'') > > > > Any ideas? > > Thanks, > -John > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xen-devel------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> Hi, I''m trying to get a Fedora Core 2 box running on a few instances of > Xen, and I''ve followed the documentation up to the part where I''m > supposed to: > > xend start > > Which immediately produces this: > > /lib/python/xen/xend/server/SrvDaemon.py:27: RuntimeWarning: Python C > API version mismatch for module xen.lowlevel.xu: This Python has API > version 1012, module xen.lowlevel.xu has version 1011. > from xen.lowlevel import xu > /lib/python/xen/xend/server/channel.py:3: RuntimeWarning: Python C API > version mismatch for module xen.lowlevel.xc: This Python has API version > 1012, module xen.lowlevel.xc has version 1011.The version mismatches seem harmless -- we use Xen on FC2 all the time. Once we''ve got some per-distro rpms made up we should be able to avoid this.> import xen.lowlevel.xc; xc = xen.lowlevel.xc.new() > ERROR: Could not obtain handle on privileged command interface (2 = No > such file or directory)Have you actually booted into xen/xenolinux? You should have a /proc/xen/privcmd You''ll also need to start xend as root. Ian ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel