All pastes #27516 Raw Edit

Something

public text v1 · immutable
#27516 ·published 2005-11-03 18:38 UTC
rendered paste body
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 one of the following groups:
[apache],
but the system's web server executed the CGI script as group: "nobody".
Try tweaking the web server to run the script as one of these groups:
[apache],
or re-run configure providing the command line option:
'--with-cgi-gid=nobody'.

------------------------
config.log

configure:576: checking for python
configure:612: checking Python interpreter
configure:628: checking Python version
configure:662: checking that Python has a working distutils
configure:728: checking for a BSD compatible install
configure:781: checking whether make sets ${MAKE}
configure:810: checking for true
configure:846: checking for --without-gcc
configure:875: checking for gcc
configure:988: checking whether the C compiler (gcc  ) works
configure:1004: gcc -o conftest    conftest.c  1>&5
configure:1030: checking whether the C compiler (gcc  ) is a cross-compiler
configure:1035: checking whether we are using GNU C
configure:1044: gcc -E conftest.c
configure:1063: checking whether gcc accepts -g
configure:1115: checking whether #! works in shell scripts
configure:1148: checking for --with-var-prefix
configure:1163: checking for --with-permcheck
configure:1195: checking for --with-username
configure:1213: checking for user name "mailman"
configure:1259: checking for --with-groupname
configure:1278: checking for group name "mailman"
configure:1323: checking permissions on /usr/local/mailman
configure:1379: checking for mail wrapper group; i.e. --with-mail-gid
configure:1438: checking for CGI wrapper group; i.e. --with-cgi-gid
configure:1500: checking for CGI extensions
configure:1520: checking for --with-mailhost
configure:1538: checking for --with-urlhost
configure:1567: checking for default mail host name
configure:1574: checking for default URL host component
configure:1586: checking for strerror
configure:1614: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1586: checking for setregid
configure:1614: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1586: checking for syslog
configure:1614: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1677: checking how to run the C preprocessor
configure:1698: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1757: checking for ANSI C header files
...

----------
access_log:
193.198.130.213 - paycheck [03/Nov/2005:13:00:32 -0500] "GET /favicon.ico HTTP/1.1" 404 300
193.198.130.213 - - [03/Nov/2005:13:00:35 -0500] "GET /mailman/admin HTTP/1.1" 200 393
193.198.130.213 - paycheck [03/Nov/2005:13:00:35 -0500] "GET /favicon.ico HTTP/1.1" 404 300
193.198.130.213 - - [03/Nov/2005:13:08:54 -0500] "GET /mailman/ HTTP/1.1" 403 301
193.198.130.213 - paycheck [03/Nov/2005:13:08:55 -0500] "GET /favicon.ico HTTP/1.1" 404 300

error_log:
[Thu Nov 03 13:08:54 2005] [error] [client 193.198.130.213] attempt to invoke directory as script: /var/mailman/cgi-bin/

but this is OK, since i tried to access /mailman/ only ... ?
---------------
ScriptAlias /mailman/ /var/mailman/cgi-bin/
<Directory /var/mailman/cgi-bin/>
    AllowOverride None
    Options ExecCGI
    Order allow,deny
    Allow from all
</Directory>



-------------

Mailman CGI error!!!
The Mailman CGI wrapper encountered a fatal error. This entry is being stored in your syslog:

Failure to lookup via getgrgid() the group info for group id -1 that this Mailman CGI wrapper is executing under.
This is probably due to an incorrectly configured system and is not a Mailman problem

---------
[root@c68 cgi-bin]# ls -al
total 184
drwxrwsr-x    2 nobody   mailman      4096 Oct 10 07:57 .
drwxrwsr-x   19 root     nobody       4096 Oct 10 07:57 ..
-rwxr-sr-x    1 nobody   mailman     15296 Mar 21  2005 admin
-rwxr-sr-x    1 nobody   mailman     15300 Mar 21  2005 admindb
-rwxr-sr-x    1 nobody   mailman     15300 Mar 21  2005 confirm
-rwxr-sr-x    1 nobody   mailman     15300 Mar 21  2005 create
-rwxr-sr-x    1 nobody   mailman     15304 Mar 21  2005 edithtml
-rwxr-sr-x    1 nobody   mailman     15304 Mar 21  2005 listinfo
-rwxr-sr-x    1 nobody   mailman     15300 Mar 21  2005 options
-rwxr-sr-x    1 nobody   mailman     15300 Mar 21  2005 private
-rwxr-sr-x    1 nobody   mailman     15300 Mar 21  2005 rmlist
-rwxr-sr-x    1 nobody   mailman     15300 Mar 21  2005 roster
-rwxr-sr-x    1 nobody   mailman     15304 Mar 21  2005 subscribe
[root@c68 cgi-bin]#