We help IT Professionals succeed at work.

Internal server error 500 mailman listinfo error

1,434 Views
Last Modified: 2013-12-25
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?
Comment
Watch Question

CERTIFIED EXPERT
Top Expert 2007

Commented:
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.

Author

Commented:
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.
CERTIFIED EXPERT
Top Expert 2007
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Commented:
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

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.