* python exception when xend starts
@ 2004-11-19 22:55 John Christian
2004-11-20 14:00 ` Mark A. Williamson
2004-11-20 14:19 ` Ian Pratt
0 siblings, 2 replies; 3+ messages in thread
From: John Christian @ 2004-11-19 22:55 UTC (permalink / raw)
To: 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.
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: python exception when xend starts
2004-11-19 22:55 python exception when xend starts John Christian
@ 2004-11-20 14:00 ` Mark A. Williamson
2004-11-20 14:19 ` Ian Pratt
1 sibling, 0 replies; 3+ messages in thread
From: Mark A. Williamson @ 2004-11-20 14:00 UTC (permalink / raw)
To: xen-devel; +Cc: John Christian
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: python exception when xend starts
2004-11-19 22:55 python exception when xend starts John Christian
2004-11-20 14:00 ` Mark A. Williamson
@ 2004-11-20 14:19 ` Ian Pratt
1 sibling, 0 replies; 3+ messages in thread
From: Ian Pratt @ 2004-11-20 14:19 UTC (permalink / raw)
To: John Christian; +Cc: xen-devel, Ian.Pratt
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-11-20 14:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-19 22:55 python exception when xend starts John Christian
2004-11-20 14:00 ` Mark A. Williamson
2004-11-20 14:19 ` Ian Pratt
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.