[Mailman-Users] Mailman CGI error
Kumar Pradeep (Ops)
pradkumar at pulsesecure.net
Mon Feb 23 10:38:56 CET 2015
As you have asked this question "- do you get this error on any of Mailman's CGIs or just when you do an archive search?"
Ans: Yes I get the "Mailman CGI error!!!" when I do an archive search.
When I changed the permission of mmsearch in /usr/local/mailman/cgi-bin/ , I got below error as a Bug.
-rwxr-sr-x 1 root mailman 23096 Jan 8 02:30 mmsearch
-rwxr-xr-x 1 root apache 23096 Jan 8 02:30 mmsearch
And tried to access http://maymailman.net/mailman/mmsearch/testlist ( just when I do an archive search)
"Bug in Mailman version 2.1.12
We're sorry, we hit a bug!
Please inform the webmaster for this site of this problem. Printing of traceback and other system information has been explicitly inhibited, but the webmaster can find this information in the Mailman error logs.
Can you please suggest the current stable version on Mailman?
From: Mailman-Users [mailto:mailman-users-bounces+pradkumar=pulsesecure.net at python.org] On Behalf Of Mark Sapiro
Sent: Friday, February 20, 2015 11:14 PM
To: mailman-users at python.org
Subject: Re: [Mailman-Users] Mailman CGI error
On 02/20/2015 03:00 AM, Kumar Pradeep (Ops) wrote:
> Hi Mailman-users,
> It would be really appreciated if any one of you can help me to
> overcome with problem
> My Mailman is running with version 2.1.12.
> I am getting "Mailman CGI error!!!" while clicking on search button which points to "http://mymailman.com/mailman/mmsearch/testlist"
This error is explained mor fully in the FAQ at <http://wiki.list.org/x/4030645>
> Mailman CGI error!!!
> The Mailman CGI wrapper encountered a fatal error. This entry is being stored in your syslog:
> Group mismatch error. Mailman expected the CGI wrapper script to be
> executed as group "apache", but the system's web server executed the
> CGI script as group "mailman". Try tweaking the web server to run the
> script as group "apache", or re-run configure, providing the command
> line option `--with-cgi-gid=mailman'.
> I checked the gid of apache and mailman is the member of apache.
That's irrelevant. The message is telling you that the wrapper at /usr/local/mailman/cgi-bin/mmsearch (and probably all the others - do you get this error on any of Mailman's CGIs or just when you do an archive search?) has been compiled to expect to be invoked by the web server running as group 'apache', but the web server is invoking it as group 'mailman'.
In any case, the actual effective grout under which the CGI runs is 'mailman' because the wrappers are all SETGID and group 'mailman'.
It seems you may have something like
in your apache config. To make Mailman CGIs work, you need to either set the Group in apache to 'apache' or re run Mailman's configure and make install with the --with-cgi-gid=mailman.
Mark Sapiro <mark at msapiro.net<mailto:mark at msapiro.net>> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-Users mailing list Mailman-Users at python.org<mailto:Mailman-Users at python.org> https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
More information about the Mailman-Users