Great Circle Associates Majordomo-Users
(April 2006)
 

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

Subject: majordomo 1.94.5 and majorcool 1.3.2 on RHEL
From: "Joseph Peterson" <joseph . peterson @ gmail . com>
Date: Thu, 27 Apr 2006 10:32:51 -0500
To: majordomo-users @ greatcircle . com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=Fpelusdw0w+YkzTCb17PPHR0bUUuTvPfnnzZ6xN0SC/uPayIzE/tvwVHTcPd5oeoQiOFSfiHE8IQlqA5sAv0NHNirp/JSAnQLqM8/bpGTZW6B/IxbvNBmBhf5hlqu/eU5YkpbZxzdO6o0AVM9CZDpYxNFiZfph/lc+DNC4/yJq4=

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 -env SERVER_NAME=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)+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)+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
773.936.8283
Follow-Ups:
Indexed By Date Previous: A returned mail message
From: "Clare Redstone" <clare@catspaw.plus.com>
Next: Problem with aliases
From: "Jevos, Peter" <Peter.Jevos@Oriflame-SW.Com>
Indexed By Thread Previous: A returned mail message
From: "Clare Redstone" <clare@catspaw.plus.com>
Next: Re: majordomo 1.94.5 and majorcool 1.3.2 on RHEL
From: Daniel Liston <dliston@sonny.org>