Great Circle Associates Majordomo-Users
(April 2006)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: majordomo 1.94.5 and majorcool 1.3.2 on RHEL
From: Daniel Liston <dliston @ sonny . org>
Date: Thu, 27 Apr 2006 12:31:46 -0500
To: Joseph Peterson <joseph . peterson @ gmail . com>
Cc: majordomo-users @ greatcircle . com
In-reply-to: <38a23c360604270832v3dba470aje46d2a35c2e98b9@mail.gmail.com>
References: <38a23c360604270832v3dba470aje46d2a35c2e98b9@mail.gmail.com>
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2)Gecko/20040804 Netscape/7.2 (ax)

I think you jumped into the deep end with both feet.  To back up and
view smaller pre-requisites of the bigger picture;

1.  Can you send and receive mail on the machine used for majordomo?
2.  Does your majordomo list work via email commands?
3.  Have you read the majordomo FAQ?
4.  Have you read the majorcool FAQ?
5.  Now we can look at extending majordomo with majorcool.
	Are the majorcool scripts/cgi owned by majordomo or apache?
	Have you set all the appropriate permissions?
	Have you built the majorcool indexes?

I can help up through point 3, but I do not pretend to be a majorcool
expert at all.  I don't remember it being very hard, when you read all
the instructions and follow them one at a time.

Dan Liston

Joseph Peterson wrote:

> I'm having problems. This is on a base install of Redhat Enterprise Linux
> I installed Majordomo to /usr/local/majordomo-1.94.5 as user majordomo
> group majordomo (both id 502)
> I put majorcool in /var/www/cgi-bin as filename majordomo
> 
> when I browse to my server/cgi-bin/majordomo I get an internal server
> error, looking at error_log gives me "premature end of script headers"
> 
> when I cd to /var/www/cgi-bin and run ./majordomo nothing returns, just
> back to the command line.  I used the debug to verify that it is trying
> to execute the following:
> 
> /usr/local/majordomo-1.94.5/wrapper majorcool.pl majorcool_default.cf  -env REMOTE_ADDR=63.172.176.130 <http://63.172.176.130> -env SERVER_NAME=63.172.176.236 <http://63.172.176.236> -env SERVER_PORT=80 -env SCRIPT_NAME=/cgi-bin/majordomo -env REQUEST_METHOD=GET -env HTTP_USER_AGENT=Mozilla/5.0+(Windows%3B+U%3B+Windows+NT+5.0%3B+en-US%3B+rv:
> 1.8.0.2 <http://1.8.0.2>)+Gecko/20060308+Firefox/1.5.0.2 -env MAJORDOMO_CF=/etc/majordomo.cf
> 
> if I execute 
> /usr/local/majordomo-1.94.5/wrapper majorcool.pl majorcool_default.cf
> 
> manually I get the proper HTML output, if I try 'old style' I get the
> following error in error_log
> [Thu Apr 27 10:18:00 2006] [error] [client xxx] sh: -c: line 0: syntax
> error near unexpected token `('
> [Thu Apr 27 10:18:00 2006] [error] [client xxx] sh: -c: line 0:
> `/usr/local/majordomo-1.94.5/wrapper majorcool.pl majorcool_default.cf 
> -env REMOTE_ADDR=xxx -env SERVER_NAME=xxx -env SERVER_PORT=80 -env
> SCRIPT_NAME=/cgi-bin/majorcool -env REQUEST_METHOD=GET -env
> HTTP_USER_AGENT=Mozilla/5.0+(Windows%3B+U%3B+Windows+NT+5.0%3B+en-US%3B+rv:
> 1.8.0.2 <http://1.8.0.2>)+Gecko/20060308+Firefox/1.5.0.2 -env
> MAJORDOMO_CF=/etc/majordomo.cf'
> [Thu Apr 27 10:18:00 2006] [error] [client xxx] Premature end of script
> headers: majorcool
> 
> 
> 
> -- 
> --
> Joseph Peterson
> joseph.peterson@gmail.com <mailto:joseph.peterson@gmail.com>
> 773.936.8283




Follow-Ups:
References:
Indexed By Date Previous: Re: Problem with aliases
From: Daniel Liston <dliston@sonny.org>
Next: Re: Problem with aliases
From: "Jevos, Peter" <Peter.Jevos@Oriflame-SW.Com>
Indexed By Thread Previous: majordomo 1.94.5 and majorcool 1.3.2 on RHEL
From: "Joseph Peterson" <joseph.peterson@gmail.com>
Next: Re: majordomo 1.94.5 and majorcool 1.3.2 on RHEL
From: "Joseph Peterson" <joseph.peterson@gmail.com>