[Koha] Problems with bulkmarkimport.pl or zebrasrv or something...

Br. Francis Therese Krautter br.ftherese at gmail.com
Fri Nov 6 20:35:14 NZDT 2009


Hello,

I can't seem to figure out what the problem is with my configuration, I
can't find any of my records when I do a search in the catalog.  I don't
receive any error messages after running:

sudo -u koha perl bulkmarcimport.pl -d -commit 1000 -file
/media/DossierCom/Informatique\ Service/Bibliotheque/bib5Final.mrc -c
UNIMARC -x 992 -y 2
output (truncated): 43100 MARC records done in 1474.46829676628 seconds

... other than a few duplicate records being found and ignored.  Then I run:

sudo -u koha perl -I /usr/share/koha/lib
/usr/share/koha/bin/migration_tools/rebuild_zebra.pl -v -b -w
output (truncated): Records exported: 43100
====================
REINDEXING zebra
====================
08:09:53-06/11 zebraidx(19300) [log] zebra_start 2.0.43
abd433d1a315576cf1f4a53f2c70365f9a76477f
08:09:53-06/11 zebraidx(19300) [log] config
/etc/koha/zebradb/zebra-biblios.cfg
08:09:53-06/11 zebraidx(19300) [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-grs-xml.so
08:09:53-06/11 zebraidx(19300) [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-dom.so
08:09:53-06/11 zebraidx(19300) [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-grs-regx.so
08:09:53-06/11 zebraidx(19300) [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-text.so
08:09:53-06/11 zebraidx(19300) [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-grs-marc.so
08:09:53-06/11 zebraidx(19300) [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-alvis.so
====================
CLEANING

once again, no problems, or errors.

Then I run:

sudo -u koha zebrasrv -f /etc/koha/koha-conf.xml

to start the server... no problem.

Now... To my knowledge, the records should appear either in the catalog or
the reservoir... but nothing is listed there at all!  when I do a search,
zebraserv picks it up:

08:10:50-06/11 [server] Starting server zebrasrv pid=19486
08:11:12-06/11 zebrasrv(1) [session] Session - OK 1
unix:/var/run/koha/zebradb/bibliosocket 19488
08:11:12-06/11 zebrasrv(1) [request] Auth idPass kohauser -
08:11:12-06/11 zebrasrv(1) [request] Init OK - ID:81 Name:ZOOM-C/YAZ
Version:3.0.50 9d63e51087691087c5adb6b2c6265b07e8ca0224
08:11:12-06/11 zebrasrv(1) [log] dict_lookup_grep:
(\x01\x0D)(th(o|\xC3\xB3|\xC3\xB2|\xC3\xB5|\xC3\xB4|\xC5\x8F|\xC7\xAB|\xC8\xAF|\xC5\x91|\xC7\x92|\xC8\x8D|\xC8\x8F)m(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)s)
08:11:12-06/11 zebrasrv(1) [request] Search biblios OK 0 1 1+0 RPN @attrset
Bib-1 thomas
08:11:13-06/11 zebrasrv(1) [session] Connection closed by client

The only way I am able to find records in my database at all is by looking
in the inventory section

Here is the MarcXML output of one of the records stored there:

<?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://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd"
    xmlns="http://www.loc.gov/MARC21/slim">

  <leader>00529nam a2200169Ia 4500</leader>
  <controlfield tag="008">091105s9999    xx            000 0 und
d</controlfield>
  <datafield tag="090" ind1=" " ind2=" ">
    <subfield code="a">27965</subfield>
  </datafield>
  <datafield tag="101" ind1=" " ind2=" ">
    <subfield code="a">fran&#xE7;ais</subfield>
  </datafield>
  <datafield tag="100" ind1=" " ind2=" ">
    <subfield code="a">20091106              frey50       </subfield>
  </datafield>
  <datafield tag="200" ind1=" " ind2=" ">
    <subfield code="b">LIV</subfield>
    <subfield code="f">TOURVILLE Henri de, Abb&#xE9;, 1842-1903</subfield>
    <subfield code="a"> Pens&#xE9;es diverses "Pi&#xE9;t&#xE9; confiante
"</subfield>
  </datafield>
  <datafield tag="210" ind1=" " ind2=" ">
    <subfield code="d">1920</subfield>
    <subfield code="c">Librairie V. Lecoffre/J. Gabalda</subfield>
    <subfield code="a">Paris</subfield>
  </datafield>
  <datafield tag="215" ind1=" " ind2=" ">
    <subfield code="a">138</subfield>
    <subfield code="d">19</subfield>
  </datafield>
  <datafield tag="700" ind1=" " ind2=" ">
    <subfield code="a">TOURVILLE Henri de, Abb&#xE9;, 1842-1903</subfield>
  </datafield>
  <datafield tag="801" ind1=" " ind2=" ">
    <subfield code="b">RIM</subfield>
  </datafield>
  <datafield tag="992" ind1=" " ind2=" ">
    <subfield code="2">473016</subfield>
  </datafield>
  <datafield tag="995" ind1=" " ind2=" ">
    <subfield code="o">0</subfield>
    <subfield code="f">8267</subfield>
    <subfield code="e">rayon</subfield>
    <subfield code="9">27658</subfield>
    <subfield code="c">RIM</subfield>
    <subfield code="2">0</subfield>
    <subfield code="b">RIM</subfield>
  </datafield>
  <controlfield tag="001">27965</controlfield>
</record>


I tink I may be having problems because I had to change the marc framework,
which was requiring the following fields and subfields by default (most of
which are irrelavant for my records according to their discription):

036$b 100$a 101$a 122$a 123$a 127$a 615$9 700$a 710$a and 801(any)

I noticed also the following error when running the framework validation (in
french, french install):

biblio et biblionumber Les champs du biblio.biblionumber et du
biblioitems.biblioitemnumber doivent être liés à un sous-champ MARC,


If you think you can help, I would greatly appreciate it,

BFT
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20091106/1a4307f5/attachment.htm 


More information about the Koha mailing list