[Mailman-Users] Mailman CGI error

Mark Sapiro mark at msapiro.net
Fri Feb 20 18:43:35 CET 2015


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

Group mailman

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>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the Mailman-Users mailing list