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):

One Response 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 [...]

Leave a Reply

Weblog Calendar
February 2012
M T W T F S S
« Jan    
 12345
6789101112
13141516171819
20212223242526
272829  
Sales
Pages
Archives
Categories
Links
Meta
© 2002-2012, SiD3WiNDR - Proudly powered by WordPress - XHTML Compliant - RSS (Entries) - RSS (Comments)