Link to home
Start Free TrialLog in
Avatar of jbrashear72
jbrashear72

asked on

Internal server error 500 mailman listinfo error

Hello I just installed Mailman on my Fedora Core 4 server.
I configured mailman for apache per the docs and when I go to"

www.domain.com/mailman/listinfo 
I get a Internal server error 500.
The logs show this:
Premature end of script headers: listinfo

Here is my config for mailman in Apache:
<Directory /usr/lib/mailman/cgi-bin/>
    Options +ExecCGI
</Directory>


Alias /pipermail/ /var/lib/mailman/archives/public/
<Directory /var/lib/mailman/archives/public>
    Options Indexes MultiViews FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

Any ideas?
Avatar of Tintin
Tintin

Do you have command line access?  If so, try running listinfo from the command line.

Common errors are:

1.  Incorrect permissions.
2.  Incorrect paths.
3.  Windows format files.
Avatar of jbrashear72

ASKER

OK I ran it and got this:
root@server cgi-bin]# ./listinfo
Content-type: text/html

<head>
<title>Mailman CGI error!!!</title>
</head><body>
<h1>Mailman CGI error!!!</h1>
The Mailman CGI wrapper encountered a fatal error. This entry is being stored in your syslog:
<pre>
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: "root".
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=root'.</pre>




I also tried it with wget:
wget http://www.austinfx.com/mailman/listinfo
--13:26:26--  http://www.austinfx.com/mailman/listinfo
           => `listinfo.1'
Resolving www.austinfx.com... 209.59.200.37
Connecting to www.austinfx.com|209.59.200.37|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
13:26:26 ERROR 500: Internal Server Error.


hmm.. not sure. It seems like an apache error.
ASKER CERTIFIED SOLUTION
Avatar of Tintin
Tintin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hello,

I have the same problem, but su - apache -c "/path/to/cgi-bin/listinfo" don't solves it.

OVH dedicated server
Gentoo  2006.0  -  64  bits.
Apache2
Mailman 2.1.11 installed through "emerge -a mailman" (as sudo user) and /usr/share/doc/mailman-2.1.11/README.gentoo.bz2 instructions.

I have received the welcome message of the first list of mailman.

Errors:

1.-http://mydomain.com/mailman/admin/mailman and http://mydomain.com/mailman/listinfo/mailman => 500 Internal Server Error

error_log:
Premature end of script headers: admin
Premature end of script headers: listinfo

2.- wget http://mydomain.com/mailman/listinfo/mailman
--2008-10-12 00:14:59--  http://mydomain.com/mailman/listinfo/mailman
Resolving mydomain.com... IP.of.my.server
Connecting to mydomain.com|IP.of.my.server|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
2008-10-12 00:14:59 ERROR 500: Internal Server Error.

wget http://mydomain.com/mailman/admin/mailman have the same error

3.- ./listinfo

Content-type: text/html

<head>
<title>Mailman CGI error!!!</title>
</head><body>
<h1>Mailman CGI error!!!</h1>
The Mailman CGI wrapper encountered a fatal error. This entry is being stored in your syslog:
<pre>
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 "root".  Try tweaking the web server to run the
script as group "apache", or re-run configure,
providing the command line option `--with-cgi-gid=root'.</pre>

4.- su - apache -c "/path/to/cgi-bin/listinfo"

ID unknown: apache

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

Any idea?

Thanks,

Manuel