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@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@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
------------------------------------------------------
Mailman-Users mailing list Mailman-Users@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/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to