After a do-release-upgrade from 10.04.1 to 12.04.1 I'm seeing this issue
too. It causes various HTTP vhosts that use Python applications (in this
case Trac) to report:

500 Internal Server Error

This is a serious regression affecting production servers. I've
increased the bug importance accordingly.

The server's central /var/log/apache2/error.log reports:

[Fri Jan 18 16:14:49 2013] [notice] SIGHUP received.  Attempting to restart
apache2: Could not reliably determine the server's fully qualified domain name, 
using 127.0.0.1 for ServerName
[Fri Jan 18 16:14:54 2013] [error] python_init: Python version mismatch, 
expected '2.7.2+', found '2.7.3'.
[Fri Jan 18 16:14:54 2013] [error] python_init: Python executable found 
'/usr/bin/python'.
[Fri Jan 18 16:14:54 2013] [error] python_init: Python path being used 
'/usr/lib/python2.7/:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload'.
[Fri Jan 18 16:14:54 2013] [notice] mod_python: Creating 8 session mutexes 
based on 4 max processes and 25 max threads.
[Fri Jan 18 16:14:54 2013] [notice] mod_python: using mutex_directory /tmp 
[Fri Jan 18 16:14:54 2013] [warn] Init: Name-based SSL virtual hosts only work 
for clients with TLS server name indication support (RFC 4366)
[Fri Jan 18 16:14:54 2013] [warn] mod_wsgi: Compiled for Python/2.7.2+.
[Fri Jan 18 16:14:54 2013] [warn] mod_wsgi: Runtime using Python/2.7.3.
[Fri Jan 18 16:14:55 2013] [notice] Apache/2.2.22 (Ubuntu) DAV/2 
mod_fcgid/2.3.6 proxy_html/3.0.1 mod_python/3.3.1 Python/2.7.3 mod_ssl/2.2.22 
OpenSSL/1.0.1 mod_wsgi/3.3 mod_perl/2.0.5 Perl/v5.14.2 configured -- resuming 
normal operations


** Changed in: libapache2-mod-python (Ubuntu)
   Importance: Low => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1073147

Title:
   Python version mismatch, expected '2.7.2+', found '2.7.3'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libapache2-mod-python/+bug/1073147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to