[Koha] Zebra: only can index in XML format. Please help.

hoa lean anhoale at yahoo.com
Fri Apr 15 09:30:28 NZST 2011


Hi there, 
  
I m Ann. I just finish installing koha 3.2.6 on opensuse 11.3 
All prerequisite perl modules have been installed fine. 
However, there are some issues regarding Zebra rebuild index. 
  
First of all, the site works fine with no-Zebra index, however, it seems that the Advanced Search don’ work under no-Zenbra search engine, so we have to go with the Zebra. 
I already did a search on the forum, do the steps that point the module path to reflect the right folder in the system. In our case, it is “modulePath: /usr/lib64/idzebra-2.0/modules” 
I also make sure user koha have access to the modules folder. 
  
The problem with Zebra is: 
It seems that Zebra Rebuild Index fine if only with bibliographies under XML 
koha:/usr/webpages/koha-3.2.6/misc/migration_tools # ./rebuild_zebra.pl -b -x 
  
Zebra configuration information 
================================ 
Zebra biblio directory      = /var/lib/koha/zebradb/biblios 
Zebra authorities directory = /var/lib/koha/zebradb/authorities 
Koha directory              = /usr/webpages/koha/intranet/cgi-bin 
BIBLIONUMBER in :     999$c 
BIBLIOITEMNUMBER in : 999$d 
================================ 
skipping authorities 
==================== 
exporting biblio 
==================== 
.1....................................................................................................101.......................... 
Records exported: 126 
==================== 
REINDEXING zebra 
==================== 
16:01:32-14/04 zebraidx(9149) [log] zebra_start 2.0.43 abd433d1a315576cf1f4a53f2c70365f9a76477f 
16:01:32-14/04 zebraidx(9149) [log] config /etc/koha/zebradb/zebra-biblios.cfg 
16:01:32-14/04 zebraidx(9149) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-grs-marc.so 
16:01:32-14/04 zebraidx(9149) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-safari.so 
16:01:32-14/04 zebraidx(9149) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-text.so 
16:01:32-14/04 zebraidx(9149) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-alvis.so 
16:01:32-14/04 zebraidx(9149) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-dom.so 
16:01:32-14/04 zebraidx(9149) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-grs-xml.so 
16:01:32-14/04 zebraidx(9149) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-grs-regx.so 
16:01:32-14/04 zebraidx(9149) [log] enabling shadow spec=/var/lib/koha/zebradb/biblios/shadow:4G 
16:01:32-14/04 zebraidx(9149) [log] cache_fname = /var/lib/koha/zebradb/biblios/shadow/cache 
16:01:32-14/04 zebraidx(9149) [log] dir /tmp/LyR00rNfXY/biblio 
16:01:32-14/04 zebraidx(9149) [log] update grs.sgml /tmp/LyR00rNfXY/biblio/exported_records 0 
16:01:32-14/04 zebraidx(9149) [log] update grs.sgml /tmp/LyR00rNfXY/biblio/exported_records 1697 
16:01:32-14/04 zebraidx(9149) [log] update grs.sgml /tmp/LyR00rNfXY/biblio/exported_records 5344 
16:01:32-14/04 zebraidx(9149) [log] update grs.sgml /tmp/LyR00rNfXY/biblio/exported_records 7781 
...
16:01:33-14/04 zebraidx(9149) [log] update grs.sgml /tmp/LyR00rNfXY/biblio/exported_records 500502 
16:01:33-14/04 zebraidx(9149) [log] update grs.sgml /tmp/LyR00rNfXY/biblio/exported_records 504080 
16:01:33-14/04 zebraidx(9149) [log] update grs.sgml /tmp/LyR00rNfXY/biblio/exported_records 508169 
16:01:33-14/04 zebraidx(9149) [log] update grs.sgml /tmp/LyR00rNfXY/biblio/exported_records 512223 
16:01:33-14/04 zebraidx(9149) [log] update grs.sgml /tmp/LyR00rNfXY/biblio/exported_records 516578 
16:01:33-14/04 zebraidx(9149) [log] update grs.sgml /tmp/LyR00rNfXY/biblio/exported_records 522977 
16:01:33-14/04 zebraidx(9149) [log] update grs.sgml /tmp/LyR00rNfXY/biblio/exported_records 527048 
16:01:33-14/04 zebraidx(9149) [log] Iterations: isam/dict 8/2 
16:01:33-14/04 zebraidx(9149) [log] Dict: inserts/updates/deletions: 1/0/1 
16:01:33-14/04 zebraidx(9149) [log] Records: 126 i/u/d 0/126/0 
16:01:33-14/04 zebraidx(9149) [log] zebra_stop: 0.79 0.44 0.02 
16:01:33-14/04 zebraidx(9151) [log] zebra_start 2.0.43 abd433d1a315576cf1f4a53f2c70365f9a76477f 
16:01:33-14/04 zebraidx(9151) [log] config /etc/koha/zebradb/zebra-biblios.cfg 
16:01:33-14/04 zebraidx(9151) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-grs-marc.so 
16:01:33-14/04 zebraidx(9151) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-safari.so 
16:01:33-14/04 zebraidx(9151) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-text.so 
16:01:33-14/04 zebraidx(9151) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-alvis.so 
16:01:33-14/04 zebraidx(9151) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-dom.so 
16:01:33-14/04 zebraidx(9151) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-grs-xml.so 
16:01:33-14/04 zebraidx(9151) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-grs-regx.so 
16:01:33-14/04 zebraidx(9151) [log] enabling shadow spec=/var/lib/koha/zebradb/biblios/shadow:4G 
16:01:33-14/04 zebraidx(9151) [log] cache_fname = /var/lib/koha/zebradb/biblios/shadow/cache 
16:01:33-14/04 zebraidx(9151) [log] zebra_stop: 0.27 0.00 0.03 
==================== 
CLEANING
  
