[Mailman-Users] Mailman CGI error
Kumar Pradeep (Ops)
pradkumar at pulsesecure.net
Fri Feb 27 15:43:21 CET 2015
I am getting this in /var/log/httpd/access_log when calling " http://lists.pulsesecure.net/mailman/mmsearch/testlist/"
220.127.116.11 - - [27/Feb/2015:14:28:06 +0000] "POST /mailman/mmsearch/testlist HTTP/1.1" 200 511 "http://lists.pulsesecure.net/mailman/private/testlist/" "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko"
At the same time
I am getting this cgi-error in /var/log/httpd/error_log when calling " http://lists.pulsesecure.net/mailman/mmsearch/testlist/"
[Fri Feb 27 14:28:06.722345 2015] [cgi:error] [pid 1202] [client 18.104.22.168:53401] AH01215: /usr/local/mailman/Mailman/Cgi/mmsearch.py:45: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module., referer: http://lists.pulsesecure.net/mailman/private/testlist/
I checked in /usr/local/mailman/Mailman/Cgi/mmsearch.py 's 45th line it says "import popen2"
Here is the python version.
In Mailman Error Log
tail -f /usr/local/mailman/logs/error
admin(2092): REQUEST_SCHEME: http
admin(2092): CONTENT_TYPE: application/x-www-form-urlencoded
admin(2092): HTTP_ACCEPT_ENCODING: gzip, deflate
Feb 27 14:20:01 2015 (2095) htsearch for list: testlist, existatus: 2
Feb 27 14:20:55 2015 (2101) htsearch for list: testlist, existatus: 2
Feb 27 14:23:15 2015 (2108) htsearch for list: testlist, existatus: 2
Feb 27 14:23:54 2015 (2110) htsearch for list: testlist, existatus: 2
Feb 27 14:26:16 2015 (2114) htsearch for list: testlist, existatus: 2
Feb 27 14:26:32 2015 (2116) htsearch for list: testlist, existatus: 2
Feb 27 14:28:06 2015 (2121) htsearch for list: testlist, existatus: 2
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> 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 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