[Koha-zebra] Connecting to zebrasrv using yaz-client
Eric Bégin
Eric.Begin at inLibro.com
Wed Apr 29 19:36:44 CEST 2009
Hi,
My goal is to connect and perform searches on the zebrasrv using yaz-client.
I saw that many folks asking information about how to do it, but I never
found a complete solution. Hopefully, this thread may help other people
in the future. Once I'll be able to connect and perform search, I'll
transfer the content of this thread to the wiki.
Thank you all in advance for your help.
What I did so far:
The first time I tried to access zebrasrv after Koha's installation I
got the following error:
Connecting...error = System (lower-layer) error: Connection refused
In order to connect to zebrasrv, use the following command:
$ yaz-client
> auth username/password
Authentication set to Open (username/password)
> open localhost:9999/biblios
Connecting...error = System (lower-layer) error: Connection refused
username and password are the information you specified during Koha
installation. You can also find this information in the koha-conf.xml file.
When I got this error, I discover that we need to uncomment the
following line in the koha-conf.xml file
<listen id="publicserver" >tcp:@:9999</listen>
and then, restart zebrasrv
<kohapath>/bin/koha-zebra-ctl.sh -restart
in the output, you should now see a new line
13:19:58-29/04 [server] Adding dynamic listener on tcp:@:9999 id=3
Now, that where I'm stuck. The open localhost:9999/biblios command gives:
Connecting...OK.
Sent initrequest.
Connection rejected by v3 target.
ID : 81
Name : GFS/YAZ
Version: 3.0.45 62f4f43aa7b97890d7c4bf776e3749f25b2e1c5a
Init response contains 1 otherInfo unit:
1: otherInfo unit contains 1 diagnostic:
1: code=1 (Permanent system error),
addinfo=''
Options: search present triggerResourceCtrl namedResultSets
Elapsed: 0.001466
Any help will be appreciated.
Thanks,
Eric
More information about the Koha-zebra
mailing list