[Koha-win32] Z39.50 won't work

Rob Weir robweir at alum.drexel.edu
Fri Feb 9 19:44:14 CET 2007


Hi Elizabeth,
I am pretty sure your problem is caused by the YAZ\bin folder not being 
added to your environment path correctly or perhaps the computer not 
being rebooted since it was added. Please double check your path and 
make sure there is not a typo. If you used another method to modify your 
path, try using the procedure in the following instructions. In case 
someone reads this in the archives a couple months from now, I am 
planning on adding the Yaz toolkit to the w32 koha install package, so 
none of this steps will be needed once that is done. If you try this and 
still have problems, let me know and I can send you a small diagnostic 
utility by email that you can use to test Z39.50 queries.

Here are some instructions that are hopefully more clear. These 
instructions should work on W2000, WXP, W2003:

To get Z3950 searching to working in Koha 2.2.7 you need to:

1. install YAZ Toolkit - V2.1.40 available from http://www.indexdata.dk/yaz/
2. add the Yaz bin folder to your environment path. For me, the path to the bin folder is C:\Program Files\YAZ\bin

(Right click My Computer -> Properties -> Advanced Tab -> Environment Variables -> in the lower System Variables window click on Path and then the edit button. Cursor all the way to the end of the existing path, add a semicolon and the the path to the Yaz bin folder. On my machine, when I get done it looks like
 
SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;*C:\Program Files\YAZ\bin*

Be careful not to delete anything that is already there! You may have a lot of other entries on your path depending on what software is installed on your computer. Click Ok -> Ok -> Ok to save your changes.

3. Reboot your computer. For some reason, the change to your path doesn't take effect until you reboot, even on Windows XP.
4. add a couple Z3950 servers in the intranet section of Koha. You do this under Koha Administration -> Z39.50 Servers. If you don't have any Z3950 servers configured, you will get a server error 500. I just copied the settings for a couple servers from the intranet demo site at http://koha.liblime.com/ and they worked.


Elizabeth Richens wrote:
> Hi,
>
> I just installed Koha 2.2.7 on Windows XP (service pack 2) as 
> instructed in Rob Weir's manual at http://www.koha.rwjr.com/. (I 
> installed Apache, MySQL and Perl first, the versions Rob specifies.) 
> I'm trying to download records from Z39.50 servers on the internet. I 
> put the ISBN in the new biblio and press z39.50 search button, but I 
> get an internal server error. The intranet error log gives:
>
> [Fri Feb 09 16:36:22 2007] [error] [client 127.0.0.1] Premature end of 
> script headers: search.pl, referer: 
> http://intranet/cgi-bin/koha/acqui.simple/addbiblio.pl
> [Fri Feb 09 16:36:22 2007] [error] [client 127.0.0.1] Can't load 
> 'C:/usr/site/lib/auto/Net/Z3950/ZOOM/ZOOM.dll' for module 
> Net::Z3950::ZOOM: load_file:The specified module could not be found at 
> C:/usr/lib/XSLoader.pm line 70., referer: 
> http://intranet/cgi-bin/koha/acqui.simple/addbiblio.pl
> [Fri Feb 09 16:36:22 2007] [error] [client 127.0.0.1]  at 
> C:/usr/site/lib/Net/Z3950/ZOOM.pm line 12, referer: 
> http://intranet/cgi-bin/koha/acqui.simple/addbiblio.pl
> [Fri Feb 09 16:36:22 2007] [error] [client 127.0.0.1] Compilation 
> failed in require at C:/usr/site/lib/ZOOM.pm line 6., referer: 
> http://intranet/cgi-bin/koha/acqui.simple/addbiblio.pl
> [Fri Feb 09 16:36:22 2007] [error] [client 127.0.0.1] BEGIN 
> failed--compilation aborted at C:/usr/site/lib/ZOOM.pm line 6., 
> referer: http://intranet/cgi-bin/koha/acqui.simple/addbiblio.pl
> [Fri Feb 09 16:36:22 2007] [error] [client 127.0.0.1] Compilation 
> failed in require at 
> C:/usr/koha227/intranet/cgi-bin/koha/z3950/search.pl line 30., 
> referer: http://intranet/cgi-bin/koha/acqui.simple/addbiblio.pl
> [Fri Feb 09 16:36:22 2007] [error] [client 127.0.0.1] BEGIN 
> failed--compilation aborted at 
> C:/usr/koha227/intranet/cgi-bin/koha/z3950/search.pl line 30., 
> referer: http://intranet/cgi-bin/koha/acqui.simple/addbiblio.pl
>
> Can anyone tell me what's wrong and how to fix this? I've tried 
> installing the ActivePerl 5.8.x modules for Koha build R5 and the 
> patch for bulk import, I've installed YAZ and added the Yaz bin folder 
> to the environment path as suggested by Rob in his posting on 8 Dec 
> 2006. His step number 2 here says to "install XSloader perl module ... 
> from the Active State ppm repository", which I have no idea how to do, 
> so I haven't done that. But I uninstalled and reinstalled Koha, and 
> during the install it says XSLoader is installed. Now I'm out of ideas...
>
> Elizabeth Richens
> Volunteer librarian
> Buddhist Society Library
> London
>
> ------------------------------------------------------------------------
> New Yahoo! Mail is the ultimate force in competitive emailing. Find 
> out more at the Yahoo! Mail Championships 
> <http://uk.rd.yahoo.com/mail/uk/taglines/default/championships/games/*http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk/>. 
> Plus: play games and win prizes.
> ------------------------------------------------------------------------
>
> _______________________________________________
> Koha-win32 mailing list
> Koha-win32 at nongnu.org
> http://lists.nongnu.org/mailman/listinfo/koha-win32
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-win32/attachments/20070209/6cd6bae1/attachment-0001.htm>


More information about the Koha-win32 mailing list