[ic] Interchange: CGI internal errors!

Scott Fletcher interchange-users@lists.akopia.com
Fri Jul 6 09:03:01 2001


-----Original Message-----
From: Joachim Leidinger [mailto:jojo@blackpoint.de]
Sent: Thursday, July 05, 2001 7:43 PM
To: interchange-users@developer.akopia.com
Subject: Re: [ic] Interchange: CGI internal errors!


> > -----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
> 

Here's the cgi's response to the test.pl

Content-Type: text/html
a 
b 
c 

I checked the catalogs and the interchange, they all have the 
ownership which point to "interch".  As for the permission, they 
seem alright to me!  

Scott F.
-------------<BPA FreeBsd>----------------------------------------------
Hans-Joachim Leidinger          black point arts Internet Solutions GmbH
email: jojo@blackpoint.de       FAX  : +49 0209-398265
http://www.bpaserver.net
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users