SiD3WiNDR Gears  Hacker Emblem  
Xen fails on Debian Lenny after upgrade from Etch
Date: April 13th, 2009 by SiD3WiNDR
Categories: Linux, Software

Installed Debian Etch yesterday (I need a linux kernel with xen and vserver for now, and Lenny doesn’t have one) then upgraded it to Lenny. Afterwards the Xen tools wouldn’t start anymore and produced the following error:

# /etc/init.d/xend start
Restarting 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

You can solve this in 2 ways. First, the silly way:

rm /usr/bin/python; ln -s /usr/bin/python2.4 /usr/bin/python

Or, the way you’re supposed to:

apt-get install xen-utils-3.2-1 

Incoming Links (via Technorati):
Nothing Reported

2 Responses to “Xen fails on Debian Lenny after upgrade from Etch”

  1. g2k » Blog Archive » Update to Debian Lenny Says:

    […] after upgrading. The problem is, that Xen 3.0 depends on python2.4 but Lenny comes with python2.5. SiD3WiNDR describes two solutions to the problem. I upgraded Xen and Xen […]

  2. xentutorial.com Says:

    Xen fails on Debian Lenny after upgrade from Etch…

    Installed Debian Etch yesterday (I need a linux kernel with xen and vserver for now, and Lenny doesn’t have one) then upgraded it to Lenny. Afterwards the Xen tools wouldn’t start anymore and produced the following error: # /etc/init.d/xend start Resta…

Weblog Calendar
November 2024
M T W T F S S
« Aug    
 123
45678910
11121314151617
18192021222324
252627282930  
Sales
Pages
Archives
Categories
Links
Meta
© 2002-2024, SiD3WiNDR - Proudly powered by WordPress - XHTML Compliant - RSS (Entries) - RSS (Comments)