On Jul 17, 2012, at 5:06 PM, James Cammarata wrote:
> On Tue, Jul 17, 2012 at 3:39 PM, Tony Schreiner
> <[email protected]> wrote:
>> I've just installed cobbler 2.2.3-2 from epel on centos 5
>> also with mod_wsgi 3.2.2
>>
>> for most operations using the web UI
>> i'm getting the error in the httpd error_log
>>
>> [Tue Jul 17 16:29:03 2012] [error] [client X.X.X.X] (8)Exec format error:
>> exec of '/var/www/cobbler/svc/services.py' failed, referer:
>> http://myblankedservername/cobbler_web/profile/list
>> [Tue Jul 17 16:29:03 2012] [error] [client X.X.X.X) Premature end of script
>> headers: services.py, referer:
>> http://myblankedservername/cobbler_web/profile/list
>>
>> though they appear to complete ok as far as I can tell.
>> I had SELinux permissive and now disabled.
>>
>> Is this something known?
>
> Did you enable mod_wsgi in /etc/httpd/conf.d/wsgi.conf (uncomment the
> LoadModule line)? If so, could you remove the service.py{o,c} (not the
> service.py) files in that directory and restart httpd?
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.
Thanks
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler