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

Mark Cave-Ayland m.cave-ayland at webbased.co.uk
Tue Dec 20 17:21:47 CET 2005

> -----Original Message-----
> From: Mark Sapiro [mailto:msapiro at value.net]
> Sent: 20 December 2005 16:08
> To: Mark Cave-Ayland; mailman-users at python.org
> Subject: Re: [Mailman-Users] Error when accessing Mailman CGI web
> interface


> 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?

Hi Mark,

The "su - mailman" version works without any problems, e.g.

su - mailman
cd ~/domains/chuckie.co.uk/cgi-bin

Content-type: text/html

<title>Mailman CGI error!!!</title>
<h1>Mailman CGI error!!!</h1>
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'.</pre>

According to /etc/selinux/config:


Looking at the mailman source, I guess that somehow the execve() call is
failing but I'm not sure exactly where to start digging...

Many thanks,


WebBased Ltd
17 Research Way

T: +44 (0)1752 797131
F: +44 (0)1752 791023


This email and any attachments are confidential to the intended recipient
and may also be privileged. If you are not the intended recipient please
delete it from your system and notify the sender. You should not copy it or
use it for any purpose nor disclose or distribute its contents to any other

More information about the Mailman-Users mailing list