majordomo 1.94.5 and majorcool 1.3.2 on RHEL

"Joseph Peterson" <[email protected]>
Newsgroups gmane.mail.majordomo.general
Message-ID <[email protected]>
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
[email protected]
773.936.8283
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.