urx.chr error in upgrade from 2.2 to 3.0 zebra problems
I get this when running rebuild_zebra.pl -a -b -k -reset 16:27:34-02/03 zebraidx(9398) [log] zebra_start 2.0.26 /etc/koha/zebradb/zebra-biblios.cfg 16:27:34-02/03 zebraidx(9398) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-regx.so 16:27:34-02/03 zebraidx(9398) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-dom.so 16:27:34-02/03 zebraidx(9398) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-text.so 16:27:34-02/03 zebraidx(9398) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-alvis.so 16:27:34-02/03 zebraidx(9398) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-xml.so 16:27:34-02/03 zebraidx(9398) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-marc.so 16:27:34-02/03 zebraidx(9398) [log] enabling shadow spec=/var/lib/koha/zebradb/biblios/shadow:4G 16:27:34-02/03 zebraidx(9398) [log] cache_fname = /var/lib/koha/zebradb/biblios/shadow/cache 16:27:34-02/03 zebraidx(9398) [log] dir /tmp/M7XYaGkDy6/biblios 16:27:34-02/03 zebraidx(9398) [warn] urx.chr [No such file or directory] 16:27:34-02/03 zebraidx(9398) [warn] Failed to read character table urx.chr 16:27:34-02/03 zebraidx(9398) [warn] Record didn't contain match fields in (bib1,Local-number) 16:27:34-02/03 zebraidx(9398) [log] error grs.marcxml.record /tmp/M7XYaGkDy6/biblios/export 0 16:27:34-02/03 zebraidx(9398) [log] Iterations: isam/dict 2/2 16:27:34-02/03 zebraidx(9398) [log] Dict: inserts/updates/deletions: 1/0/1 16:27:34-02/03 zebraidx(9398) [log] Records: 0 i/u/d 0/0/0 16:27:34-02/03 zebraidx(9398) [log] zebra_stop: 0.21 0.08 0.02 16:27:34-02/03 zebraidx(9400) [log] zebra_start 2.0.26 /etc/koha/zebradb/zebra-biblios.cfg 16:27:34-02/03 zebraidx(9400) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-regx.so 16:27:34-02/03 zebraidx(9400) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-dom.so 16:27:34-02/03 zebraidx(9400) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-text.so 16:27:34-02/03 zebraidx(9400) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-alvis.so 16:27:34-02/03 zebraidx(9400) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-xml.so 16:27:34-02/03 zebraidx(9400) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-marc.so 16:27:34-02/03 zebraidx(9400) [log] enabling shadow spec=/var/lib/koha/zebradb/biblios/shadow:4G 16:27:34-02/03 zebraidx(9400) [log] cache_fname = /var/lib/koha/zebradb/biblios/shadow/cache 16:27:34-02/03 zebraidx(9400) [log] zebra_stop: 0.10 0.03 0.01 Why can't it find urx.chr? And is that the cause of not exporting any bibliios? Thanks Paul Davis -- View this message in context: http://www.nabble.com/urx.chr-error-in-upgrade-from-2.2-to-3.0-zebra-problem... Sent from the Koha - Discuss mailing list archive at Nabble.com.
Found my own problem. The last 30 books catalogued had the biblioitemnumber and the biblionumber out of sync. We had a glitch in cataloguing (cannot reproduce it) and the biblioitemnumber got increased by 1 over the biblionumber. I will restore my backup, fix the datas and re-run the scripts to move the database from 2.2.x to 3.0. Paul Davis Lynden Christian Schools Lynden, WA USA Pauley wrote:
I get this when running rebuild_zebra.pl -a -b -k -reset
16:27:34-02/03 zebraidx(9398) [log] zebra_start 2.0.26 /etc/koha/zebradb/zebra-biblios.cfg 16:27:34-02/03 zebraidx(9398) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-regx.so 16:27:34-02/03 zebraidx(9398) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-dom.so 16:27:34-02/03 zebraidx(9398) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-text.so 16:27:34-02/03 zebraidx(9398) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-alvis.so 16:27:34-02/03 zebraidx(9398) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-xml.so 16:27:34-02/03 zebraidx(9398) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-marc.so 16:27:34-02/03 zebraidx(9398) [log] enabling shadow spec=/var/lib/koha/zebradb/biblios/shadow:4G 16:27:34-02/03 zebraidx(9398) [log] cache_fname = /var/lib/koha/zebradb/biblios/shadow/cache 16:27:34-02/03 zebraidx(9398) [log] dir /tmp/M7XYaGkDy6/biblios 16:27:34-02/03 zebraidx(9398) [warn] urx.chr [No such file or directory] 16:27:34-02/03 zebraidx(9398) [warn] Failed to read character table urx.chr 16:27:34-02/03 zebraidx(9398) [warn] Record didn't contain match fields in (bib1,Local-number) 16:27:34-02/03 zebraidx(9398) [log] error grs.marcxml.record /tmp/M7XYaGkDy6/biblios/export 0 16:27:34-02/03 zebraidx(9398) [log] Iterations: isam/dict 2/2 16:27:34-02/03 zebraidx(9398) [log] Dict: inserts/updates/deletions: 1/0/1 16:27:34-02/03 zebraidx(9398) [log] Records: 0 i/u/d 0/0/0 16:27:34-02/03 zebraidx(9398) [log] zebra_stop: 0.21 0.08 0.02 16:27:34-02/03 zebraidx(9400) [log] zebra_start 2.0.26 /etc/koha/zebradb/zebra-biblios.cfg 16:27:34-02/03 zebraidx(9400) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-regx.so 16:27:34-02/03 zebraidx(9400) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-dom.so 16:27:34-02/03 zebraidx(9400) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-text.so 16:27:34-02/03 zebraidx(9400) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-alvis.so 16:27:34-02/03 zebraidx(9400) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-xml.so 16:27:34-02/03 zebraidx(9400) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-marc.so 16:27:34-02/03 zebraidx(9400) [log] enabling shadow spec=/var/lib/koha/zebradb/biblios/shadow:4G 16:27:34-02/03 zebraidx(9400) [log] cache_fname = /var/lib/koha/zebradb/biblios/shadow/cache 16:27:34-02/03 zebraidx(9400) [log] zebra_stop: 0.10 0.03 0.01
Why can't it find urx.chr? And is that the cause of not exporting any bibliios?
Thanks
Paul Davis
-- View this message in context: http://www.nabble.com/urx.chr-error-in-upgrade-from-2.2-to-3.0-zebra-problem... Sent from the Koha - Discuss mailing list archive at Nabble.com.
It didn't help. Here is from the zebradaemon output log. It seems to point to <record> in the marcxml in biblioitems: 20:36:50-03/03 zebrasrv(5060) [log] cache_fname = /var/lib/koha/zebradb/biblios/shadow/cache 20:36:50-03/03 zebrasrv(5060) [log] record 0 type XML 20:36:50-03/03 zebrasrv(5060) [log] 3203 bytes: <?xml version="1.0" encoding="UTF-8"?> <record xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.loc.gov/MARC21/slim http://w ... 20:36:50-03/03 zebrasrv(5060) [warn] urx.chr [No such file or directory] 20:36:50-03/03 zebrasrv(5060) [warn] Failed to read character table urx.chr 20:36:50-03/03 zebrasrv(5060) [warn] urx.chr [No such file or directory] 20:36:50-03/03 zebrasrv(5060) [warn] Failed to read character table urx.chr 20:36:50-03/03 zebrasrv(5060) [warn] urx.chr [No such file or directory] 20:36:50-03/03 zebrasrv(5060) [warn] Failed to read character table urx.chr 20:36:50-03/03 zebrasrv(5060) [warn] Record didn't contain match fields in (bib1,Local-number) 20:36:50-03/03 zebrasrv(5060) [log] error grs.xml <no file> 0 20:36:50-03/03 zebrasrv(5060) [log] Records: 0 i/u/d 0/0/0 20:36:50-03/03 zebrasrv(5060) [request] Extended Service: Update (failed) 20:36:50-03/03 zebrasrv(5060) [request] EsRequest ERROR 224 update_record failed Help Please. Paul Davis Lynden Christian Schools Pauley wrote:
I get this when running rebuild_zebra.pl -a -b -k -reset
16:27:34-02/03 zebraidx(9398) [log] zebra_start 2.0.26 /etc/koha/zebradb/zebra-biblios.cfg 16:27:34-02/03 zebraidx(9398) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-regx.so 16:27:34-02/03 zebraidx(9398) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-dom.so 16:27:34-02/03 zebraidx(9398) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-text.so 16:27:34-02/03 zebraidx(9398) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-alvis.so 16:27:34-02/03 zebraidx(9398) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-xml.so 16:27:34-02/03 zebraidx(9398) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-marc.so 16:27:34-02/03 zebraidx(9398) [log] enabling shadow spec=/var/lib/koha/zebradb/biblios/shadow:4G 16:27:34-02/03 zebraidx(9398) [log] cache_fname = /var/lib/koha/zebradb/biblios/shadow/cache 16:27:34-02/03 zebraidx(9398) [log] dir /tmp/M7XYaGkDy6/biblios 16:27:34-02/03 zebraidx(9398) [warn] urx.chr [No such file or directory] 16:27:34-02/03 zebraidx(9398) [warn] Failed to read character table urx.chr 16:27:34-02/03 zebraidx(9398) [warn] Record didn't contain match fields in (bib1,Local-number) 16:27:34-02/03 zebraidx(9398) [log] error grs.marcxml.record /tmp/M7XYaGkDy6/biblios/export 0 16:27:34-02/03 zebraidx(9398) [log] Iterations: isam/dict 2/2 16:27:34-02/03 zebraidx(9398) [log] Dict: inserts/updates/deletions: 1/0/1 16:27:34-02/03 zebraidx(9398) [log] Records: 0 i/u/d 0/0/0 16:27:34-02/03 zebraidx(9398) [log] zebra_stop: 0.21 0.08 0.02 16:27:34-02/03 zebraidx(9400) [log] zebra_start 2.0.26 /etc/koha/zebradb/zebra-biblios.cfg 16:27:34-02/03 zebraidx(9400) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-regx.so 16:27:34-02/03 zebraidx(9400) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-dom.so 16:27:34-02/03 zebraidx(9400) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-text.so 16:27:34-02/03 zebraidx(9400) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-alvis.so 16:27:34-02/03 zebraidx(9400) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-xml.so 16:27:34-02/03 zebraidx(9400) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-marc.so 16:27:34-02/03 zebraidx(9400) [log] enabling shadow spec=/var/lib/koha/zebradb/biblios/shadow:4G 16:27:34-02/03 zebraidx(9400) [log] cache_fname = /var/lib/koha/zebradb/biblios/shadow/cache 16:27:34-02/03 zebraidx(9400) [log] zebra_stop: 0.10 0.03 0.01
Why can't it find urx.chr? And is that the cause of not exporting any bibliios?
Thanks
Paul Davis
-- View this message in context: http://www.nabble.com/urx.chr-error-in-upgrade-from-2.2-to-3.0-zebra-problem... Sent from the Koha - Discuss mailing list archive at Nabble.com.
Hi, There are two separate issues going on. On Tue, Mar 4, 2008 at 12:32 AM, Pauley <pdavis@lyncs.org> wrote:
20:36:50-03/03 zebrasrv(5060) [warn] Failed to read character table urx.chr 20:36:50-03/03 zebrasrv(5060) [warn] urx.chr [No such file or directory]
The file that Zebra is looking for would have rules for indexing URLs. This is a minor error, i.e., you can continue testing your Koha 3 installation after you fix the problem below, but I will go ahead and add the missing file to git.
20:36:50-03/03 zebrasrv(5060) [warn] Record didn't contain match fields in (bib1,Local-number) 20:36:50-03/03 zebrasrv(5060) [log] error grs.xml <no file> 0
Since you're upgrading from 2.2.9 to 3.0, I suspect that your biblionumber and biblioitemnumber are stored in 090$c and 090$d, which Koha 3 expects by default to be in the 999 $c and $d. To tell Zebra this, go to the directory where you installed the Koha and Zebra configuration files and edit zebradb/marc_defs/marc21/biblios/record.abs. Comment out the following lines melm 999$c Local-Number:n,Local-Number:w,Local-Number:s melm 999$d biblioitemnumber:n,biblioitemnumber:w,biblioitemnumber:s and add melm 090$c Local-Number:n,Local-Number:w,Local-Number:s melm 090$d biblioitemnumber:n,biblioitemnumber:w,biblioitemnumber:s Then restart your Zebra server and try running rebuild_zebra.pl. For now, you may also want to edit your MARC frameworks to have biblioitems.biblioitemnumber and biblio.bilionumber be copied to the 090 for new records that you add. It looks like there should be a 22_to_30 upgrade script for moving the 090 to 999 for MARC21 databases -- I will add this as well. Regards, Galen -- Galen Charlton Koha Application Developer LibLime galen.charlton@liblime.com p: 1-888-564-2457 x709
participants (2)
-
Galen Charlton -
Pauley