Bug 7832 - Server Z39.50 for Unimarc
Summary: Server Z39.50 for Unimarc
Alias: None
Product: Koha
Classification: Unclassified
Component: Z39.50 / SRU / OpenSearch Servers (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Galen Charlton
QA Contact:
Depends on: 3087
  Show dependency treegraph
Reported: 2012-03-27 15:35 UTC by Serhij Dubyk
Modified: 2015-06-04 23:24 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Note You need to log in before you can comment on or make changes to this bug.
Description Serhij Dubyk 2012-03-27 15:35:54 UTC
I try to setup Z39-50 server for our library with Unimarc-records.
But in result was broken a normal search.

Step by step:

1) Used links as guide:

* [Koha-patches] [PATCH] Bug #3087 - Improve z39.50 server Unimarc support

* how to use z39.50 ? 

* [Zebralist] Problems with Koha/Zebra as Z39.50 server

* Troubleshooting Koha as a Z39.50 server

2) In /etc/koha/koha-conf.xml uncomment
<listen id="publicserver" >tcp:@:9998</listen>


<server id="publicserver"  listenref="publicserver">.


<serverinfo id="publicserver">

3) Also in file /etc/koha/koha-conf.xml
replace usmarc -> unimarc

4) Create /etc/koha/zebradb/etc/unimarc.mar
with content:

name unimarc
reference Unimarc

5) Replace in  /etc/koha/zebradb/marc_defs/unimarc/biblios/record.abs
as follows:

name unimarc
marc unimarc.mar

6) /etc/init.d/koha-zebra-demon restart

7) yaz-client -c /etc/koha/zebradb/ccl.properties localhost:9998/biblios
Sent initrequest.
Connection accepted by v3 target.
ID     : 81
Name   : Zebra Information Server/GFS/YAZ
Version: 4.0.11 e8ca42e680c5e5a644481e5d0b75a0e57c6d3e92
Options: search present delSet triggerResourceCtrl scan sort extendedServices namedResultSets
Elapsed: 0.001831

7) Look: http://koha.tntu.edu.ua:9998/biblios

8) Try to test with http://www.loc.gov/z3950/test.html
(Enter Term 1: .... [Any])
If port 9998 opened in firewall, we will see something:

Search Results
924 records matched your query [2005].

9) But in OPAC we have

Can't call method "raw" on an undefined value at /usr/share/koha/lib/C4/Search.pm line 460. 

on any search.
Comment 1 Katrin Fischer 2014-11-02 10:46:04 UTC
I believe this was a configuration issue, as we know that Z39.50-download for UNIMARC libraries works.