[Koha] Errors indexing recently imported authorities in Zebra

Walls, Ian Ian.Walls at med.nyu.edu
Wed Jul 8 04:25:20 NZST 2009


Followup:


Upgraded to Zebra 2.0.  I can now run /reindex_zebra.pl -a, with or without line 13 of record.abs commented out, and I don't get any errors.  However, attempting to search for any authorities yields nothing still.

Has anyone else had problems indexing imported authority records?  I can't find any problem on my end, but if no one else is experiencing this, it wouldn't be a bug.

Just for details, I'm running Koha 3.0.3 on Ubuntu 8.04, with Zebra 2.0.38.

Cheers,


Ian Walls
Systems Integration Librarian
NYU Health Sciences Libraries
(212) 263-8687



From: koha-bounces at lists.katipo.co.nz [mailto:koha-bounces at lists.katipo.co.nz] On Behalf Of Walls, Ian
Sent: Thursday, July 02, 2009 1:20 PM
To: koha at lists.katipo.co.nz
Subject: Re: [Koha] Errors indexing recently imported authorities in Zebra

Followup:


I commented out line 13 in /etc/koha/zebradb/marc_defs/marc21/authorities/record.abs (which read "all any"), and tried to run rebuild_zebra.pl again.  It worked, or at least didn't throw an obvious error, but I still cannot retrieve any authority records through search.

One other thought occurred to me:  I'm running an old version of Zebra (1.3.50) on this machine.  Unfortunately, my system is unable to reach ftp.indexdata.dk<ftp://ftp.indexdata.dk> right now to pull libidzebra-2.0 and libidzebra-2.0-dev.  I'll try that again later.

Cheers,


Ian Walls
Systems Integration Librarian
NYU Health Sciences Libraries
(212) 263-8687



From: koha-bounces at lists.katipo.co.nz [mailto:koha-bounces at lists.katipo.co.nz] On Behalf Of Walls, Ian
Sent: Wednesday, July 01, 2009 1:30 PM
To: koha at lists.katipo.co.nz
Subject: [Koha] Errors indexing recently imported authorities in Zebra

Koha folks,


I've been pouring over this problem, consulting the forums, free web and source code in an attempt to figure out why I'm getting this error.  The closest I've found is this old post from 2006: http://www.nabble.com/Zebra-config-problem-(still-1)-td2747685.html#a2747685

Here is my procedure:


1.       I've exported my name authority records from my ILS in their proprietary XML format.

2.       Converting their XML into MARCXML

3.       Importing the MARCXML into Koha with ./bulkauthimport.pl -m MARCXML

4.       At this point, I can check the DB, and see my records in auth_header.  They have auth_ids, and both marc and marcxml.

5.       When I run ./rebuild_zebra.pl -a, I get the following (snipped for convenience; full output below):

12:24:32-01/07 zebraidx(11611) [warn] /tmp/Zvy3uS9fsy/authority/exported_records:0 record.abs:13: Couldn't find att 'any' in attset
12:24:32-01/07 zebraidx(11611) [warn] /tmp/Zvy3uS9fsy/authority/exported_records:0 Unable to acquire abstract syntax for 'record'
12:24:32-01/07 zebraidx(11611) [warn] Record didn't contain match fields in (bib1,Local-Number)
12:24:32-01/07 zebraidx(11611) [warn] Bad match criteria

6.       When I attempt to search for any authorities, using terms I know should match record #1, I get nothing.

My initial guess is that I need to change my matching criteria somehow...

Any help would be greatly appreciated.

Cheers,


Ian Walls
Systems Integration Librarian
NYU Health Sciences Libraries
(212) 263-8687




Full output of error message:

