xend crashed with ImportError in <module>()

Bug #132095 reported by Todd Deshane
6
Affects Status Importance Assigned to Milestone
xen-3.1 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

just updated to the latest packages. I think this still might be a python path type problem... or similar. I remember seeing something on this previously maybe on xen-users or similar list, I will see if i can dig up a reference.

ProblemType: Crash
Architecture: amd64
Date: Sun Aug 12 20:01:48 2007
DistroRelease: Ubuntu 7.10
ExecutablePath: /usr/sbin/xend
InterpreterPath: /usr/bin/python2.5
Package: xen-utils-3.1 3.1.0-0ubuntu14
PackageArchitecture: amd64
ProcCmdline: python /usr/sbin/xend start
ProcCwd: /home/deshantm
ProcEnviron:
 SHELL=/bin/bash
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
 LANG=en_US.UTF-8
PythonArgs: ['/usr/sbin/xend', 'start']
SourcePackage: xen-3.1
Title: xend crashed with ImportError in <module>()
Uname: Linux gusty64 2.6.19-4-generic-amd64 #2 SMP Thu Apr 5 05:57:13 UTC 2007 x86_64 GNU/Linux

Tags: apport-crash
Revision history for this message
Todd Deshane (deshantm) wrote :
Revision history for this message
Todd Deshane (deshantm) wrote :

Traceback (most recent call last):
  File "/usr/sbin/xend", line 42, in <module>
    from xen.xend.server import SrvDaemon
  File "/usr/lib/python2.5/xen/xend/server/SrvDaemon.py", line 20, in <module>
    import xen.lowlevel.xc
ImportError: /usr/lib/python2.5/xen/lowlevel/xc.so: undefined symbol: Py_InitModule4

This is the actual error in the console. I thought I was able to get past this error in the past, but can't seem to find how i did.

I thought that I had to remove some extraneous xen python libs or something similar, but can't remember or get any attempts to work.

Also, it doesn't seem that the error messages are being logged to /var/log/xen/* like they should be... Should this be a new bug or is there a fix for it already?

references:
http://lists.xensource.com/archives/html/xen-users/2007-06/msg00697.html
http://www.nabble.com/-Bug-27514---xen--NEW:-xen-broken-due-to-python-major-version-change-t2774704.html

Revision history for this message
Todd Deshane (deshantm) wrote :

UPDATE: after moving /usr/lib/python/xen to /tmp it seems that this problem is fixed... I am not sure if the package comes with those libs or if it is just a problem with my setup.

I am guessing that my setup could have been messed up, I was also missing a /etc/xen/xend-config.sxp.

I am going to test on a clean install and report any bugs and update previous ones as applicable.

Revision history for this message
Todd Deshane (deshantm) wrote :

With a fresh install, all problems above have gone away. This bug can be closed.

Revision history for this message
Chuck Short (zulcss) wrote :

closing

Changed in xen-3.1:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.