[ic] Interchange: CGI internal errors!

Joachim Leidinger interchange-users@lists.akopia.com
Thu Jul 5 19:40:01 2001


Scott Fletcher wrote:
> Does anyone else know why I get the cgi errors?  I do know for a fact that
> it is working.  It could be that the Interchange is not compactabile with
> Caldera.
[DEL]
> -----Original Message-----
> From: Scott Fletcher [mailto:scott@abcoa.com]
[DEL]
> Answer to the recent question is found by "==>" reply from me found down
> below!
> Scott
> -----Original Message-----
> From: Joachim Leidinger [mailto:jojo@blackpoint.de]
[DEL]
> Scott Fletcher wrote:
> > Here's the remaining 2 log files.
> > For [interchange-path]/error.log
> > >  Directory: /home/interchange/catalogs/example2
> > >  Script:    /cgi-bin/example2.cgi
> > - - - [29/June/2001:11:35:02 -0400] - - Config 'example2' from running
[DEL]
> > - - - [29/June/2001:11:35:13 -0400] - - START server (22550) (INET and
> UNIX)
> > ----------
> > For [catalogs]/error.log
> >   There's isn't one.  I type in "find . -name error.log -print" to make sure
> > of that and I only got the one for [interchange-path]/error.log.

In this case, there are no any access or connection to that catalog and
therfore no any message in that error.log file.

> What is the permission of /cgi-bin/example2.cgi?
> (ls -al example2.cgi)
> ==>
> ==> "-rwsr-xr-x 1 interch interch 3713 Jun 29 11:34 example2.cgi"
> 
> What is the username in your console?
> (whoami or ls -al [interchange]/error.log)
> ==>
> ==> "-rw-r--r-- 1 interch interch 36145 Jul 3 11:33 error.log"
> ==> "I installed the interchange as root since it doesn't work when I "
> ==> "use the Interchange account because of the access reason.  Then I use "
> ==> "the either the root or the interchange to make the catalog.  I don't "
> ==> "remember which one."

Hmmm...can you check the whole path of catalog and interchange for the
right permissions for the user interch?
Is your cgi-bin path working with another script? For example with

-------snip test.pl--------
#!/usr/bin/perl
$|=1;
print "\r\nContent-Type: text/html\r\n";
$out = "a \n";
print $out;
sleep (1);
$out = "b \n";
print $out;
sleep (1);
$out = "c \n";
print $out;
-------snip test.pl--------

?

Joachim

-- 
-------------<BPA FreeBsd>----------------------------------------------
Hans-Joachim Leidinger          black point arts Internet Solutions GmbH
email: jojo@blackpoint.de       FAX  : +49 0209-398265
http://www.bpaserver.net