Bug 844676 - Please rebuild mod_python against python 2.7.3 -- python_init error during Apache startup
Summary: Please rebuild mod_python against python 2.7.3 -- python_init error during Ap...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mod_python
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Joe Orton
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 834828 (view as bug list)
Depends On:
Blocks: 845943
TreeView+ depends on / blocked
 
Reported: 2012-07-31 11:27 UTC by Jan Pazdziora
Modified: 2012-09-27 07:09 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 845943 (view as bug list)
Environment:
Last Closed: 2012-08-14 00:49:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jan Pazdziora 2012-07-31 11:27:41 UTC
Description of problem:

It looks like python 2.7.3 landed in Fedora 16 updates. This leads to error in Apache's error_log upon startup.

Version-Release number of selected component (if applicable):

# rpm -q python mod_python
python-2.7.3-3.fc16.x86_64
mod_python-3.3.1-16.fc16.x86_64

How reproducible:

Deterministic.

Steps to Reproduce:
1. Have Fedora 16 with httpd, python-2.7.2, and mod_python. Observe that there are no errors upon Apache start and the notice line says

[Tue Jul 31 10:17:08 2012] [notice] Apache/2.2.22 (Unix) DAV/2 mod_python/3.3.1 Python/2.7.2 configured -- resuming normal operations

2. Run yum upgrade python, note that version 2.7.3 gets installed.
3. Run service httpd restart, look into /var/log/httpd/error_log.
  
Actual results:

[Tue Jul 31 10:17:49 2012] [error] python_init: Python version mismatch, expected '2.7.2', found '2.7.3'.
[Tue Jul 31 10:17:49 2012] [error] python_init: Python executable found '/usr/bin/python'.
[Tue Jul 31 10:17:49 2012] [error] python_init: Python path being used '/usr/lib64/python27.zip:/usr/lib64/python2.7/:/usr/lib64/python2.7/plat-linux2:/usr/lib64/python2.7/lib-tk:/usr/lib64/python2.7/lib-old:/usr/lib64/python2.7/lib-dynload'.
[Tue Jul 31 10:17:49 2012] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Tue Jul 31 10:17:49 2012] [notice] mod_python: using mutex_directory /tmp 
[Tue Jul 31 10:17:49 2012] [notice] Apache/2.2.22 (Unix) DAV/2 mod_python/3.3.1 Python/2.7.3 configured -- resuming normal operations

Expected results:

[Tue Jul 31 10:17:49 2012] [notice] Apache/2.2.22 (Unix) DAV/2 mod_python/3.3.1 Python/2.7.3 configured -- resuming normal operations

and no error lines.

Additional info:

This might or might not be a blocker for bug 833139.

Comment 1 Jan Kaluža 2012-07-31 11:56:48 UTC
This is printed by mod_python, it uses strcmp to compare runtime version and built version. I'm rebuilding mod_python now, it should help I think.

Comment 2 Fedora Update System 2012-07-31 12:04:06 UTC
mod_python-3.3.1-17.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/mod_python-3.3.1-17.fc16

Comment 3 Jan Pazdziora 2012-07-31 12:11:29 UTC
I confirm that the python_init error is gone. Thank you!

Comment 4 Fedora Update System 2012-08-03 11:26:24 UTC
Package mod_python-3.3.1-17.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing mod_python-3.3.1-17.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-11443/mod_python-3.3.1-17.fc16
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-08-14 00:49:47 UTC
mod_python-3.3.1-17.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Jan Kaluža 2012-09-27 07:09:31 UTC
*** Bug 834828 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.