Koha upgrade to from 3.0.6 to 3.2 and Zebra
Hi, I'm doing an upgrade to 3.2 from 3.0.6. Everything seemed ok with all information aparently in place. I'm now trying to turn on Zebra. NoZebra works.
From what I've read I need to run
perl -I /usr/share/koha/lib /usr/share/koha/bin/migration_tools/ rebuild_zebra.pl -b -a but I got this 11:16:07-09/12 zebraidx(2400) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/authorities/norm..LCK [No such file or directory] 11:16:07-09/12 zebraidx(2400) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/authorities/shadow..LCK [No such file or directory] 11:16:07-09/12 zebraidx(2400) [fatal] Could not select database authorities errCode=109 11:16:07-09/12 zebraidx(2401) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/authorities/norm..LCK [No such file or directory] 11:16:07-09/12 zebraidx(2401) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/authorities/shadow..LCK [No such file or directory] 11:16:07-09/12 zebraidx(2401) [fatal] Could not select database authorities errCode=109 11:16:14-09/12 zebraidx(2402) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/norm..LCK [No such file or directory] 11:16:14-09/12 zebraidx(2402) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/shadow..LCK [No such file or directory] 11:16:14-09/12 zebraidx(2402) [fatal] Could not select database biblios errCode=109 11:16:14-09/12 zebraidx(2403) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/norm..LCK [No such file or directory] 11:16:14-09/12 zebraidx(2403) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/shadow..LCK [No such file or directory] 11:16:14-09/12 zebraidx(2403) [fatal] Could not select database biblios errCode=109 Can you help? System info bellow. Thank you very much! Best wishes, Hugo Rodrigues, librarian Server information Koha version: 3.02.00.004 OS version ('uname -a'): Linux koha-test 2.6.32-26-generic #48-Ubuntu SMP Wed Nov 24 09:00:03 UTC 2010 i686 GNU/Linux Perl interpreter: /usr/bin/perl Perl version: 5.010001 Perl @INC: /usr/share/koha/lib /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . MySQL version: mysql Ver 14.14 Distrib 5.1.41, for debian-linux-gnu (i486) using readline 6.1 Apache version: Server version: Apache/2.2.14 (Ubuntu) Zebra version: Zebra 2.0.44 (C) 1994-2010, Index Data ApS Zebra is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. SHA1 ID: 419ad759807269fdfa379799a051ed3a551c6541 Using ICU
2010/12/9 Hugo Rodrigues <hugoseixasr@gmail.com>
Hi,
I'm doing an upgrade to 3.2 from 3.0.6.
Everything seemed ok with all information aparently in place. I'm now trying to turn on Zebra. NoZebra works.
From what I've read I need to run
perl -I /usr/share/koha/lib /usr/share/koha/bin/migration_tools/ rebuild_zebra.pl -b -a
but I got this
11:16:07-09/12 zebraidx(2400) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/authorities/norm..LCK [No such file or directory] 11:16:07-09/12 zebraidx(2400) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/authorities/shadow..LCK [No such file or directory] 11:16:07-09/12 zebraidx(2400) [fatal] Could not select database authorities errCode=109 11:16:07-09/12 zebraidx(2401) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/authorities/norm..LCK [No such file or directory] 11:16:07-09/12 zebraidx(2401) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/authorities/shadow..LCK [No such file or directory] 11:16:07-09/12 zebraidx(2401) [fatal] Could not select database authorities errCode=109 11:16:14-09/12 zebraidx(2402) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/norm..LCK [No such file or directory] 11:16:14-09/12 zebraidx(2402) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/shadow..LCK [No such file or directory] 11:16:14-09/12 zebraidx(2402) [fatal] Could not select database biblios errCode=109 11:16:14-09/12 zebraidx(2403) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/norm..LCK [No such file or directory] 11:16:14-09/12 zebraidx(2403) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/shadow..LCK [No such file or directory] 11:16:14-09/12 zebraidx(2403) [fatal] Could not select database biblios errCode=109
Have a look at this FAQ: http://koha-community.org/documentation/faq/searching/ Especially #4 as this looks to be a permissions problem. Kind Regards, Chris
Chris Nighswonger schreef op do 09-12-2010 om 08:27 [-0500]:
11:16:14-09/12 zebraidx(2403) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/norm..LCK [No such file or directory] 11:16:14-09/12 zebraidx(2403) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/shadow..LCK [No such file or directory] 11:16:14-09/12 zebraidx(2403) [fatal] Could not select database biblios errCode=109
Especially #4 as this looks to be a permissions problem.
I would actually suggest that the directories are missing (otherwise it would say 'permission denied'.) try running: sudo mkdir -p /var/lock/koha/zebradb/biblios sudo mkdir -p /var/lock/koha/zebradb/authorities sudo chown koha:koha /var/lock/koha/zebradb/biblios sudo chown koha:koha /var/lock/koha/zebradb/authorities (replace the koha:koha with the name and group that your zebra processes run as.) -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D
Dear friends, still trying to get zebra running. I chose to do a clean test install with latest version through apt-get method. Now, when I do rebuild_zebra for 1st time my only error message is 16:41:11-15/12 zebraidx(13866) [warn] Record didn't contain match fields in (bib1,Local-number) Any suggestions? More informations and details below and attached if you have the time. Thank you for your patience. Hugo Rodrigues, librarian Metropolitana, Lisbon, Portugal Unimarc Server information Koha version: 3.03.00.004 OS version ('uname -a'): Linux koha 2.6.32-26-generic #48-Ubuntu SMP Wed Nov 24 09:00:03 UTC 2010 i686 GNU/Linux Perl interpreter: /usr/bin/perl Perl version: 5.010001 Perl @INC: /usr/share/koha/lib /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . MySQL version: mysql Ver 14.14 Distrib 5.1.41, for debian-linux-gnu (i486) using readline 6.1 Apache version: Server version: Apache/2.2.14 (Ubuntu) Zebra version: Zebra 2.0.44 (C) 1994-2010, Index Data ApS Zebra is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. SHA1 ID: 419ad759807269fdfa379799a051ed3a551c6541 Using ICU 2010/12/9 Robin Sheat <robin@catalyst.net.nz>
Chris Nighswonger schreef op do 09-12-2010 om 08:27 [-0500]:
11:16:14-09/12 zebraidx(2403) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/norm..LCK [No such file or directory] 11:16:14-09/12 zebraidx(2403) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/shadow..LCK [No such file or directory] 11:16:14-09/12 zebraidx(2403) [fatal] Could not select database biblios errCode=109
Especially #4 as this looks to be a permissions problem.
I would actually suggest that the directories are missing (otherwise it would say 'permission denied'.)
try running: sudo mkdir -p /var/lock/koha/zebradb/biblios sudo mkdir -p /var/lock/koha/zebradb/authorities sudo chown koha:koha /var/lock/koha/zebradb/biblios sudo chown koha:koha /var/lock/koha/zebradb/authorities
(replace the koha:koha with the name and group that your zebra processes run as.)
-- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D
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, 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 -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 -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
Dear Robin, Dear all, here are the results. Any thoughts? Thank you for your help. Hugo Rodrigues 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>
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, 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 -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 -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
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
2010/12/16 Hugo Rodrigues <hugoseixasr@gmail.com>:
Dear Robin, Dear all,
here are the results. Any thoughts? Thank you for your help. ... 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]
# chown -R koha:koha /var/lock/koha # chown -R koha:koha /var/lib/koha # chown -R koha:koha /var/log/koha And then re-run as koha user. To+
Op donderdag 16 december 2010 23:28:57 schreef Hugo Rodrigues:
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: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]
mkdir -p /var/lock/koha/zebradb/biblios /var/lock/koha/zebradb/authorities chown -R koha:koha /var/lock/koha/ -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204
participants (5)
-
Chris Nighswonger -
Hugo Rodrigues -
LAURENT Henri-Damien -
Robin Sheat -
Tomas Cohen Arazi