At least, users still can do some search but they cannot search the authority records.. 
  
However, if Zebra Rebuild with –b –a –v the results are: 
  
koha at koha:/usr/webpages/koha-3.2.6/misc/migration_tools> ./rebuild_zebra.pl -a -b –v 
The result is 
  
Zebra configuration information 
================================ 
Zebra biblio directory      = /var/lib/koha/zebradb/biblios 
Zebra authorities directory = /var/lib/koha/zebradb/authorities 
Koha directory              = /usr/webpages/koha/intranet/cgi-bin 
BIBLIONUMBER in :     999$c 
BIBLIOITEMNUMBER in : 999$d 
================================ 
==================== 
exporting authority 
==================== 
.1....................................................................................................101................................................ 
Records exported: 149 
==================== 
REINDEXING zebra 
==================== 
16:29:29-14/04 zebraidx(9326) [log] zebra_start 2.0.43 abd433d1a315576cf1f4a53f2c70365f9a76477f 
16:29:29-14/04 zebraidx(9326) [log] config /etc/koha/zebradb/zebra-authorities-dom.cfg 
16:29:29-14/04 zebraidx(9326) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-grs-marc.so 
16:29:29-14/04 zebraidx(9326) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-safari.so 
16:29:29-14/04 zebraidx(9326) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-text.so 
16:29:29-14/04 zebraidx(9326) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-alvis.so 
16:29:29-14/04 zebraidx(9326) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-dom.so 
16:29:29-14/04 zebraidx(9326) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-grs-xml.so 
16:29:29-14/04 zebraidx(9326) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-grs-regx.so 
16:29:29-14/04 zebraidx(9326) [log] enabling shadow spec=/var/lib/koha/zebradb/authorities/shadow:1G 
16:29:29-14/04 zebraidx(9326) [log] cache_fname = /var/lib/koha/zebradb/authorities/shadow/cache 
16:29:29-14/04 zebraidx(9326) [log] dir /tmp/NMy5y10XyJ/authority 
16:29:29-14/04 zebraidx(9326) [log] /etc/koha/zebradb/authorities/etc/dom-config-marc.xml dom filter: loading config file /etc/koha/zebradb/authorities/etc/dom-config-marc.xml 
16:29:29-14/04 zebraidx(9326) [log] update dom./etc/koha/zebradb/authorities/etc/dom-config-marc.xml /tmp/NMy5y10XyJ/authority/exported_records 0 
16:29:29-14/04 zebraidx(9326) [log] update dom./etc/koha/zebradb/authorities/etc/dom-config-marc.xml /tmp/NMy5y10XyJ/authority/exported_records 377 
16:29:29-14/04 zebraidx(9326) [log] update dom./etc/koha/zebradb/authorities/etc/dom-config-marc.xml /tmp/NMy5y10XyJ/authority/exported_records 743 
16:29:29-14/04 zebraidx(9326) [log] update dom./etc/koha/zebradb/authorities/etc/dom-config-marc.xml /tmp/NMy5y10XyJ/authority/exported_records 1117 
16:29:29-14/04 zebraidx(9326) [log] update dom./etc/koha/zebradb/authorities/etc/dom-config-marc.xml /tmp/NMy5y10XyJ/authority/exported_records 1498 
...
16:29:29-14/04 zebraidx(9326) [log] update dom./etc/koha/zebradb/authorities/etc/dom-config-marc.xml /tmp/NMy5y10XyJ/authority/exported_records 37445 
16:29:29-14/04 zebraidx(9326) [log] update dom./etc/koha/zebradb/authorities/etc/dom-config-marc.xml /tmp/NMy5y10XyJ/authority/exported_records 37884 
16:29:29-14/04 zebraidx(9326) [log] update dom./etc/koha/zebradb/authorities/etc/dom-config-marc.xml /tmp/NMy5y10XyJ/authority/exported_records 61084 
16:29:29-14/04 zebraidx(9326) [log] update dom./etc/koha/zebradb/authorities/etc/dom-config-marc.xml /tmp/NMy5y10XyJ/authority/exported_records 61307 
16:29:29-14/04 zebraidx(9326) [log] update dom./etc/koha/zebradb/authorities/etc/dom-config-marc.xml /tmp/NMy5y10XyJ/authority/exported_records 61568 
16:29:29-14/04 zebraidx(9326) [log] Iterations: isam/dict 8/2 
16:29:29-14/04 zebraidx(9326) [log] Dict: inserts/updates/deletions: 1/0/1 
16:29:29-14/04 zebraidx(9326) [log] Records: 149 i/u/d 0/149/0 
16:29:29-14/04 zebraidx(9326) [log] zebra_stop: 0.35 0.14 0.04 
16:29:29-14/04 zebraidx(9328) [log] zebra_start 2.0.43 abd433d1a315576cf1f4a53f2c70365f9a76477f 
16:29:29-14/04 zebraidx(9328) [log] config /etc/koha/zebradb/zebra-authorities-dom.cfg 
16:29:29-14/04 zebraidx(9328) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-grs-marc.so 
16:29:29-14/04 zebraidx(9328) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-safari.so 
16:29:29-14/04 zebraidx(9328) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-text.so 
16:29:29-14/04 zebraidx(9328) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-alvis.so 
16:29:29-14/04 zebraidx(9328) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-dom.so 
16:29:29-14/04 zebraidx(9328) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-grs-xml.so 
16:29:29-14/04 zebraidx(9328) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-grs-regx.so 
16:29:29-14/04 zebraidx(9328) [log] enabling shadow spec=/var/lib/koha/zebradb/authorities/shadow:1G 
16:29:29-14/04 zebraidx(9328) [log] cache_fname = /var/lib/koha/zebradb/authorities/shadow/cache 
16:29:29-14/04 zebraidx(9328) [log] zebra_stop: 0.16 0.00 0.01 
==================== 
exporting biblio 
==================== 
.1....................................................................101.......................... 
Records exported: 126 
==================== 
REINDEXING zebra 
==================== 
16:29:30-14/04 zebraidx(9329) [log] zebra_start 2.0.43 abd433d1a315576cf1f4a53f2c70365f9a76477f 
16:29:30-14/04 zebraidx(9329) [log] config /etc/koha/zebradb/zebra-biblios.cfg 
16:29:30-14/04 zebraidx(9329) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-grs-marc.so 
16:29:30-14/04 zebraidx(9329) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-safari.so 
16:29:30-14/04 zebraidx(9329) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-text.so 
16:29:30-14/04 zebraidx(9329) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-alvis.so 
16:29:30-14/04 zebraidx(9329) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-dom.so 
16:29:30-14/04 zebraidx(9329) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-grs-xml.so 
16:29:30-14/04 zebraidx(9329) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-grs-regx.so 
16:29:30-14/04 zebraidx(9329) [log] enabling shadow spec=/var/lib/koha/zebradb/biblios/shadow:4G 
16:29:30-14/04 zebraidx(9329) [log] cache_fname = /var/lib/koha/zebradb/biblios/shadow/cache 
16:29:30-14/04 zebraidx(9329) [log] dir /tmp/NMy5y10XyJ/biblio 
16:29:30-14/04 zebraidx(9329) [log] update grs.marcxml.record /tmp/NMy5y10XyJ/biblio/exported_records 0 
16:29:30-14/04 zebraidx(9329) [log] update grs.marcxml.record /tmp/NMy5y10XyJ/biblio/exported_records 513 
16:29:30-14/04 zebraidx(9329) [log] update grs.marcxml.record /tmp/NMy5y10XyJ/biblio/exported_records 2054 
16:29:30-14/04 zebraidx(9329) [log] update grs.marcxml.record /tmp/NMy5y10XyJ/biblio/exported_records 3270 
16:29:30-14/04 zebraidx(9329) [log] update grs.marcxml.record /tmp/NMy5y10XyJ/biblio/exported_records 4917 
16:29:30-14/04 zebraidx(9329) [log] update grs.marcxml.record /tmp/NMy5y10XyJ/biblio/exported_records 6245 
……. 
16:29:31-14/04 zebraidx(9329) [log] update grs.marcxml.record /tmp/NMy5y10XyJ/biblio/exported_records 201055 
16:29:31-14/04 zebraidx(9329) [log] update grs.marcxml.record /tmp/NMy5y10XyJ/biblio/exported_records 202488 
16:29:31-14/04 zebraidx(9329) [log] update grs.marcxml.record /tmp/NMy5y10XyJ/biblio/exported_records 203913 
16:29:31-14/04 zebraidx(9329) [log] update grs.marcxml.record /tmp/NMy5y10XyJ/biblio/exported_records 205624 
16:29:31-14/04 zebraidx(9329) [log] update grs.marcxml.record /tmp/NMy5y10XyJ/biblio/exported_records 207300 
16:29:31-14/04 zebraidx(9329) [log] update grs.marcxml.record /tmp/NMy5y10XyJ/biblio/exported_records 209352 
16:29:31-14/04 zebraidx(9329) [log] update grs.marcxml.record /tmp/NMy5y10XyJ/biblio/exported_records 212248 
16:29:31-14/04 zebraidx(9329) [log] update grs.marcxml.record /tmp/NMy5y10XyJ/biblio/exported_records 213900 
16:29:31-14/04 zebraidx(9329) [log] Iterations: isam/dict 8/2 
16:29:31-14/04 zebraidx(9329) [log] Dict: inserts/updates/deletions: 1/0/1 
16:29:31-14/04 zebraidx(9329) [log] Records: 126 i/u/d 0/126/0 
16:29:31-14/04 zebraidx(9329) [log] zebra_stop: 0.72 0.39 0.01 
16:29:31-14/04 zebraidx(9331) [log] zebra_start 2.0.43 abd433d1a315576cf1f4a53f2c70365f9a76477f 
16:29:31-14/04 zebraidx(9331) [log] config /etc/koha/zebradb/zebra-biblios.cfg 
16:29:31-14/04 zebraidx(9331) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-grs-marc.so 
16:29:31-14/04 zebraidx(9331) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-safari.so 
16:29:31-14/04 zebraidx(9331) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-text.so 
16:29:31-14/04 zebraidx(9331) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-alvis.so 
16:29:31-14/04 zebraidx(9331) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-dom.so 
16:29:31-14/04 zebraidx(9331) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-grs-xml.so 
16:29:31-14/04 zebraidx(9331) [log] Loaded filter module /usr/lib64/idzebra-2.0/modules/mod-grs-regx.so 
16:29:31-14/04 zebraidx(9331) [log] enabling shadow spec=/var/lib/koha/zebradb/biblios/shadow:4G 
16:29:31-14/04 zebraidx(9331) [log] cache_fname = /var/lib/koha/zebradb/biblios/shadow/cache 
16:29:31-14/04 zebraidx(9331) [log] zebra_stop: 0.31 0.01 0.06 
==================== 
CLEANING 
==================== 
  
  
  
  
They did not show any error, but the search function both in OPAC and the main do not return any result(if using -r), or return results but as bellows: 
  
1. No title 
  Description: No holds allowed | Edit record | Edit items 
  
  
Can any of you please have any ideas why it happened like that ? 
  
Many thanks in advance. 
  
Ann
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20110414/96a59a52/attachment-0001.htm 


More information about the Koha mailing list