Well, you all are welcome! :-(
Anyway, I found the way of doing it. I'm sure there's a neater way, but this
one seems to work.
Add this line to /etc/koha/sites/"your library"/koha-conf.xml:
tcp:@:1
You may use any free port.
Then add the following section. You may need to tweak it a bit:
/var/lib/koha/biblioteko/authorities
/etc/koha/sites/biblioteko/zebra-authorities-dom.cfg
/etc/koha/zebradb/pqf.properties
http://www.w3.org/2001/XInclude;>
http://www.w3.org/2001/XInclude;>
http://explain.z3950.org/dtd/2.0/;>
__ZEBRA_SRU_HOST__
__ZEBRA_SRU_BIBLIOS_PORT__
authorities
/etc/koha/zebradb/ccl.properties
As usual, restart the Zebra server or the entire machine.
Rubén Fernández Asensio
El dissabte, 10 de febrer de 2018, a les 21:48:13 CET, vau escriure:
> Hello, I'm trying to set up my Koha as a Z39.50 server. So far I can serve
> biblio data, but can't serve authorities.
> Has anybody achieved a working configuration?
>
> This is what yaz-client reports:
> yaz-client tcp:biblioteko.esperanto.cat:
> Connecting...OK.
> Sent initrequest.
> Connection accepted by v3 target.
> ID : 81
> Name : Zebra Information Server/GFS/YAZ
> Version: 4.2.30 98864b44c654645bc16b2c54f822dc2e45a93031
> Options: search present delSet triggerResourceCtrl scan sort
> extendedServices namedResultSets
> Elapsed: 0.360845
> Z> base biblios
> Z> find Zamenhof
> Sent searchRequest.
> Received SearchResponse.
> Search was a success.
> Number of hits: 509, setno 1
> SearchResult-1: term=Zamenhof cnt=509
> records returned: 0
> Elapsed: 0.066083
> Z> base authorities
> Z> find Zamenhof
> Sent searchRequest.
> Received SearchResponse.
> Search was a bloomin' failure.
> Number of hits: 0, setno 2
> Result Set Status: none
> records returned: 0
> Diagnostic message(s) from database:
> [109] Database unavailable -- v2 addinfo 'authorities'
> Elapsed: 0.054520
>
> So, the biblio database is served, but the authority database is
> unavailable.
>
> To activate the server, I uncommented all the relevant parts of the file
> /etc/ koha/sites/esperanto/koha-conf.xml:
>
>
>
> tcp:@:
>
> However, if you uncomment that aforementioned section, you see it only
> relates to bibliographic records:
>
>
>
>
>
> /var/lib/koha/esperanto/biblios
> /etc/koha/sites/esperanto/zebra-biblios-dom.cfg
> /etc/koha/zebradb/pqf.properties
>
> xmlns:xi="http://www.w3.org/2001/XInclude;>
>
>
>
>
>
>
> identifier="info:srw/schema/1/marcxml-v1.1">
>
> inputcharset="utf-8"/>
>
>
>
>
> inputcharset="utf-8"/>
>
>
>
>
>
> inputcharset="utf-8"/>
>
>
>
>
>
> inputcharset="utf-8"/>
>
>
>
>
>
> inputcharset="utf-8"/>
>
>
>
>
>
> inputcharset="utf-8"/>
>
>
>
>
>
>
>
> xmlns:xi="http://www.w3.org/2001/XInclude;>
>
> http://explain.z3950.org/dtd/2.0/;>
>
> __ZEBRA_SRU_HOST__
> __ZEBRA_SRU_BIBLIOS_PORT__
> biblios
>
>
>
>
>
>
> /etc/koha/zebradb/ccl.properties
> Carles
> Puigdemont
>
>
> So, do I need a similar 'server' and 'serverinfo' section for authorities?
> In that case, should I also create a 'listen' entry with a different port?
> What's your configuration? Has anybody got an authority server running?
>
> Rubén Fernández
___
Koha mailing list http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha