Dear rehman,<br><br>Please add some records in zebra database, by using command<br><br>/usr/share/koha/bin/migration_tools/rebuild_zebra.pl -a -b<br clear="all"><br><br>regards.<br><br>Er. Amandeep Kansal<br>Linux System Administrator<br>
ChalkPad Technologies Pvt. Ltd.<br>PLOT NO 11/12, Sector 25-D,<br>Chandigarh- 160014.<br><a href="http://www.chalkpad.in">http://www.chalkpad.in</a><br><a href="http://linuxtosavemoney.blogspot.com">http://linuxtosavemoney.blogspot.com</a><br>
<br><br><div class="gmail_quote">2009/4/2 Ata ur Rehman <span dir="ltr"><<a href="mailto:ata.rehman@gmail.com">ata.rehman@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dear All<br><br>I've same problem with Koha 3 stable on Etch. Any suggestion?<br><br>Ata<br>LISolutions.org<div><div></div><div class="h5"><br><div class="gmail_quote">On Fri, Mar 20, 2009 at 4:57 PM, Magnus Enger <span dir="ltr"><<a href="mailto:magnus@enger.priv.no" target="_blank">magnus@enger.priv.no</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Dear all,<br>
<br>
I'm having some trouble getting Koha to work as a Z39.50 server.<br>
<br>
* Background<br>
<br>
I'm running Koha 3.01.00.014 on Debian 4.0 (on Amazon EC2). Zebra is<br>
on and searching in the OPAC is working fine. During the Makefile.PL<br>
part of the installation I chose the "single" install, so alle Koha<br>
files are found under /mnt/koha/. I chose the default for all the<br>
ports etc.<br>
<br>
* Preparation<br>
<br>
I have edited koha-conf.xml from this:<br>
<!-- <listen id="publicserver" >tcp:@:9999</listen> -><br>
to this:<br>
<listen id="publicserver" >tcp:@:9999</listen><br>
<br>
And I have restarted Zebra with<br>
/etc/init.d/koha-zebra-demon restart<br>
<br>
I have also made suer port 9999 is open.<br>
<br>
* Symptoms<br>
<br>
When I try to access <a href="http://kohanor.collib.info:9999/" target="_blank">http://kohanor.collib.info:9999/</a> in a browser, I get this:<br>
<br>
YAZ 3.0.36<br>
Error: 404<br>
Description: Not Found<br>
<br>
I log on to the server and try with yaz-client, and I get this:<br>
<br>
~# yaz-client<br>
Z> open localhost:9999/biblios<br>
Connecting...OK.<br>
Sent initrequest.<br>
Connection rejected by v3 target.<br>
ID : 81<br>
Name : GFS/YAZ<br>
Version: 1.128/3.0.36<br>
Init response contains 1 otherInfo unit:<br>
1: otherInfo unit contains 1 diagnostic:<br>
1: code=1 (Permanent system error),<br>
addinfo=''<br>
Options: search present triggerResourceCtrl namedResultSets<br>
Elapsed: 0.002852<br>
Z><br>
<br>
I have tried stopping Zebra and running it from the command line with<br>
/usr/bin/zebrasrv -f /mnt/koha/etc/koha-conf.xml<br>
which gives this output:<br>
<br>
10:48:28-20/03 [log] zebra_start 2.0.32 /mnt/koha/etc/zebradb/zebra-biblios.cfg<br>
10:48:28-20/03 [log] Loaded filter module<br>
/usr/lib/idzebra-2.0/modules/mod-dom.so<br>
10:48:28-20/03 [log] Loaded filter module<br>
/usr/lib/idzebra-2.0/modules/mod-alvis.so<br>
10:48:28-20/03 [log] Loaded filter module<br>
/usr/lib/idzebra-2.0/modules/mod-grs-xml.so<br>
10:48:28-20/03 [log] Loaded filter module<br>
/usr/lib/idzebra-2.0/modules/mod-text.so<br>
10:48:28-20/03 [log] Loaded filter module<br>
/usr/lib/idzebra-2.0/modules/mod-grs-marc.so<br>
10:48:28-20/03 [log] Loaded filter module<br>
/usr/lib/idzebra-2.0/modules/mod-grs-regx.so<br>
10:48:28-20/03 [log] zebra_start 2.0.32 /mnt/koha/etc/zebradb/zebra-biblios.cfg<br>
10:48:28-20/03 [log] Loaded filter module<br>
/usr/lib/idzebra-2.0/modules/mod-dom.so<br>
10:48:28-20/03 [log] Loaded filter module<br>
/usr/lib/idzebra-2.0/modules/mod-alvis.so<br>
10:48:28-20/03 [log] Loaded filter module<br>
/usr/lib/idzebra-2.0/modules/mod-grs-xml.so<br>
10:48:28-20/03 [log] Loaded filter module<br>
/usr/lib/idzebra-2.0/modules/mod-text.so<br>
10:48:28-20/03 [log] Loaded filter module<br>
/usr/lib/idzebra-2.0/modules/mod-grs-marc.so<br>
10:48:28-20/03 [log] Loaded filter module<br>
/usr/lib/idzebra-2.0/modules/mod-grs-regx.so<br>
10:48:28-20/03 [log] zebra_start 2.0.32<br>
/mnt/koha/etc/zebradb/zebra-authorities-dom.cfg<br>
10:48:28-20/03 [log] Loaded filter module<br>
/usr/lib/idzebra-2.0/modules/mod-dom.so<br>
10:48:28-20/03 [log] Loaded filter module<br>
/usr/lib/idzebra-2.0/modules/mod-alvis.so<br>
10:48:28-20/03 [log] Loaded filter module<br>
/usr/lib/idzebra-2.0/modules/mod-grs-xml.so<br>
10:48:28-20/03 [log] Loaded filter module<br>
/usr/lib/idzebra-2.0/modules/mod-text.so<br>
10:48:28-20/03 [log] Loaded filter module<br>
/usr/lib/idzebra-2.0/modules/mod-grs-marc.so<br>
10:48:28-20/03 [log] Loaded filter module<br>
/usr/lib/idzebra-2.0/modules/mod-grs-regx.so<br>
10:48:28-20/03 [server] Adding dynamic listener on<br>
unix:/mnt/koha/var/run/zebradb/bibliosocket id=1<br>
10:48:28-20/03 [server] Adding dynamic listener on<br>
unix:/mnt/koha/var/run/zebradb/authoritysocket id=2<br>
10:48:28-20/03 [server] Adding dynamic listener on tcp:@:9999 id=3<br>
10:48:28-20/03 [server] Adding dynamic listener on tcp:@:11001 id=4<br>
10:48:28-20/03 [server] Starting server /usr/bin/zebrasrv pid=25705<br>
<br>
Running the "open" command above from the yaz-client gives this output<br>
from zebrasrv:<br>
<br>
10:50:02-20/03 zebrasrv(1) [session] Session - OK 1 tcp:::ffff:127.0.0.1 25710<br>
10:50:02-20/03 zebrasrv(1) [request] Auth none<br>
10:50:02-20/03 zebrasrv(1) [request] Init ERROR 1 ID:81 Name:YAZ Version:3.0.36<br>
<br>
I have also tried running this:<br>
<br>
Z> authentication username/password<br>
Z> open localhost:9999/biblios<br>
<br>
(and with "username:password" and "username password"), but they all<br>
give the same error: "Init ERROR 1 ID:81 Name:YAZ Version:3.0.36".<br>
<br>
* Hunches<br>
<br>
It strikes me as somewhat odd that there are now four listen-elements<br>
in koha-conf.xml:<br>
<br>
<listen id="biblioserver" >unix:/mnt/koha/var/run/zebradb/bibliosocket</listen><br>
<listen id="authorityserver"<br>
>unix:/mnt/koha/var/run/zebradb/authoritysocket</listen><br>
<listen id="publicserver" >tcp:@:9999</listen><br>
<listen id="mergeserver">tcp:@:11001</listen><br>
<br>
But only three of them have corresponding server-elements:<br>
<br>
<server id="mergeserver" listenref="mergeserver"><br>
<server id="biblioserver" listenref="biblioserver"><br>
<server id="authorityserver" listenref="authorityserver" ><br>
<br>
But if this was the problem, I guess nobody else would get Z39.50 to<br>
work either...<br>
<br>
* Plea<br>
<br>
Does anyone have a clue about what is wrong here? I have (of course)<br>
tried to Google for different parts of the error-messages, but without<br>
finding anything very helpful.<br>
<br>
Regards,<br>
<font color="#888888">Magnus Enger<br>
_______________________________________________<br>
Koha mailing list<br>
<a href="mailto:Koha@lists.katipo.co.nz" target="_blank">Koha@lists.katipo.co.nz</a><br>
<a href="http://lists.katipo.co.nz/mailman/listinfo/koha" target="_blank">http://lists.katipo.co.nz/mailman/listinfo/koha</a><br>
</font></blockquote></div><br>
</div></div><br>_______________________________________________<br>
Koha mailing list<br>
<a href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a><br>
<a href="http://lists.katipo.co.nz/mailman/listinfo/koha" target="_blank">http://lists.katipo.co.nz/mailman/listinfo/koha</a><br>
<br></blockquote></div><br>