Zebra question

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Zebra question

Ricardo Ruiz
Hi All,

When I try to connect using the yaz-client using the following command:
yaz-client unix:/var/run/koha/zebradb/bibliosocket

I get the following error message:

Connecting ... OK.
Sent initrequest.
Connection rejected by v3 target.
ID: 81
Name: Zebra Information Server / GFS / YAZ
Version: 2.0.61 / 5.15.2 738b345708b245e67cded6d917393a80b5bd4eca
Init response contains 1 otherInfo unit:
   1: otherInfo unit contains 1 diagnostic:
     1: code = 1011 (Init / AC: Bad Userid and / or Password),
         addinfo = ''
Options: search present of the Set triggerResourceCtrl scan sort
extendedServices namedResultSets
Elapsed: 0.001331
Z>

Where can I verify the Zebra username and password?


Thanks,
Ricardo
____________________________________________________________________


<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Libre
de virus. www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
_______________________________________________
Koha mailing list  http://koha-community.org
[hidden email]
https://lists.katipo.co.nz/mailman/listinfo/koha
Reply | Threaded
Open this post in threaded view
|

Re: Zebra question

Michael Kuhn
Hi Ricardo

 > When I try to connect using the yaz-client using the following
 > command:
 > yaz-client unix:/var/run/koha/zebradb/bibliosocket
 >
 > I get the following error message:
 >
 > Connecting ... OK.
 > Sent initrequest.
 > Connection rejected by v3 target.
 > ID: 81
 > Name: Zebra Information Server / GFS / YAZ
 > Version: 2.0.61 / 5.15.2 738b345708b245e67cded6d917393a80b5bd4eca
 > Init response contains 1 otherInfo unit:
 >     1: otherInfo unit contains 1 diagnostic:
 >       1: code = 1011 (Init / AC: Bad Userid and / or Password),
 >           addinfo = ''
 > Options: search present of the Set triggerResourceCtrl scan sort
 > extendedServices namedResultSets
 > Elapsed: 0.001331
 > Z>
 >
 > Where can I verify the Zebra username and password?

Maybe you are searching for the configuration files
"zebra-authorities.cfg" and "zebra-biblios.cfg". They both contain a
line starting with "passwd:" that point to a file named "zebra.passwd"
which contains a user:password combination. Usually you will find this
file under /etc/koha/sites/$INSTANCE/zebra.passwd

However, a correct connection with yaz-client will look like:

# yaz-client unix:/run/koha/$INSTANCE/bibliosocket
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.003591
Z>

Of course $INSTANCE ist the name of your Koha instance.

Hope this helps.

Best wishes: Michael
--
Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis
Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
T 0041 (0)61 261 55 61 · E [hidden email] · W www.adminkuhn.ch
_______________________________________________
Koha mailing list  http://koha-community.org
[hidden email]
https://lists.katipo.co.nz/mailman/listinfo/koha
Reply | Threaded
Open this post in threaded view
|

Re: Zebra question

Ricardo Ruiz
Hi Michael,

Precisely the file called zebra.passwd is the one I was looking for.

Thank you very much for your help.


____________________________________________________________________


2017-11-01 17:50 GMT-05:00 Michael Kuhn <[hidden email]>:

> Hi Ricardo
>
> > When I try to connect using the yaz-client using the following
> > command:
> > yaz-client unix:/var/run/koha/zebradb/bibliosocket
> >
> > I get the following error message:
> >
> > Connecting ... OK.
> > Sent initrequest.
> > Connection rejected by v3 target.
> > ID: 81
> > Name: Zebra Information Server / GFS / YAZ
> > Version: 2.0.61 / 5.15.2 738b345708b245e67cded6d917393a80b5bd4eca
> > Init response contains 1 otherInfo unit:
> >     1: otherInfo unit contains 1 diagnostic:
> >       1: code = 1011 (Init / AC: Bad Userid and / or Password),
> >           addinfo = ''
> > Options: search present of the Set triggerResourceCtrl scan sort
> > extendedServices namedResultSets
> > Elapsed: 0.001331
> > Z>
> >
> > Where can I verify the Zebra username and password?
>
> Maybe you are searching for the configuration files
> "zebra-authorities.cfg" and "zebra-biblios.cfg". They both contain a line
> starting with "passwd:" that point to a file named "zebra.passwd" which
> contains a user:password combination. Usually you will find this file under
> /etc/koha/sites/$INSTANCE/zebra.passwd
>
> However, a correct connection with yaz-client will look like:
>
> # yaz-client unix:/run/koha/$INSTANCE/bibliosocket
> 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.003591
> Z>
>
> Of course $INSTANCE ist the name of your Koha instance.
>
> Hope this helps.
>
> Best wishes: Michael
> --
> Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis
> Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
> T 0041 (0)61 261 55 61 · E [hidden email] · W www.adminkuhn.ch
> _______________________________________________
> Koha mailing list  http://koha-community.org
> [hidden email]
> https://lists.katipo.co.nz/mailman/listinfo/koha
>


<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Libre
de virus. www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
_______________________________________________
Koha mailing list  http://koha-community.org
[hidden email]
https://lists.katipo.co.nz/mailman/listinfo/koha
Reply | Threaded
Open this post in threaded view
|

Re: Zebra question

Fridolin SOMERS
In reply to this post by Ricardo Ruiz
Hi,

To use yaz-client you may enable anonymous access :
Uncomment #perm.anonymous:ar in zebra-xxx.cfg files.
And restart zebra server

Regards,

Le 01/11/2017 à 23:22, Ricardo Ruiz a écrit :

> Hi All,
>
> When I try to connect using the yaz-client using the following command:
> yaz-client unix:/var/run/koha/zebradb/bibliosocket
>
> I get the following error message:
>
> Connecting ... OK.
> Sent initrequest.
> Connection rejected by v3 target.
> ID: 81
> Name: Zebra Information Server / GFS / YAZ
> Version: 2.0.61 / 5.15.2 738b345708b245e67cded6d917393a80b5bd4eca
> Init response contains 1 otherInfo unit:
>     1: otherInfo unit contains 1 diagnostic:
>       1: code = 1011 (Init / AC: Bad Userid and / or Password),
>           addinfo = ''
> Options: search present of the Set triggerResourceCtrl scan sort
> extendedServices namedResultSets
> Elapsed: 0.001331
> Z>
>
> Where can I verify the Zebra username and password?
>
>
> Thanks,
> Ricardo
> ____________________________________________________________________
>
>
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
> Libre
> de virus. www.avg.com
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> _______________________________________________
> Koha mailing list  http://koha-community.org
> [hidden email]
> https://lists.katipo.co.nz/mailman/listinfo/koha
>

--
Fridolin SOMERS <[hidden email]>
BibLibre - software and system maintainer
_______________________________________________
Koha mailing list  http://koha-community.org
[hidden email]
https://lists.katipo.co.nz/mailman/listinfo/koha