[Koha] Koha 3.2.5 OPAC search won't work

hchen eponie at gmail.com
Sat Mar 26 10:59:13 NZDT 2011


I am new to both ubuntu/linux and Koha, and I installed ubuntu 10.10 and Koha
3.2.5 with Koha Live CD by Mizstik.
The Koha system is set to Unimarc during installation and two Unimarc
records were imported through Z39.50 servers for testing purpose. After some
minor tuning which I don't remember exactly, I can search the catalog in
librarian interface with no problem, but OPAC search find no result. One
record was added to a list and is accessible with the "lists" button on OPAC
front page, but it wasn't searchable, eliminating the possibility that the
record is suppressed in OPAC. 

I edited the unimarc record.abs as stated in 
http://koha.1045719.n5.nabble.com/Zebra-indexing-problem-of-unimarc-file-td3061900.html
this post 
etc/zebradb/marc_defs/unimarc/biblios/record.abs 

and try to rebuild zebra index:

$ /usr/share/koha/bin/migration_tools/rebuild_zebra.pl -b -r -v -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 :     001$@
BIBLIOITEMNUMBER in : 090$a
================================
skipping authorities
====================
exporting biblio
====================
1.
Records exported: 2
====================
REINDEXING zebra
====================
17:15:36-25/03 zebraidx(12613) [log] zebra_start 2.0.44
419ad759807269fdfa379799a051ed3a551c6541
17:15:36-25/03 zebraidx(12613) [log] config
/etc/koha/zebradb/zebra-biblios.cfg
17:15:36-25/03 zebraidx(12613) [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-grs-regx.so
17:15:36-25/03 zebraidx(12613) [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-dom.so
17:15:36-25/03 zebraidx(12613) [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-text.so
17:15:36-25/03 zebraidx(12613) [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-grs-xml.so
17:15:36-25/03 zebraidx(12613) [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-alvis.so
17:15:36-25/03 zebraidx(12613) [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-grs-marc.so
17:15:36-25/03 zebraidx(12613) [log] enabling shadow
spec=/var/lib/koha/zebradb/biblios/shadow:4G
17:15:36-25/03 zebraidx(12613) [log] cache_fname =
/var/lib/koha/zebradb/biblios/shadow/cache
17:15:36-25/03 zebraidx(12613) [log] zebra_stop: 0.00 0.00 0.00
17:15:36-25/03 zebraidx(12614) [log] zebra_start 2.0.44
419ad759807269fdfa379799a051ed3a551c6541
17:15:36-25/03 zebraidx(12614) [log] config
/etc/koha/zebradb/zebra-biblios.cfg
17:15:36-25/03 zebraidx(12614) [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-grs-regx.so
17:15:36-25/03 zebraidx(12614) [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-dom.so
17:15:36-25/03 zebraidx(12614) [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-text.so
17:15:36-25/03 zebraidx(12614) [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-grs-xml.so
17:15:36-25/03 zebraidx(12614) [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-alvis.so
17:15:36-25/03 zebraidx(12614) [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-grs-marc.so
17:15:36-25/03 zebraidx(12614) [log] dir /tmp/nbFA6R2rCg/biblio
17:15:36-25/03 zebraidx(12614) [warn] Index 'tpubdate' not found in
attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'Modified-code' not found in
attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'char-encoding' not found in
attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'char-encoding' not found in
attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'char-encoding' not found in
attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'script-Title' not found in
attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'Country-heading' not found in
attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'Illustration-code' not found in
attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'Content-type' not found in
attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'Content-type' not found in
attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'Content-type' not found in
attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'Content-type' not found in
attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'Conference-code' not found in
attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'Festschrift-indicator' not
found in attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'Index-indicator' not found in
attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'Literature-Code' not found in
attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'Biography-Code' not found in
attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'Type-Of-Serial' not found in
attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'Frequency-code' not found in
attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'Regularity-code' not found in
attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'Content-type' not found in
attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'Content-type' not found in
attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'Conference-publication-Code'
not found in attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'Title-Page-availability-Code'
not found in attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'Index-availability-Code' not
found in attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index
'Cumulative-Index-availability-Code' not found in attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'Video-mt' not found in
attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'Graphics-type' not found in
attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'Graphics-support' not found in
attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'Graphics-support' not found in
attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'Serials' not found in attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'Serials' not found in attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'Printed-music' not found in
attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'Printed-music' not found in
attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'Electronic-ressource' not found
in attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'Title-host' not found in
attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'title-host' not found in
attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'Title-host' not found in
attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'title-host' not found in
attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'lcn' not found in attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'lcn' not found in attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'popularity' not found in
attset(s)
17:15:36-25/03 zebraidx(12614) [warn] Index 'popularity' not found in
attset(s)
17:15:36-25/03 zebraidx(12614) [log] add grs.marcxml.record
/tmp/nbFA6R2rCg/biblio/exported_records 0
17:15:36-25/03 zebraidx(12614) [log] add grs.marcxml.record
/tmp/nbFA6R2rCg/biblio/exported_records 650
17:15:36-25/03 zebraidx(12614) [log] Iterations: isam/dict 455/212
17:15:36-25/03 zebraidx(12614) [log] Dict: inserts/updates/deletions:
212/0/0
17:15:36-25/03 zebraidx(12614) [log] Records: 2 i/u/d 2/0/0
17:15:36-25/03 zebraidx(12614) [log] zebra_stop: 0.43 0.00 0.01
====================
CLEANING
====================

I supposed with all these warning the index created by zebraserver may not
function properly thus the search doesn't work, but searching in librarian's
interface is fine. There could be other reasons. Does anyone know how to fix
it?

Another thing is, I installed the whole system with Live CD and the default
koha user seems to be "root", for I find two zebra server daemon executed by
root account. It seems that these two process somehow create or modify files
in  /var/lock/koha/zebradb/ for every time I turn on the computer and the
owner of these files would root again even though they were chown last time,
and it cause  [Permission denied] while zebra reindexing. Is there some
guide for changing koha user properly?


--
View this message in context: http://koha.1045719.n5.nabble.com/Koha-3-2-5-OPAC-search-won-t-work-tp4264921p4264921.html
Sent from the Koha - Discuss mailing list archive at Nabble.com.


More information about the Koha mailing list