Bug 605273
| Summary: | Invalid command 'WSGIScriptAliasMatch' - mod_wsgi not included in RHEL5 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Michael Mráka <mmraka> |
| Component: | cobbler | Assignee: | John Eckersberg <jeckersb> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | el5 | CC: | awood, buckljc2, cperry, dgoodwin, dgoodwin, jeckersb, jpazdziora, mzazrivec, shenson, slukasik, tr-rh, vanmeeuwen+fedora |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-07-16 15:47:19 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 604526 | ||
|
Description
Michael Mráka
2010-06-17 14:43:06 UTC
Can you confirm for sure if the mod_wsgi package is available for install? I missed a dependency on one of the recent releases so it does not get installed by default, but mod_wsgi should be available for RHEL 5 in EPEL. (I assume this is where you are getting cobbler packages from?) If you manually yum install mod_wsgi, does the problem go away? Well, yes it's available via epel but I think it's not a good idea to mix up mod_python (from RHEL5) and mod_wsgi (EPEL). Shouldn't it stick with mod_python on RHEL5 and go for mod_wsgi on newer ones (similary Spacewalk does)? Should not need to mix them, should be one or the other. Cobbler-web package still requires mod_python but that's an issue that needs to be addressed. If you're just using cobbler server mod_wsgi should be all you need. Well, but if mod_wsgi is the only option on RHEL5 then we are in trouble with satellite... and have to stay with some old mod_python'ish package. Is going to mod_wsgi out of the question? I believe you already use mod_wsgi for Spacewalk on Fedora. Would mean you need to maintain a mod_wsgi package in the Satellite repos I guess but that may be the lesser evil. > Is going to mod_wsgi out of the question? I believe you already use mod_wsgi Yes. We'd like to continue using mod_python on RHEL5 because its a base package while mod_wsgi isn't even in a subchannel. > for Spacewalk on Fedora. Would mean you need to maintain a mod_wsgi package in > the Satellite repos I guess but that may be the lesser evil. Decision reached to keep Cobbler mod_wsgi only upstream, closing ticket as missing requires has since been added. I got the same error after updating, but mod_wsgi was already installed. I found the module was actually commented out in /etc/httpd/conf.d/wsgi.conf I am not sure if this was a default from the previous version of cobbler, or if someone had manually commented the module out at one point. At any rate, uncommenting to allow the module to load let httpd start. LoadModule wsgi_module modules/mod_wsgi.so |