Advertisement

10.11.2008 at 04:37PM PDT, ID: 23807076 | Points: 500
[x]
Attachment Details

Mailman 500 Internal server error (Premature end of script headers)

Asked by msnade in Apache Web Server, Linux, CGI Scripting

Tags: , , , , , ,

Hello,

I have the same problem that http://www.experts-exchange.com/Software/Server_Software/Web_Servers/Apache/Q_23021856.html , 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

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

I have added the apache group and user and now su - apache -c "/path/to/cgi-bin/listinfo" have results, but I have the same problems in http://mydomain.com/mailman/admin/mailman and http://mydomain.com/mailman/listinfo/mailman

Results of su - apache -c "/path/to/cgi-bin/listinfo":

Content-Type: text/html; charset=us-ascii

<HTML>
<HEAD>
<LINK REL="SHORTCUT ICON" HREF="/mailman-icons/mm-icon.png">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<TITLE>www.mydomain.com Mailing Lists</TITLE>
</HEAD>
<BODY bgcolor="white"
dir="ltr">

<table WIDTH="100%" BORDER="0">
  <tr>
    <td COLSPAN="2" BGCOLOR="#99ccff"><center><h2>www.mydomain.com Mailing Lists</h2></center></td>
  </tr>
  <tr>
    <td COLSPAN="2"><font size="+2">Welcome!</font><p>There currently are no publicly-advertised
            <a href="http://www.gnu.org/software/mailman/index.html">Mailman</a> mailing lists on www.mydomain.com. To visit the general information page for an unadvertised list,
        open a URL similar to this one, but with a '/' and the
        list name appended.
        <p>List administrators, you can visit <a href="http://www.mydomain.com/mailman/admin">the list admin overview page</a> to find the management interface for your list.
         <p>If you are having trouble using the lists, please contact <a href="mailto:mailman@www.mydomain.com">mailman@www.mydomain.com</a>.<p></td>
  </tr>
</table>
<hr>
<table WIDTH="100%" BORDER="0">
  <tr>
    <td><img src="/mailman-icons/mailman.jpg" alt="Delivered by Mailman" border=0><br>version 2.1.11</td>
    <td><img src="/mailman-icons/PythonPowered.png" alt="Python Powered" border=0></td>
    <td><img src="/mailman-icons/gnu-head-tiny.jpg" alt="GNU's Not Unix" border=0></td>
  </tr>
 
</BODY>
</HTML>

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

Any idea?

Thanks,

ManuelStart Free Trial
[+][-]10.12.2008 at 09:58AM PDT, ID: 22698034

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.12.2008 at 11:43AM PDT, ID: 22698423

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.13.2008 at 07:29AM PDT, ID: 22702698

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.13.2008 at 08:59AM PDT, ID: 22703515

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.13.2008 at 01:12PM PDT, ID: 22705947

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.13.2008 at 03:53PM PDT, ID: 22707332

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.13.2008 at 05:02PM PDT, ID: 22707659

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.14.2008 at 06:37AM PDT, ID: 22711138

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.22.2008 at 07:54AM PDT, ID: 22777271

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.23.2008 at 05:54AM PDT, ID: 22785514

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.09.2008 at 05:47PM PST, ID: 22918669

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.16.2008 at 11:40PM PST, ID: 22973788

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.17.2008 at 12:06AM PST, ID: 22973846

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-42 - Hierarchy / EE_QW_Related_20080208