Description of problem: Cobbler on RHEL5 yells about Invalid command 'WSGIScriptAliasMatch'. Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. install cobbler 2. start httpd 3. Actual results: Starting httpd: Syntax error on line 8 of /etc/httpd/conf.d/cobbler.conf: Invalid command 'WSGIScriptAliasMatch', perhaps misspelled or defined by a module not included in the server configuration Expected results: no error Additional info: caused by commit 2d0d464083f8678e29876a9d410cd339768b9641 wsgi: Switch Cobbler packaging/config from mod_python to mod_wsgi. cobbler should use mod_wsgi on Fedora (>11) and RHEL6 and fall back to mod_python on RHEL5.
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