Bug 150828
| Summary: | Apache crashes when mod_python and php both access MySQL | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 4 | Reporter: | Cory Wright <cwright-lists> |
| Component: | MySQL-python | Assignee: | Tom Lane <tgl> |
| Status: | CLOSED ERRATA | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.0 | CC: | deron.meranda, hhorak, jjneely, jorton, tgl, ywwg |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Linux | ||
| Whiteboard: | RHEL4U3NAK | ||
| Fixed In Version: | RHBA-2007-0295 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2007-05-08 00:23:48 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Cory Wright
2005-03-10 23:54:15 UTC
Thanks for the report, Cory. The crash is likely to be happening due to conflicting versions of MySQL being linked into the process; we're currently deciding the best method to fix this. Any update on this? It's been a month since I reported the issue and we still need this server to provide both PHP and Python pages but are not able with the provided rpms. Thanks for your help, Cory Cory, sorry for the delay, we have been trying to ascertain that there are no legal issues here regarding the MySQL client library license change. To confirm whether the issue is as expected; I've put a test build of MySQL-python here, which uses the MySQL 4.0 client library: http://people.redhat.com/jorton/Nahant-mypy/ this should resolve the issues seen; any feedback from testing this is very welcome. This has fixed my own site, so it looks good to me. I've updated my system with the provided RPM and everything seems to be working correctly from my initial tests. Thanks for the update. Cory Any idea when an up2date will be provided for this? The provided RPM works fine, but I'd like to be be using official RPMs. The fix is scheduled for U2. Erratum is in the pipeline for U2. Switching back to ASSIGNED state because the fix was postponed to U3. Incompatible mysql lib linkage between PHP and DBD-Mysql causes similar problems when running the DBI under mod_perl on the same server as the PHP. Crashes are demonstrated by the web server when running PHP, but were resolved when recompiling the DBD lib against the same (current) MySQL libs. I suggested that any update of MySQL be accompanied by corresponding updates to DBD::MySQL and php, and quite possibly python-mysql. There seem to be problems within the web server if this doesn't happen. Extracting the MySQL layer from PHP as a seperate RPM could be considered as well. This appears to be a generic Linux problem. *** Bug 189554 has been marked as a duplicate of this bug. *** The component of this request is planned to be updated in Red Hat enterprise Linux 4.5. This enhancement request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2007-0295.html |