[Mailman-Users] Mailman CGI error

Kumar Pradeep (Ops) pradkumar at pulsesecure.net
Fri Feb 20 12:00:43 CET 2015


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"

[cid:image001.png at 01D04D29.4D018ED0]


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.


[root at host]# su apache
bash-4.1$ id
uid=48(apache) gid=48(apache) groups=48(apache)
bash-4.1$ python
Python 2.6.9 (unknown, Sep 13 2014, 00:25:11)
[GCC 4.8.2 20140120 (Red Hat 4.8.2-16)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import grp, os, sys
>>> os.getgid()
48
>>> grp.getgrgid(os.getgid())
grp.struct_group(gr_name='apache', gr_passwd='x', gr_gid=48, gr_mem=['mailman'])
>>>


There are the files in /usr/local/mailman/cgi-bin/

ls -ll /usr/local/mailman/cgi-bin/
total 312
-rwxr-sr-x 1 root mailman 23096 Jan  8 02:30 admin
-rwxr-sr-x 1 root mailman 23096 Jan  8 02:30 admindb
-rwxr-sr-x 1 root mailman 23096 Jan  8 02:30 confirm
-rwxr-sr-x 1 root mailman 23096 Jan  8 02:30 create
-rwxr-sr-x 1 root mailman 23096 Jan  8 02:30 edithtml
-rwxr-sr-x 1 root mailman 23096 Jan  8 02:30 htdig
-rwxr-sr-x 1 root mailman 23096 Jan  8 02:30 listinfo
-rwxr-sr-x 1 root mailman 23096 Jan  8 02:30 mmsearch
-rwxr-sr-x 1 root mailman 23096 Jan  8 02:30 options
-rwxr-sr-x 1 root mailman 23096 Jan  8 02:30 private
-rwxr-sr-x 1 root mailman 23096 Jan  8 02:30 rmlist
-rwxr-sr-x 1 root mailman 23096 Jan  8 02:30 roster
-rwxr-sr-x 1 root mailman 23096 Jan  8 02:30 subscribe


More information about the Mailman-Users mailing list