[Koha] Re: z39.50 search errors

Joshua M. Ferraro jmf at liblime.com
Sat Jun 9 07:25:02 NZST 2007


Hi Matthew,

(sorry for the top-post, but this is a huge thread ;-))

Reading through the thread I noticed you're still invoking the old
Z39.50 daemon, which is no longer necessary. Since 2.2.7 the daemon
is deprecated. The script contains everything needed to do the 
queries.

Also, the logs you posted reveal that the query is timing out. Could
you double-check the Z39.50 settings in your administration section
are correct. Also, please double-check (with telnet or a similar tool)
that your network isn't preventing access to the target. Here's a simple
command-line way to do that:

$ telnet target.z3950.server 9999 (where 9999 is the port)

if you connect successfully, let us know. if not, look for any 
transparent proxies or other network hardware that may be causing
problems.

Hope that helps.

Cheers,

-- 
Joshua Ferraro                       SUPPORT FOR OPEN-SOURCE SOFTWARE
President, Technology       migration, training, maintenance, support
LibLime                                Featuring Koha Open-Source ILS
jmf at liblime.com |Full Demos at http://liblime.com/koha |1(888)KohaILS


----- "Matthew Metzger" <news at metzger.cc> wrote:
> Joshua M. Ferraro wrote:
> > ----- "Matthew Metzger" <news at metzger.cc> wrote:
> >> Matthew Metzger wrote:
> >>> Matthew Metzger wrote:
> >>>> Chris Cormack wrote:
> >>>>>> I had another problem that I thought was related, but probably
> 
> >>>>>> isn't. I get an error when I try to do a z39.50 search. I
> thought
> >>>>>> that 2.2.7 and later used a different way to do z39.50. I was
> >> hoping 
> >>>>>> that upgrading would simplify the process. Anyway, here's the
> >> error:
> >>>>>> ----
> >>>>>> Internal Server Error
> >>>>>>
> >>>>>> The server encountered an internal error or misconfiguration
> and
> >> was 
> >>>>>> unable to complete your request.
> >>>>>>
> >>>>>> Please contact the server administrator, [my email] and inform
> >> them 
> >>>>>> of the time the error occurred, and anything you might have
> done
> >>>>>> that may have caused the error.
> >>>>>>
> >>>>>> More information about this error may be available in the
> server
> >>>>>> error log.
> >>>>>> ----
> >>>>>>
> >>>>>> I have started the z39.50 daemon by invoking:
> >>>>>>
> >>
> /usr/local/koha/intranet/scripts/z3950daemon/z3950-daemon-launch.sh
> >>>>>>
> >>>>> Hi Matthew
> >>>>>
> >>>>> Ive gotta do some work at the moment, but if no one has taken a
> >> crack 
> >>>>> at answering you by the time I take a lunch break, ill take a
> >> look.
> >>>>> To help, if you could find the error_log and paste the relevant
> >> bit 
> >>>>> in from there, that might help.
> >>>>>
> >>>>> Chris
> >>>>> -- 
> >>>>> Chris Cormack                            
> >>>>> chris.cormack at liblime.com
> >>>>> VP Research and Development                       
> >> www.liblime.com
> >>>>> LibLime                                             +64 21 542
> >> 131
> >>> Hello again,
> >>>
> >>> I've updated the yaz toolkit to yaz-3.0.6 and installed 
> >>> Net::Z3950::ZOOM, but still have no results when doing a z39.80
> >> search. 
> >>> Here's the error message I get:
> >>>
> >>> ----
> >>> Internal Server Error
> >>>
> >>> The server encountered an internal error or misconfiguration and
> was
> >>> unable to complete your request.
> >>>
> >>> Please contact the server administrator, [my email address] and
> >> inform 
> >>> them of the time the error occurred, and anything you might have
> >> done 
> >>> that may have caused the error.
> >>>
> >>> More information about this error may be available in the server
> >> error log.
> >>> ----
> >>>
> >>> I've posted lines from my koha-error_log elsewhere in this
> thread.
> >>>
> >>> thanks in advance for any help.
> >>>
> >>> -Matthew
> >> I took a look at lines 135 and 145 of 
> >> /usr/local/koha/intranet/cgi-bin/z3950/search.pl and it looks like
> I'm
> >>
> >> getting an error because of not being able to connect to the remote
> 
> >> z39.50 server. I'm not sure why this is the case because it worked
> >> fine 
> >> before the upgrade from 2.2.6 to 2.2.9.
> >>
> >> Any help would be greatly appreciated.
> >> thanks for your time,
> > Which templates are you using, npl or default? Does the error
> happen
> > regardless of the templates?
> > 
> > Cheers,
> 
> Hello Joshua,
> 
> I hadn't tried the default template, so I just did. I receive the same
> 
> error with the default template as I do with NPL.
> 
> thanks for your time,
> 
> Matthew Metzger
> 
> _______________________________________________
> Koha mailing list
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha



More information about the Koha mailing list