koha koha-3.00.00 on linux red hat 5 Hello all I have a question about zebra indexing. How can I check if this opion is installed? Now I use the NOZEBRA mode, but I would like to use the ZEBRA mode. I try this: *./rebuild_zebra.pl -b -w Zebra configuration information ================================ Zebra biblio directory = /var/lib/koha/zebradb/biblios Zebra authorities directory = /var/lib/koha/zebradb/authorities Koha directory = /usr/share/koha/intranet/cgi-bin BIBLIONUMBER in : 999$c BIBLIOITEMNUMBER in : 999$d ================================ skipping authorities ==================== exporting biblio ==================== 201.................................................................................................... Records exported: 206 ==================== REINDEXING zebra ==================== 11:24:39-29/12 zebraidx(10427) [log] zebra_start 2.0.36 /etc/koha/zebradb/zebra-biblios.cfg 11:24:40-29/12 zebraidx(10427) [log] dir /tmp/5nkEPik5eG/biblio 11:24:40-29/12 zebraidx(10427) [warn] No such record type: grs.marcxml.record 11:24:40-29/12 zebraidx(10427) [log] Iterations: isam/dict 2/2 11:24:40-29/12 zebraidx(10427) [log] Dict: inserts/updates/deletions: 1/0/1 11:24:40-29/12 zebraidx(10427) [log] Records: 0 i/u/d 0/0/0 11:24:40-29/12 zebraidx(10427) [log] zebra_stop: 0.13 0.00 0.00 ==================== CLEANING ==================== * But It seam not to run isn't it? Thanks to help
2009/12/29 Luís Díaz <ldiaz@greendata.es>:
koha koha-3.00.00 on linux red hat 5
Hello all I have a question about zebra indexing. How can I check if this opion is installed? Now I use the NOZEBRA mode, but I would like to use the ZEBRA mode.
I try this: ./rebuild_zebra.pl -b -w Zebra configuration information ================================ Zebra biblio directory = /var/lib/koha/zebradb/biblios
<snip> You get to select "zebra" or "nozebra" at the time of Koha Installation through web interface as per Koha installation docs. As you said earlier that you are using "nozebra", there's no use of running "./rebuild_zebra.pl -b -w". ( List members please CMIIAW ). So you should try "rebuild_nozebra.pl" instead. Hope That Helps. -- With Regards Abhishek Amberkar http://www.kohaindia.org/ RDG Microelectronics Pvt. Ltd. Mumbai, India
Hello yes at the beginning I use nozebra, but now I have this deamons running: ps ax |grep koha 14499 ? Ss 0:00 daemon --name=koha-zebraqueue-ctl-koha --errlog=/var/log/koha/koha-zebraqueue.err --stdout=/var/log/koha/koha-zebraqueue.log --output=/var/log/koha/koha-zebraqueue-output.log --verbose=1 --respawn --delay=30 --user=koha koha -- perl -I /usr/share/koha/lib /usr/share/koha/bin/zebraqueue_daemon.pl -f /etc/koha/koha-conf.xml 14500 ? S 0:00 perl -I /usr/share/koha/lib /usr/share/koha/bin/ zebraqueue_daemon.pl -f /etc/koha/koha-conf.xml 14507 ? Ss 0:00 daemon --name=koha-zebra-ctl.koha --errlog=/var/log/koha/koha-zebradaemon.err --stdout=/var/log/koha/koha-zebradaemon.log --output=/var/log/koha/koha-zebradaemon-output.log --verbose=1 --respawn --delay=30 --user=koha koha -- /usr/local/bin/zebrasrv -f /etc/koha/koha-conf.xml 14508 ? S 0:00 /usr/local/bin/zebrasrv -f /etc/koha/koha-conf.xml and then I execute this: /usr/share/koha/bin/migration_tools/rebuild_zebra.pl -r -a -b Zebra configuration information ================================ Zebra biblio directory = /var/lib/koha/zebradb/biblios Zebra authorities directory = /var/lib/koha/zebradb/authorities Koha directory = /usr/share/koha/intranet/cgi-bin BIBLIONUMBER in : 999$c BIBLIOITEMNUMBER in : 999$d ================================ ==================== exporting authority ==================== Records exported: 0 ==================== REINDEXING zebra ==================== ==================== exporting biblio ==================== 201.................................................................................................... Records exported: 206 ==================== REINDEXING zebra ==================== 08:31:46-07/01 zebraidx(14561) [log] zebra_start 2.0.36 /etc/koha/zebradb/zebra-biblios.cfg 08:31:46-07/01 zebraidx(14561) [log] enabling shadow spec=/var/lib/koha/zebradb/biblios/shadow:4G 08:31:46-07/01 zebraidx(14561) [log] cache_fname = /var/lib/koha/zebradb/biblios/shadow/cache 08:31:46-07/01 zebraidx(14561) [log] zebra_stop: 0.04 0.00 0.00 08:31:46-07/01 zebraidx(14562) [log] zebra_start 2.0.36 /etc/koha/zebradb/zebra-biblios.cfg 08:31:46-07/01 zebraidx(14562) [log] enabling shadow spec=/var/lib/koha/zebradb/biblios/shadow:4G 08:31:46-07/01 zebraidx(14562) [log] cache_fname = /var/lib/koha/zebradb/biblios/shadow/cache 08:31:46-07/01 zebraidx(14562) [log] dir /tmp/8FWBi8U3GG/biblio 08:31:46-07/01 zebraidx(14562) [warn] No such record type: grs.marcxml.record 08:31:46-07/01 zebraidx(14562) [log] Iterations: isam/dict 64/26 08:31:46-07/01 zebraidx(14562) [log] Dict: inserts/updates/deletions: 26/0/0 08:31:46-07/01 zebraidx(14562) [log] Records: 0 i/u/d 0/0/0 08:31:46-07/01 zebraidx(14562) [log] zebra_stop: 0.06 0.00 0.00 08:31:46-07/01 zebraidx(14565) [log] zebra_start 2.0.36 /etc/koha/zebradb/zebra-biblios.cfg 08:31:46-07/01 zebraidx(14565) [log] enabling shadow spec=/var/lib/koha/zebradb/biblios/shadow:4G 08:31:46-07/01 zebraidx(14565) [log] cache_fname = /var/lib/koha/zebradb/biblios/shadow/cache 08:31:46-07/01 zebraidx(14565) [log] zebra_stop: 0.01 0.00 0.00 ==================== CLEANING ==================== But the result is always the same, the REFINE options do not appear in the opac screen. 2010/1/1 Abhishek Amberkar [अभिषेक] <abhishek.amberkar@gmail.com>
2009/12/29 Luís Díaz <ldiaz@greendata.es>:
koha koha-3.00.00 on linux red hat 5
Hello all I have a question about zebra indexing. How can I check if this opion is installed? Now I use the NOZEBRA mode, but I would like to use the ZEBRA mode.
I try this: ./rebuild_zebra.pl -b -w Zebra configuration information ================================ Zebra biblio directory = /var/lib/koha/zebradb/biblios
<snip>
You get to select "zebra" or "nozebra" at the time of Koha Installation through web interface as per Koha installation docs. As you said earlier that you are using "nozebra", there's no use of running "./rebuild_zebra.pl -b -w". ( List members please CMIIAW ). So you should try "rebuild_nozebra.pl" instead.
Hope That Helps. -- With Regards Abhishek Amberkar
http://www.kohaindia.org/ RDG Microelectronics Pvt. Ltd. Mumbai, India _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Luís Díaz a écrit :
Hello ==================== REINDEXING zebra ==================== 08:31:46-07/01 zebraidx(14562) [warn] No such record type: grs.marcxml.record 08:31:46-07/01 zebraidx(14562) [log] Iterations: isam/dict 64/26 08:31:46-07/01 zebraidx(14562) [log] Dict: inserts/updates/deletions: 26/0/0 08:31:46-07/01 zebraidx(14562) [log] Records: 0 i/u/d 0/0/0
Those lines in your logs show that you don't have indexed anything in zebra. If you find something when searching, then you're still using NoZebra (and you don't have facets, that's not available with NoZebra). Go to sysprefs, set NoZebra to OFF, and you shouldn't find anything when searching (because zebra DB is empty) Why does the reindexing fail ? I can't say, probably a zebra setup problem. Good luck, it's always a pain to set zebra. Feel free to go to the chat, you should get more interactive help here ! HTH -- Paul POULAIN http://www.biblibre.com Expert en Logiciels Libres pour l'info-doc Tel : (33) 4 91 81 35 08
Hello Paul ok I switch to OFF the nozebra options, but I have the same results... The log are clear, nothing in the .err files in /var/log/koha This message: No such record type: grs.marcxml.record it means that the zebra DB is empty? In this directory I have some files: -rw-rw-r-- 1 koha koha 8192 ene 7 09:28 dict-0.mf -rw-rw-r-- 1 koha koha 4096 ene 7 09:28 gmatch-0.mf -rw-rw-r-- 1 koha koha 33632 ene 7 09:28 isambA-0.mf -rw-rw-r-- 1 koha koha 6528 ene 7 09:28 recdA-0.mf -rw-rw-r-- 1 koha koha 256 ene 7 09:28 reci-0.mf [koha@greenbck register]$ pwd /var/lib/koha/zebradb/biblios/register Just before I stop zebra deamons and I drop all the files into this directory and then restart zebra demons, and reindex... 2010/1/7 Paul Poulain <paul.poulain@biblibre.com>
Luís Díaz a écrit :
Hello ==================== REINDEXING zebra ====================
08:31:46-07/01 zebraidx(14562) [warn] No such record type: grs.marcxml.record 08:31:46-07/01 zebraidx(14562) [log] Iterations: isam/dict 64/26 08:31:46-07/01 zebraidx(14562) [log] Dict: inserts/updates/deletions: 26/0/0 08:31:46-07/01 zebraidx(14562) [log] Records: 0 i/u/d 0/0/0
Those lines in your logs show that you don't have indexed anything in zebra. If you find something when searching, then you're still using NoZebra (and you don't have facets, that's not available with NoZebra). Go to sysprefs, set NoZebra to OFF, and you shouldn't find anything when searching (because zebra DB is empty) Why does the reindexing fail ? I can't say, probably a zebra setup problem. Good luck, it's always a pain to set zebra. Feel free to go to the chat, you should get more interactive help here !
HTH
-- Paul POULAIN http://www.biblibre.com Expert en Logiciels Libres pour l'info-doc Tel : (33) 4 91 81 35 08
Hello all I add the option -x to the rebuild script and now it's ok I have the refine options. Thanks a lot to all Cheers 2010/1/1 Abhishek Amberkar [अभिषेक] <abhishek.amberkar@gmail.com>
2009/12/29 Luís Díaz <ldiaz@greendata.es>:
koha koha-3.00.00 on linux red hat 5
Hello all I have a question about zebra indexing. How can I check if this opion is installed? Now I use the NOZEBRA mode, but I would like to use the ZEBRA mode.
I try this: ./rebuild_zebra.pl -b -w Zebra configuration information ================================ Zebra biblio directory = /var/lib/koha/zebradb/biblios
<snip>
You get to select "zebra" or "nozebra" at the time of Koha Installation through web interface as per Koha installation docs. As you said earlier that you are using "nozebra", there's no use of running "./rebuild_zebra.pl -b -w". ( List members please CMIIAW ). So you should try "rebuild_nozebra.pl" instead.
Hope That Helps. -- With Regards Abhishek Amberkar
http://www.kohaindia.org/ RDG Microelectronics Pvt. Ltd. Mumbai, India _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
participants (3)
-
Abhishek Amberkar [अभिषेक] -
Luís Díaz -
Paul Poulain