Le 16/12/2010 11:28, Hugo Rodrigues a écrit :
Dear Robin, Dear all,
here are the results. Any thoughts? Thank you for your help.
Hugo Rodrigues Check the permissions on /var/lib/koha/zebradb/biblios /var/lib/koha/zebradb/authorities and all the files in those directories. user should be able to write on that. Then check that you have all the required directories. And that they are all writable for designed user.
Other solution... Launch the script as root... But this shold not be used on a production system. Hopes that helps. -- Henri-Damien LAURENT
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 : 001$@ BIBLIOITEMNUMBER in : 090$a ================================ ==================== exporting authority ==================== 1...............................................................................101.............................................................................201.............................................................................301............................................. Records exported: 346 ==================== REINDEXING zebra ==================== 10:04:20-16/12 zebraidx(4529) [log] zebra_start 2.0.44 419ad759807269fdfa379799a051ed3a551c6541 10:04:20-16/12 zebraidx(4529) [log] config /etc/koha/zebradb/zebra-authorities-dom.cfg 10:04:20-16/12 zebraidx(4529) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-marc.so 10:04:20-16/12 zebraidx(4529) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-text.so 10:04:20-16/12 zebraidx(4529) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-xml.so 10:04:20-16/12 zebraidx(4529) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-alvis.so 10:04:20-16/12 zebraidx(4529) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-dom.so 10:04:20-16/12 zebraidx(4529) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-regx.so 10:04:20-16/12 zebraidx(4529) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/authorities/norm..LCK [No such file or directory] 10:04:20-16/12 zebraidx(4529) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/authorities/shadow..LCK [No such file or directory] 10:04:20-16/12 zebraidx(4529) [fatal] Could not select database authorities errCode=109 10:04:20-16/12 zebraidx(4530) [log] zebra_start 2.0.44 419ad759807269fdfa379799a051ed3a551c6541 10:04:20-16/12 zebraidx(4530) [log] config /etc/koha/zebradb/zebra-authorities-dom.cfg 10:04:20-16/12 zebraidx(4530) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-marc.so 10:04:20-16/12 zebraidx(4530) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-text.so 10:04:20-16/12 zebraidx(4530) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-xml.so 10:04:20-16/12 zebraidx(4530) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-alvis.so 10:04:20-16/12 zebraidx(4530) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-dom.so 10:04:20-16/12 zebraidx(4530) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-regx.so 10:04:20-16/12 zebraidx(4530) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/authorities/norm..LCK [No such file or directory] 10:04:20-16/12 zebraidx(4530) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/authorities/shadow..LCK [No such file or directory] 10:04:20-16/12 zebraidx(4530) [fatal] Could not select database authorities errCode=109 10:04:20-16/12 zebraidx(4531) [log] zebra_start 2.0.44 419ad759807269fdfa379799a051ed3a551c6541 10:04:20-16/12 zebraidx(4531) [log] config /etc/koha/zebradb/zebra-authorities-dom.cfg 10:04:20-16/12 zebraidx(4531) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-marc.so 10:04:20-16/12 zebraidx(4531) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-text.so 10:04:20-16/12 zebraidx(4531) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-xml.so 10:04:20-16/12 zebraidx(4531) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-alvis.so 10:04:20-16/12 zebraidx(4531) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-dom.so 10:04:20-16/12 zebraidx(4531) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-regx.so 10:04:20-16/12 zebraidx(4531) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/authorities/norm..LCK [No such file or directory] 10:04:20-16/12 zebraidx(4531) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/authorities/shadow..LCK [No such file or directory] 10:04:20-16/12 zebraidx(4531) [fatal] Could not select database authorities errCode=109 ==================== exporting biblio ==================== 1...............................................................................101.............................................................................201............................................................... Records exported: 264 ==================== REINDEXING zebra ==================== 10:04:24-16/12 zebraidx(4532) [log] zebra_start 2.0.44 419ad759807269fdfa379799a051ed3a551c6541 10:04:24-16/12 zebraidx(4532) [log] config /etc/koha/zebradb/zebra-biblios.cfg 10:04:24-16/12 zebraidx(4532) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-marc.so 10:04:24-16/12 zebraidx(4532) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-text.so 10:04:24-16/12 zebraidx(4532) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-xml.so 10:04:24-16/12 zebraidx(4532) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-alvis.so 10:04:24-16/12 zebraidx(4532) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-dom.so 10:04:24-16/12 zebraidx(4532) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-regx.so 10:04:24-16/12 zebraidx(4532) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/norm..LCK [No such file or directory] 10:04:24-16/12 zebraidx(4532) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/shadow..LCK [No such file or directory] 10:04:24-16/12 zebraidx(4532) [fatal] Could not select database biblios errCode=109 10:04:24-16/12 zebraidx(4533) [log] zebra_start 2.0.44 419ad759807269fdfa379799a051ed3a551c6541 10:04:24-16/12 zebraidx(4533) [log] config /etc/koha/zebradb/zebra-biblios.cfg 10:04:24-16/12 zebraidx(4533) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-marc.so 10:04:24-16/12 zebraidx(4533) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-text.so 10:04:24-16/12 zebraidx(4533) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-xml.so 10:04:24-16/12 zebraidx(4533) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-alvis.so 10:04:24-16/12 zebraidx(4533) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-dom.so 10:04:24-16/12 zebraidx(4533) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-regx.so 10:04:24-16/12 zebraidx(4533) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/norm..LCK [No such file or directory] 10:04:24-16/12 zebraidx(4533) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/shadow..LCK [No such file or directory] 10:04:24-16/12 zebraidx(4533) [fatal] Could not select database biblios errCode=109 10:04:24-16/12 zebraidx(4534) [log] zebra_start 2.0.44 419ad759807269fdfa379799a051ed3a551c6541 10:04:24-16/12 zebraidx(4534) [log] config /etc/koha/zebradb/zebra-biblios.cfg 10:04:24-16/12 zebraidx(4534) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-marc.so 10:04:24-16/12 zebraidx(4534) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-text.so 10:04:24-16/12 zebraidx(4534) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-xml.so 10:04:24-16/12 zebraidx(4534) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-alvis.so 10:04:24-16/12 zebraidx(4534) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-dom.so 10:04:24-16/12 zebraidx(4534) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-regx.so 10:04:24-16/12 zebraidx(4534) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/norm..LCK [No such file or directory] 10:04:24-16/12 zebraidx(4534) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/shadow..LCK [No such file or directory] 10:04:24-16/12 zebraidx(4534) [fatal] Could not select database biblios errCode=109 ==================== CLEANING
2010/12/15 Robin Sheat <robin@catalyst.net.nz <mailto:robin@catalyst.net.nz>>
Hugo Rodrigues schreef op wo 15-12-2010 om 16:50 [+0000]: > 16:41:11-15/12 zebraidx(13866) [warn] Record didn't contain match > fields in (bib1,Local-number)
This usually means that there's some error in the MARC data that is causing zebra to spit the dummy.
Try doing a rebuild with verbose on. If you're using the packages at debian.koha-community.org <http://debian.koha-community.org>, as it sounds like you might be, this is the (long) command:
sudo -u '*name*-koha' -H env PERL5LIB=/usr/share/koha/lib KOHA_CONF='/etc/koha/sites/*name*/koha-conf.xml' /usr/share/koha/bin/migration_tools/rebuild_zebra.pl <http://rebuild_zebra.pl> -b -a -v -r
replace '*name*' with the name of the library if you used koha-create, if you just used the 'koha' package, then the command is more like:
sudo -u 'koha' -H env PERL5LIB=/usr/share/koha/lib KOHA_CONF='/etc/koha/koha-conf.xml' /usr/share/koha/bin/migration_tools/rebuild_zebra.pl <http://rebuild_zebra.pl> -b -a -v -r
or similar, that was from memory.
This will give you an idea of what's happening. It may be you need to rebuild with XML mode (-x) to make it work. I plan to make this an option for the packages some time soon.
-- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha