[Mailman-Users] Error when accessing Mailman CGI web interface

Mark Sapiro msapiro at value.net
Tue Dec 20 17:07:33 CET 2005


Mark Cave-Ayland wrote:

>However when I try and access the administration URL at
>http://server/mailman/admin then I get the following error in the Apache
>error log:
>
>[Tue Dec 20 14:23:00 2005] [error] [client 213.152.63.90] /usr/bin/python:
>can't open file '/home/mailman/domains/chuckie.co.uk/scripts/driver'
>[Tue Dec 20 14:23:00 2005] [error] [client 213.152.63.90] Premature end of
>script headers: admin
>
>What is strange is that I also get the same error if do this:
>
>su - apache
>cd ~/domains/chuckie.co.uk/cgi-bin
>admin
>
>But the following appears to work as expected, outputting a CGI error:
>
>su - apache
>/usr/bin/python /home/mailman/domains/chuckie.co.uk/scripts/driver

What happens if you do the above with "su - mailman" instead of apache.
At this point, the wrapper is invoking the driver as group mailman
because it is SETGID.

Are you sure SELinux is disabled?

-- 
Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan




More information about the Mailman-Users mailing list