On Wed, Jul 18, 2012 at 10:23 AM, Tony Schreiner
<[email protected]> wrote:
>
> On Jul 18, 2012, at 10:55 AM, James Cammarata wrote:
>
>>> Yes, the line is uncommented. You get an unfriendly error about
>>> Invalid command 'WSGIScriptAliasMatch'
>>> and httpd won't start if it's not.
>>>
>>> Have also removed services.py{c,o} and restarted, but still getting the 
>>> error message.
>>
>> A quick search seems to indicate OS error 8 might mean an arch
>> mismatch. Could you verify you have the same arch installed for both
>> apache and mod_wsgi? You might want to check for python as well.
>
> I had not noted the (8) in the error string. However
>
>  > rpm -q httpd mod_wsgi python cobbler cobbler-web
> httpd-2.2.3-65.el5.centos.x86_64
> mod_wsgi-3.2-2.el5.x86_64
> python-2.4.3-46.el5_8.2.x86_64
> cobbler-2.2.3-2.el5.noarch
> cobbler-web-2.2.3-2.el5.noarch
>
>
> should there be a hash-bang line in services.py ?
> If I add one in, I no longer get the Exec format error, but I"m still getting 
> the
> Premature end of script headers
> error. I thought the 2 were related.

No, that shouldn't be necessary. Do you have mod_python installed,
and/or any other handlers that would cause a .py to be interpreted
before mod_wsgi would hit it? You also did a fresh install, correct?
So there probably isn't an issue of old .conf or .rpmnew files hanging
around from an update?

http://code.google.com/p/modwsgi/wiki/FrequentlyAskedQuestions
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to