Bug 24045

Summary: Cannot open port for Z39.50
Product: Koha Reporter: Bohdan <b.pastern4k>
Component: Z39.50 / SRU / OpenSearch ServersAssignee: Bugs List <koha-bugs>
Status: CLOSED INVALID QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: m.de.rooy
Version: 19.05   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Crowdfunding committed: 0
Crowdfunding contact: Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Bohdan 2019-11-14 13:36:08 UTC
For Z39 to work i followed the instructions and uncommented these blocks in koha-conf.xml

<listen id="publicserver">tcp:@:nnn</listen>
<server id="publicserver" listenref="publicserver">...</server>
<serverinfo id="publicserver">...</serverinfo>

Then i ran sudo koha-zebra --restart instance.

When i try to check whether the connection is working via
yaz-client -c /etc/koha/zebradb/ccl.properties localhost:$PORT/biblios

i get this error
Connecting...error = System (lower-layer) error: Connection refused

I checked opened ports/IPs with this command 
sudo netstat -tuplen 
and could not find my port for z39 server.
Comment 1 Katrin Fischer 2019-11-18 23:30:39 UTC
Hi, this sounds more like a support request, than a bug. Please bring this up on the mailing list, where many more people will read your question and be able to offer help.
Please make sure to include the exact version of Koha you are using.

This might be helpful:
https://wiki.koha-community.org/wiki/Troubleshooting_Koha_as_a_Z39.50_server