[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] majorcool / Premature end of script headers
- Subject: [cobalt-users] majorcool / Premature end of script headers
- From: "Steve Werby" <steve-lists@xxxxxxxxxxxx>
- Date: Wed Jun 6 08:13:13 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
I'm usually answering the questions, but this time I have a question of my
own. I am attempting to install majorcool (web interface for majordomo) on
a RaQ4. See http://www.conveyanced.com/MajorCool/ for majorcool. I've
installed it in the past on RedHat boxes, including older generation RaQs
(have it running on my own RaQ2 for list owners). On the RaQ4 the
installation goes smoothly (at least according to the install script), but I
am unable to access the majorcool script via the web.
I have checked list archives for this list, cgiwrap-users, majordomo-users
and various sites, messages and resources related to cgiwrap, perl,
majorcool, majordomo and Apache. At this point, I'd like to know if
*anyone* has gotten majorcool to install on a RaQ4. I suspect the problem
is related to ownership or permissions, but I can't be sure. I've hit a
brick wall and any information that you can provide to help me diagnose the
problem, rule something out or fix majorcool will be greatly appreciated.
When I look in /var/log/httpd/error I see:
[Wed Jun 6 17:17:36 2001] [error] [client 123.123.123.123] Premature end of
script headers: /usr/cgiwrap/cgiwrap
and the browser returns a page with the following error - "Internal Server
Error: The server encountered an internal error or misconfiguration and was
unable to complete your request.". If I add the line "print "Content-type:
text/plain\n\n";" to the top of majorcool.pl the webpage loads blank
(without error message), but the Apache error log reports the same error.
I've also seen the following in the error log:
Can't exec "/usr/local/majordomo/wrapper": Permission denied at
/home/sites/home/web/majorcool/majorcool.pl line 72.
I think it was the result of changing the ownership/permissions on
majorcool.pl.
The script majorcool.pl is installed to /home/sites/home/web/majorcool/ and
the directory contents are:
drwxr-sr-x 5 nobody home 1024 Jun 6 17:00 .
drwxrwsr-x 11 nobody home 1024 Jun 6 12:36 ..
drwxr-sr-x 2 root home 1024 Jun 6 12:41 docs
drwxr-sr-x 2 root home 3072 Jun 6 12:41 images
-rwxr-xr-x 1 admin mail 2333 Jun 6 17:04 majorcool.pl
-rwxr-xr-x 1 admin home 67 Jun 6 17:01 test.pl
test.pl contains the following and does work:
#!/usr/bin/perl
print "Content-type: text/plain\n\n";
print "hi";
When I run majorcool.pl from the commandline by typing "perl majorcool.pl"
it spits out the correct output.
The contents of /usr/local/majordomo/ are:
drwxr-x--x 9 mail daemon 1024 Jun 6 15:39 .
drwxr-xr-x 14 root root 1024 Mar 22 19:09 ..
-rw-rw---- 1 root root 0 Jun 6 12:41 .majorcool_default
drwxr-xr-x 2 root root 1024 Mar 22 19:07 Tools
-rwxr-x--- 1 mail daemon 5234 Jun 21 2000 archive2.pl
drwxr-xr-x 2 root root 1024 Mar 22 19:07 bin
-rwxr-x--- 1 mail daemon 2795 Jun 21 2000 bounce-remind
-rwxr-x--- 1 mail daemon 10671 Jun 21 2000 config-test
-rwxr-x--- 1 mail admin 49864 Mar 22 19:11 config_parse.pl
-rwxr-x--- 1 mail daemon 49863 Jun 21 2000
config_parse.pl.pkgzave
-rwxr-x--- 1 mail daemon 13031 Jun 21 2000 digest
drwxr-s--- 2 mail daemon 1024 Jun 26 2000 digests
drwxr-s--- 2 mail daemon 1024 Jun 26 2000 files
drw-rw---- 2 mail admin 1024 May 25 11:10 lists
-rw-rw---- 1 mail daemon 0 Jun 26 2000 log
drwxr-x--- 5 mail home 1024 Jun 5 09:49 mail.appsci.com
drwxr-x--- 5 mail site1 1024 May 30 11:21 mail.asatm.com
-rwxr-xr-x 1 admin daemon 165466 Jun 6 12:41 majorcool.pl
-rwxr-xr-x 1 admin daemon 8694 Jun 6 12:41 majorcool_default.cf
-rwxr-x--- 1 mail daemon 64254 Jun 21 2000 majordomo
-rw-r--r-- 1 mail daemon 10945 Jun 21 2000 majordomo.cf
-rwxr-x--- 1 mail daemon 23763 Jun 21 2000 majordomo.pl
-rwxr-x--- 1 mail daemon 137 Jun 21 2000 majordomo_version.pl
-rwxr-xr-x 1 admin daemon 3539 Jun 6 12:41 mj_key_cache
-rwxr-x--- 1 mail daemon 3532 Jun 21 2000 request-answer
-rwxr-x--- 1 mail daemon 29520 Jun 21 2000 resend
-rw-r----- 1 mail daemon 10462 Jun 21 2000 sample.cf
-rwxr-x--- 1 mail daemon 8060 Jun 21 2000 shlock.pl
-rwsr-x--- 1 root mail 17601 Jun 26 2000 wrapper
I'll be glad to provide more information and I'll try different solutions so
please let me know if you have any info. to help me solve this problem.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/