[Pkg-xen-devel] Debian version and xend

Paul van der Vlis paul at vandervlis.nl
Fri Aug 29 19:10:54 UTC 2008


Hello,

I just upgraded my 64-bits dom0 from Etch to Lenny, I am still running
the 2.6.18 Xen kernel by apt-pinning it (see later).

But now xend does not start anymore:

------------
xen:~# /etc/init.d/xend start
Starting XEN control daemon: xendTraceback (most recent call last):
  File "/usr/lib/xen-3.0.3-1/bin/xend", line 40, in <module>
    from xen.xend.server import SrvDaemon
  File "/usr/lib/xen-3.0.3-1/lib/python/xen/xend/server/SrvDaemon.py",
line 17, in <module>
    import xen.lowlevel.xc
ImportError: /usr/lib/xen-3.0.3-1/bin/../lib/python/xen/lowlevel/xc.so:
undefined symbol: Py_InitModule4
Traceback (most recent call last):
  File "/usr/lib/xen-3.0.3-1/bin/xend", line 40, in <module>
    from xen.xend.server import SrvDaemon
  File "/usr/lib/xen-3.0.3-1/lib/python/xen/xend/server/SrvDaemon.py",
line 17, in <module>
    import xen.lowlevel.xc
ImportError: /usr/lib/xen-3.0.3-1/bin/../lib/python/xen/lowlevel/xc.so:
undefined symbol: Py_InitModule4
 failed!
---------------

I saw bug #485598 what says it's the default Python version what gives
the problem. With Python 2.4 there is no problem.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=485598
What is the best way to use Python 2.4 for Xend, when this is true?

With regards,
Paul van der Vlis.


BTW: This is in my /etc/apt/preferences:
----------
Package: linux-image-2.6.18-6-xen-amd64
Pin: version 2.6.18*
Pin-Priority: 1001

Package: linux-image-2.6-amd64
Pin: version 2.6.18*
Pin-Priority: 1001

Package: linux-image-amd64
Pin: version 2.6.18*
Pin-Priority: 1001
----------





-- 
http://www.vandervlis.nl/




More information about the Pkg-xen-devel mailing list