Hi<br><br>I've installed Koha 3.4. I want to enable my server as public z39.50 server. I have the following config file:<br>===========================<br><br><yazgfs><br><!-- [scheme:]host[:port][/databaseName] --><br>
<!-- scheme: tcp, ssl, unix, http, sru --><br><!-- can run all servers on tcp, but the unix socket is faster --><br><br><listen id="biblioserver">tcp:@:9999</listen><br><listen id="authorityserver">tcp:@:9998</listen><br>
<br><!-- public server runs on tcp --><br><listen id="publicserver" >tcp:@:9999</listen><br><br><!-- Settings for special biblio server instance for PazPar2.<br> Because PazPar2 only connects to a Z39.50 server using TCP/IP,<br>
it cannot use the Unix-domain socket that biblioserver uses.<br> Therefore, a custom server is defined. --><br><!--<br><listen id="mergeserver">tcp:@:11001</listen><br><server id="mergeserver" listenref="mergeserver"> <br>
<directory>/var/lib/koha/zebradb/biblios</directory><br> <config>/etc/koha/zebradb/zebra-biblios.cfg</config><br> <cql2rpn>/etc/koha/zebradb/pqf.properties</cql2rpn><br></server><br>
--><br><br><!-- BIBLIOGRAPHIC RECORDS --><br><server id="biblioserver" listenref="biblioserver"> <br> <directory>/var/lib/koha/zebradb/biblios</directory><br> <config>/etc/koha/zebradb/zebra-biblios.cfg</config><br>
<cql2rpn>/etc/koha/zebradb/pqf.properties</cql2rpn><br> <!-- <docpath>xsl</docpath> --><br> <!-- <stylesheet>xsl/default.xsl</stylesheet> --><br> <!-- <maximumrecordsize>2000000</maximumrecordsize> --><br>
<retrievalinfo><br> <retrieval syntax="usmarc" name="F"/><br> <retrieval syntax="usmarc" name="B"/><br> <retrieval syntax="xml" name="F"/><br>
<retrieval syntax="xml" name="B"/><br> <retrieval syntax="xml" name="marcxml"<br> identifier="info:srw/schema/1/marcxml-v1.1"><br>
<backend syntax="usmarc" name="F"><br> <marc inputformat="marc" outputformat="marcxml"<br> inputcharset="utf-8"/><br> </backend><br>
</retrieval><br> <retrieval syntax="xml" name="dc"><br> <backend syntax="usmarc" name="F"><br> <marc inputformat="marc" outputformat="marcxml"<br>
inputcharset="utf-8"/><br> <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl"/><br> </backend><br> </retrieval><br>
<retrieval syntax="xml" name="mods"><br> <backend syntax="usmarc" name="F"><br> <marc inputformat="marc" outputformat="marcxml"<br>
inputcharset="utf-8"/><br> <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl"/><br> </backend><br> </retrieval><br>
<retrieval syntax="xml" name="rdfdc"><br> <backend syntax="usmarc" name="F"><br> <marc inputformat="marc" outputformat="marcxml"<br>
inputcharset="utf-8"/><br> <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl"/><br> </backend><br> </retrieval><br>
<retrieval syntax="xml" name="rss2"><br> <backend syntax="usmarc" name="F"><br> <marc inputformat="marc" outputformat="marcxml"<br>
inputcharset="utf-8"/><br> <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2RSS2.xsl"/><br> </backend><br> </retrieval><br>
<retrieval syntax="xml" name="utils"><br> <backend syntax="usmarc" name="F"><br> <marc inputformat="marc" outputformat="marcxml"<br>
inputcharset="utf-8"/><br> <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl"/><br> </backend><br> </retrieval><br>
</retrievalinfo><br> <xi:include href="/etc/koha/zebradb/explain-biblios.xml"<br> xmlns:xi="<a href="http://www.w3.org/2001/XInclude">http://www.w3.org/2001/XInclude</a>"><br>
<xi:fallback><br> <explain xmlns="<a href="http://explain.z3950.org/dtd/2.0/">http://explain.z3950.org/dtd/2.0/</a>"><br> <serverInfo><br> <host>localhost</host><br>
<port>9998</port><br> <database>biblios</database><br> </serverInfo><br> </explain><br> </xi:fallback><br> </xi:include><br></server><br>
<serverinfo id="biblioserver"><br> <ccl2rpn>/etc/koha/zebradb/ccl.properties</ccl2rpn><br> <user>kohauser</user> <br> <password>zebrastripes</password><br>
</serverinfo><br><br><!-- AUTHORITY RECORDS --><br><server id="authorityserver" listenref="authorityserver" ><br> <directory>/var/lib/koha/zebradb/authorities</directory><br>
<config>/etc/koha/zebradb/zebra-authorities-dom.cfg</config><br> <cql2rpn>/etc/koha/zebradb/pqf.properties</cql2rpn><br> <!-- <docpath>xsl</docpath> --><br> <!-- <stylesheet>xsl/default.xsl</stylesheet> --><br>
<!-- <maximumrecordsize>2000000</maximumrecordsize> --><br> <xi:include href="/etc/koha/zebradb/retrieval-info-auth-dom.xml"<br> xmlns:xi="<a href="http://www.w3.org/2001/XInclude">http://www.w3.org/2001/XInclude</a>"><br>
<xi:fallback><br> <retrievalinfo><br> <retrieval syntax="usmarc" name="F"/><br> <retrieval syntax="usmarc" name="B"/><br> <retrieval syntax="xml" name="marcxml"<br>
identifier="info:srw/schema/1/marcxml-v1.1"><br> <backend syntax="usmarc" name="F"><br> <marc inputformat="marc" outputformat="marcxml"<br>
inputcharset="utf-8"/><br> </backend><br> </retrieval><br> <retrieval syntax="xml" name="dc"><br> <backend syntax="usmarc" name="F"><br>
<marc inputformat="marc" outputformat="marcxml"<br> inputcharset="utf-8"/><br> <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl"/><br>
</backend><br> </retrieval><br> <retrieval syntax="xml" name="mods"><br> <backend syntax="usmarc" name="F"><br> <marc inputformat="marc" outputformat="marcxml"<br>
inputcharset="utf-8"/><br> <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl"/><br> </backend><br> </retrieval><br>
<retrieval syntax="xml" name="rdfdc"><br> <backend syntax="usmarc" name="F"><br> <marc inputformat="marc" outputformat="marcxml"<br>
inputcharset="utf-8"/><br> <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl"/><br> </backend><br> </retrieval><br>
<retrieval syntax="xml" name="utils"><br> <backend syntax="usmarc" name="F"><br> <marc inputformat="marc" outputformat="marcxml"<br>
inputcharset="utf-8"/><br> <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl"/><br> </backend><br> </retrieval><br>
</retrievalinfo><br> </xi:fallback><br> </xi:include><br> <xi:include href="/etc/koha/zebradb/explain-authorities.xml"<br> xmlns:xi="<a href="http://www.w3.org/2001/XInclude">http://www.w3.org/2001/XInclude</a>"><br>
<xi:fallback><br> <explain xmlns="<a href="http://explain.z3950.org/dtd/2.0/">http://explain.z3950.org/dtd/2.0/</a>"><br> <serverInfo><br> <host>localhost</host><br>
<port>9999</port><br> <database>authorities</database><br> </serverInfo><br> </explain><br> </xi:fallback><br> </xi:include><br>
</server><br><serverinfo id="authorityserver"><br> <ccl2rpn>/etc/koha/zebradb/ccl.properties</ccl2rpn><br> <user>kohauser</user><br> <password>zebrastripes</password><br>
</serverinfo><br><br><!-- ADDITIONAL KOHA CONFIGURATION DIRECTIVE --><br><!-- db_scheme should follow the DBD driver name --> <br><!-- port info: mysql:3306 Pg:5432 (5433 on Debian) --><br><config><br>
<db_scheme>mysql</db_scheme><br> <database>koha</database><br> <hostname>localhost</hostname><br> <port>3306</port><br> <user>kohaadmin</user><br> <pass>katikoan</pass><br>
<biblioserver>biblios</biblioserver><br> <biblioservershadow>1</biblioservershadow><br> <authorityserver>authorities</authorityserver><br> <authorityservershadow>1</authorityservershadow><br>
<intranetdir>/usr/share/koha/intranet/cgi-bin</intranetdir><br> <opacdir>/usr/share/koha/opac/cgi-bin/opac</opacdir><br> <opachtdocs>/usr/share/koha/opac/htdocs/opac-tmpl</opachtdocs><br>
<intrahtdocs>/usr/share/koha/intranet/htdocs/intranet-tmpl</intrahtdocs><br> <includes>/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/includes/</includes><br> <logdir>/var/log/koha</logdir><br>
<pazpar2url><a href="http://mykoha-laptop:11002/search.pz2">http://mykoha-laptop:11002/search.pz2</a></pazpar2url><br> <install_log>/usr/share/koha/misc/koha-install-log</install_log><br> <useldapserver>0</useldapserver><!-- see C4::Auth_with_ldap for extra configs you must add if you want to turn this on --><br>
<memcached_servers></memcached_servers><br> <memcached_namespace></memcached_namespace><br></config><br></yazgfs><br>===========================<br clear="all"><br>Now I'm trying to connect from other z39.50 client as:<br>
<br>Hostname: mypublic ip<br>Port: 9999<br>Database: biblios<br>Syntax: MARC21/USMARC<br>Encoding: UTF-8<br><br>But uanable to connect. Anything i am missing?<br><br>How can I test?<br><br><br>-- <br>Regards<br><br>Abdul Vali<br>
Librarian - ASE School<br><br><br>