Hi Michael, John, List,
thank you very much for the help. Although I'm in way over my head on this I'm reading and learning as fast as I can. I inserted your fix to cgi-bingliserver.pl as follows:
...
require "$gsdlhome/perllib/util.pm"; # This is OK on Windows require "$gsdlhome/perllib/cpan/Crypt/UnixCrypt.pm"; # This is OK on Windows $Crypt::UnixCrypt::OVERRIDE_BUILTIN = 1; # Fix provided by Michael Dewsnip
I now get the following error message at http://www.rkb.usp.ac.fj/gsdl/cgi-bin/gliserver.pl?cmd=download-collection-configurations&un=test&pw=test
CGI ErrorThe specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:Name "Crypt::UnixCrypt::OVERRIDE_BUILTIN" used only once: possible typo at E:Greenstonegsdlcgi-bingliserver.pl line 28.
The crypt() function is unimplemented due to excessive paranoia. at E:Greenstonegsdlcgi-bingliserver.pl line 31.
Connecting with the GLI client still generates a 502. So other than the obligatory newbie chuckle at entertaining error messages, what does this mean and how can I fix it?
Thanks and bye, Leon
On 5/17/06, Michael Dewsnip <mdewsnip@cs.waikato.ac.nz> wrote:
Hi Leon,
Actually, this isn't a 502 error at all -- it seems that Java is
confused by the true error. By visiting
http://www.rkb.usp.ac.fj/gsdl/cgi-bin/gliserver.pl?cmd=download-collection-configurations&un=test&pw=test
you can see the real error:
CGI Error
The specified CGI application misbehaved by not returning a complete
set of HTTP headers. The headers it did return are:
The crypt() function is unimplemented due to excessive paranoia. at E:Greenstonegsdlcgi-bingliserver.pl line 30.
Fixing this requires a change to the gliserver.pl file to override
Perl's built-in crypt() function to use the one in Crypt::UnixCrypt.
Try adding this line:
$Crypt::UnixCrypt::OVERRIDE_BUILTIN = 1;
after:
require "$gsdlhome/perllib/cpan/Crypt/UnixCrypt.pm"; # This is
OK on Windows
near the start of the Greenstone "cgi-bingliserver.pl" file. I'm not
100% certain this will work because I can't test it for myself --
please let me know either way.
All the best,
Michael
Leon White wrote:
Hi John + list,
after confering with the network guys here they gave me another URL to
access the server under. It seems kaka.usp.ac.fj
is only used for SSL connections, external connections must go to
www.rkb.usp.ac.fj/gsdl/cgi-bin/library.exe . Nevertheless,
the new URL results in the sam 502 error, and the network guys swear up
and down that
- Because it is internal, I don't need to worry about the
university proxy
- Even if I was to use the proxy, things should still work with
Greenstone
I am pretty sure this is just a configuration problem, probably on the
IIS side and I realise it probably doesn't belong on this list either,
but I am at a loss for what to do otherwise.
Thanks again,
Leon White
---------- Forwarded message ----------
From: Vikash
Gounder <gounder_v@usp.ac.fj
>
Date: May 16, 2006 10:26 AM
Subject: RE: [greenstone-users] Greenstone as applet on IIS
To: Leon White <badfunkstripe@gmail.com>
------------------------------------------------
Vikash Gounder
Analyst Programmer - Webmaster
User Services, IT Services
University of the South Pacific, Suva
, Fiji
Tel: + 679 323 2126
Fax: + 679 323 1533
]
Sent:
16 May 2006 09:32
im
getting the same error over the secure connection.
all of the certificates on the kaka server belong to rkb, why is that
and what
does rkb mean??
On 5/16/06, Vikash Gounder <
gounder_v@usp.ac.fj> wrote:
Hi Leon,
I think
only secure
connection is done to the kaka server: https://kaka.usp.ac.fj/gsdl/cgi-bin/library.exe
Iam not
sure why the
server is only opened to the outside world, when it is suppose to be
open to
the outside world. I'll ask the guy who used to work on RKB stuff.
Cheers…
------------------------------------------------
Vikash Gounder
Analyst Programmer - Webmaster
User Services, IT Services
University of the South Pacific, Suva, Fiji
Tel: + 679 323 2126
Fax: + 679 323 1533
-----Original
Message-----
From: Leon White
[mailto:badfunkstripe@gmail.com]
Sent: 16 May 2006 09:17
To: Vikash Gounder
Subject: Fwd:
[greenstone-users]
Greenstone as applet on IIS
vikash,
i got an answer from the mailing list. we already thought of it, but
seeing as
you know the network structure here, can you check it out in detail,
particularly pertaining to the cache? the error isnt generated by
greenstone
but by IIS. why cant people from outside access kaka?
cheers
leon
---------- Forwarded message ----------
From: John R. McPherson
<jrm21@cs.waikato.ac.nz
>
Date: May 15, 2006 9:35 PM
Subject: Re: [greenstone-users] Greenstone as applet on IIS
To: Leon White <badfunkstripe@gmail.com>
Cc: greenstone-users@list.scms.waikato.ac.nz
On Mon, May 15, 2006 at 03:23:18PM +1200, Leon White wrote:
> Hi,
> instructions closely. The exact error message is:
>
> 'An error has occurred on the remote Greenstone server while
performing
this
> operation: Server returned HTTP response code: 502 for URL:
> http://kaka.usp.ac.fj/gsdl/cgi-bin/gliserver.pl
> '
The HTTP code "502" means "Bad Gateway". Are you using a
proxy server
or caching web server or anything? I note that "kaka.usp.ac.fj"
is
not an existing domain name, at least for me outside the university -
is this an internal-only server name?
John McPherson
_______________________________________________ greenstone-users mailing list
|