Records exported: 11020
====================
REINDEXING zebra
====================
12:24:32-01/07 zebraidx(11610) [log] zebra_start /etc/koha/zebradb/zebra-authorities.cfg 1.3.50
12:24:32-01/07 zebraidx(11610) [log] enabling cache spec=/var/lib/koha/zebradb/authorities/shadow:1G
12:24:32-01/07 zebraidx(11610) [log] cache_fname = /var/lib/koha/zebradb/authorities/shadow/cache
12:24:32-01/07 zebraidx(11610) [debug][log] zebra_stop
12:24:32-01/07 zebraidx(11611) [log] zebra_start /etc/koha/zebradb/zebra-authorities.cfg 1.3.50
12:24:32-01/07 zebraidx(11611) [debug][log] zebra_register_open rw = 1 useshadow=1 p=0x80b5788,n=,rp=(none)
12:24:32-01/07 zebraidx(11611) [log] enabling cache spec=/var/lib/koha/zebradb/authorities/shadow:1G
12:24:32-01/07 zebraidx(11611) [log] cache_fname = /var/lib/koha/zebradb/authorities/shadow/cache
12:24:32-01/07 zebraidx(11611) [log] dir /tmp/Zvy3uS9fsy/authority
12:24:32-01/07 zebraidx(11611) [warn] /tmp/Zvy3uS9fsy/authority/exported_records:0 record.abs:13: Couldn't find att 'any' in attset
12:24:32-01/07 zebraidx(11611) [warn] /tmp/Zvy3uS9fsy/authority/exported_records:0 Unable to acquire abstract syntax for 'record'
12:24:32-01/07 zebraidx(11611) [warn] Record didn't contain match fields in (bib1,Local-Number)
12:24:32-01/07 zebraidx(11611) [warn] Bad match criteria
12:24:32-01/07 zebraidx(11611) [log] zebra_end_trans
12:24:32-01/07 zebraidx(11611) [log] sorting section 1
12:24:32-01/07 zebraidx(11611) [log] Iterations . . .     57
12:24:32-01/07 zebraidx(11611) [log] Distinct words .     21
12:24:32-01/07 zebraidx(11611) [log] Updates. . . . .      0
12:24:32-01/07 zebraidx(11611) [log] Deletions. . . .      0
12:24:32-01/07 zebraidx(11611) [log] Insertions . . .     21
12:24:32-01/07 zebraidx(11611) [debug][log] zebra_register_close p=0x80b5788
12:24:32-01/07 zebraidx(11611) [log] Records:       0 i/u/d 0/0/0
12:24:32-01/07 zebraidx(11611) [log] user/system: 1/0
12:24:32-01/07 zebraidx(11611) [debug][log] zebra_stop
12:24:32-01/07 zebraidx(11611) [log] zebraidx times:  0.07  0.01  0.00
12:24:32-01/07 zebraidx(11612) [log] zebra_start /etc/koha/zebradb/zebra-authorities.cfg 1.3.50
12:24:32-01/07 zebraidx(11612) [log] enabling cache spec=/var/lib/koha/zebradb/authorities/shadow:1G
12:24:32-01/07 zebraidx(11612) [log] cache_fname = /var/lib/koha/zebradb/authorities/shadow/cache
12:24:32-01/07 zebraidx(11612) [log] commit start
12:24:32-01/07 zebraidx(11612) [debug][log] zebra_stop
skipping biblios
====================
CLEANING
====================

------------------------------------------------------------
This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is proprietary, confidential, and exempt from disclosure under applicable law. Any unauthorized review, use, disclosure, or distribution is prohibited. If you have received this email in error please notify the sender by return email and delete the original message. Please note, the recipient should check this email and any attachments for the presence of viruses. The organization accepts no liability for any damage caused by any virus transmitted by this email.
=================================


------------------------------------------------------------
This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is proprietary, confidential, and exempt from disclosure under applicable law. Any unauthorized review, use, disclosure, or distribution is prohibited. If you have received this email in error please notify the sender by return email and delete the original message. Please note, the recipient should check this email and any attachments for the presence of viruses. The organization accepts no liability for any damage caused by any virus transmitted by this email.
=================================


</PRE>
<html>
<body>
------------------------------------------------------------<br />
This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is proprietary, confidential, and exempt from disclosure under applicable law. Any unauthorized review, use, disclosure, or distribution is prohibited. If you have received this email in error please notify the sender by return email and delete the original message. Please note, the recipient should check this email and any attachments for the presence of viruses. The organization accepts no liability for any damage caused by any virus transmitted by this email.<br />
=================================
</body>
</html>
<PRE>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20090707/49dbf070/attachment-0001.htm 


More information about the Koha mailing list