[Koha] Zebra rebuild error

Paul paul.a at aandc.org
Sat Aug 31 09:35:13 NZST 2013


At 11:47 AM 8/30/2013 +0530, rocky bang wrote:
>hi everyone,
>I have koha 3.8 install on server.

It would be helpful if you could be a little more precise:

3.8 - which release, 3.8.1 ... 3.8.17 ?
server - what operating system and version? Your own? Hosted elsewhere? VM?
kohaclone - why? and how set up?

You say at the end of your email that you are having problems "in 
production", but you also state "Zebra biblio directory = 
/etc/conf/koha-dev-domv/var/lib/zebradb/biblios" which does not look like a 
"production" environment...

You obviously have a fairly sizeable db (21,928 biblios). Has this been 
indexable on any other version of Koha? Where did it come from? And when 
was it last "useable"?

You tried misc/migration_tools/rebuild_zebra.pl -b -r -v (obviously with 
partial success), but *perhaps* a more normal "production" environment 
would use ./bin/migration_tools/rebuild_zebra.pl -b -r -v -x

We've been running a totally stable 3.8.5 in production for about a year 
now (so might just be able to help) but your environment looks very, very 
different.

Paul

>I tried to reindex the zebra server using following commands.
>export KOHA_CONF=/path to .xml file
>export PERL5LIB=/path to kohaclone
>
>perl misc/migration_tools/rebuild_zebra.pl -b -r -v
>
>and it starts reindexing but i got following errors:
>
>Zebra configuration information
>
>================================
>
>Zebra biblio directory = /etc/conf/koha-dev-domv/var/lib/zebradb/biblios
>
>Zebra authorities directory =
>/etc/conf/koha-dev-domv/var/lib/zebradb/authorities
>
>Koha directory = /opt/kohaclone
>
>BIBLIONUMBER in : 999$c
>
>BIBLIOITEMNUMBER in : 999$d
>
>================================
>
>skipping authorities
>
>====================
>
>exporting biblio
>
>====================
>
>21901....................................................................................................
>
>
>Records exported: 21928
>
>====================
>
>REINDEXING zebra
>
>====================
>
>11:19:48-30/08 zebraidx(8646) [warn] Unknown register type: 0
>
>11:19:48-30/08 zebraidx(8646) [warn] Unknown register type: n
>
>11:19:48-30/08 zebraidx(8646) [warn] Unknown register type: y
>
>11:19:48-30/08 zebraidx(8646) [warn] Unknown register type: d
>
>11:21:00-30/08 zebraidx(8646) [warn] Unknown register type: u
>
>11:21:29-30/08 zebraidx(8646) [warn] MARC: Bad offsets in data. Skipping
>rest
>
>11:21:29-30/08 zebraidx(8646) [warn] Record didn't contain match fields in
>(bib1,Local-number)
>
>====================
>
>CLEANING
>
>====================
>
>Please help me on urgent basis as I am facing   problem on production.
>
>thanks in advance.
>_______________________________________________
>Koha mailing list  http://koha-community.org
>Koha at lists.katipo.co.nz
>http://lists.katipo.co.nz/mailman/listinfo/koha

---
Maritime heritage and history, preservation and conservation,
research and education through the written word and the arts.
<http://NavalMarineArchive.com> and <http://UltraMarine.ca>



More information about the Koha mailing list