Re: majordomo 1.94.5 and majorcool 1.3.2 on RHEL
"Joseph Peterson" <[email protected]>
| Newsgroups | gmane.mail.majordomo.general |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the response.. the problem was I had SELinux turned on, and I did not have perl-suexecperl installed.. I turned off SELinux and installed perl-suexecper and its functional now =) On 4/27/06, Daniel Liston <[email protected]> wrote: > > 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.plmajorcool_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 > > [email protected] <mailto:[email protected]> > > 773.936.8283 > > > -- -- Joseph Peterson [email protected] 773.936.8283