[Mailman-Users] Internal 500 Error (Ubuntu jaunty / Mailman 2.1.12/ Python 2.6.2)

Dev Guy devguy78 at gmail.com
Tue Jun 23 07:40:32 CEST 2009


On Tue, Jun 23, 2009 at 5:10 AM, Mark Sapiro <mark at msapiro.net> wrote:

>
> The OP and I had a conversation on the #mailman channel at freenode. We
> determined that he could successfully run
>
> sudo -u www-data /bin/sh -c "PATH_INFO=;export
> PATH_INFO;HTTP_HOST=www.example.com;export
> HTTP_HOST;REQUEST_METHOD=GET;export REQUEST_METHOD;
> /usr/local/mailman/cgi-bin/listinfo"
>
> (with appropriate changes to host and path) from the command line and
> the listinfo CGI would produce appropriate output, so the problem is
> apparently some issue with the way apache is (or isn't) invoking the
> CGI. The OP says suEXEC is not involved, and I had no other ideas.
>

I spent some time with Apache guys and they said the way the script is being
executed doesn't tell us everything and that I should simply run it without
setting up environments, etc. When I do, I get the same result (500 internal
error).

I tried setting up ScriptLog to see what is going on, but since it's a
binary, it doesn't produce any logs out of it. I ran 'ldd' on 'listinfo' and
'admin', etc. to see if I'm missing any libraries, which I am not.

I'm just stuck here.

Derek


More information about the Mailman-Users mailing list