mod-python won't load due to version mismatch with python 2.6.4rc2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libapache2-mod-python (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Karmic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: libapache2-
Upon upgrade to Ubuntu 9.10 Friday 10/31, it seems my apache2 mod-python will no longer load. The following message appears during apache2 startup in /var/log/
[Sun Nov 01 15:34:13 2009] [error] python_init: Python version mismatch, expected '2.6.2+', found '2.6.4rc2'.
[Sun Nov 01 15:34:13 2009] [error] python_init: Python executable found '/usr/bin/python'.
[Sun Nov 01 15:34:13 2009] [error] python_init: Python path being used '/usr/lib/
[Sun Nov 01 15:34:13 2009] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Sun Nov 01 15:34:13 2009] [notice] mod_python: using mutex_directory /tmp
My mod-python based web app is no longer receiving any connections from apache. I don't know for sure that these error messages in the log and my app not working are related, but it seems plausible and since there have been similar bugs filed in older releases, it seems plausible that this is a real issue in the fact that the python interpreter is 2.6.4rc2 but mod-python is looking for 2.6.2.
lsb_release -rd
Description: Ubuntu 9.10
Release: 9.10
apt-cache policy libapache2-
libapache2-
Installed: 3.3.1-8
Candidate: 3.3.1-8
Version table:
*** 3.3.1-8 0
500 http://
100 /var/lib/
Related branches
tags: |
added: verification-done removed: verification-needed |
package from karmic-proposed can be copied to lucid