[Koha-devel] Zebra re-indexing issue
Paul
paul.a at aandc.org
Thu Feb 14 00:38:09 CET 2013
At 06:42 AM 2/14/2013 +1300, Chris Cormack wrote:
>The important thing to ask before recommending anything like this is did
>you install via the packages or not.
>Given the initial email containing commands that are provided by the
>packages, I am pretty sure it's a package install. In that case definitely
>do NOT try what Paul suggests it will only make things worse.
My apologies Chris, and thanks for catching it. But I'm very curious as to
why this might be hazardous in a package environment (we're tarball users
as I think you know.)
I have to re-index at least once an hour when our cataloguers are working
(see bug 9511) and there might be others like me. Does Zebra from a
"package" install catch the deleted/overwritten biblios? I genuinely had
missed any announcement of Zebra functionality being different - mea culpa.
Thanks and best regards - Paul
P.S. I would add that Dr Rostam's library system is still giving a 404 for
any search, so maybe someone else can assist him?
>Chris
>
>Paul <paul.a at aandc.org> wrote:
>At 04:44 PM 2/13/2013 +0300, Dilan M. Rostam wrote:
>Thank you Paul,Ã
>We use MARC21 now I have checked, and I ranÃ
>I got , I am not sure what it means,Ã
>sudo koha-rebuild-zebra -b -r -v -x à library
>Cannot specify -r or -s if -z is specified
>Please do
>'/usr/share/koha/bin/migration_tools/rebuild_<http://zebra.pl>zebra.pl
>--help' to
>see usage.
>
>
>Why are you trying to index as 'root'? If you have used the default name
>"koha" as owner of the process during installation, please try:
>
>you at server:$ su koha
>[enter password]
>koha at server:$ cd /usr/share/koha
>koha at server:/usr/share/koha$
>./bin/migration_tools/rebuild_<http://zebra.pl>zebra.pl -b -r -
> v -x
>koha at server:/usr/share/koha$
>./bin/migration_tools/rebuild_<http://zebra.pl>zebra.pl -a -r -v
>
>The -z option is for incremental indexing, normally used in your cron job
>to update an existing Zebra index.
>
>Paul
>
>
>
>On Wed, Feb 13, 2013 at 1:11 AM, Paul <paul.a at aandc.org> wrote:
>At 10:39 PM 2/12/2013 +0300, MHE IT admin wrote:
>Our library web site just started to give error messages #404, so I tried
>to fix the issue with running
>koha-stop-zebra libraryÃÂ
>koha-start-zebra library
>sudo koha-rebuild-zebra -f -v ÃÂ library
>
>Have you tried doing this as "koha" (or whatever other user was given
>privileges during setup) rather than root? e.g.:
>koha at server:/usr/share/koha$
>./bin/migration_tools/rebuild_<http://zebra.pl>zebra.pl ...
>whatever.
>I do not use -f, but you might try -b -r -v -x then -a -r -v
>Zebra configuration information
>----------
>Zebra biblio directory ÃÂ Ã ÃÂ Ã ÃÂ = /var/lib/koha/library/biblios
>Zebra authorities directory = /var/lib/koha/library/authorities
>Koha directory ÃÂ Ã ÃÂ Ã ÃÂ Ã ÃÂ Ã ÃÂ Ã ÃÂ Ã ÃÂ =
>/usr/share/koha/intranet/cgi-bin
>BIBLIONUMBER in : ÃÂ Ã ÃÂ Ã 852$8
>
>I don't know if 3.10 has changed (so could be way off track), but 3.6 and
>3.8 (marc21) by default look for biblionumber in 999$c
>Best - Paul
>
>
>
>
>
>--
>Dr Dilan M. Rostam
>Vice-President for Scientific Affairs
>Koya University
>University Park
>Daniel Mitterrand Boulevard
>Koya KOY45
>Kurdistan Region - F.R. Iraq
>Mobile: +964.7503057849
>E-mail: dilan.rostam at koyauniversity.orgURL: <http://koya.edu.iq>koya.edu.iq
>
>
>---
>Maritime heritage and history, preservation and conservation,
>research and education through the written word and the arts.
><<http://NavalMarineArchive.com>http://NavalMarineArchive.com> and
><<http://UltraMarine.ca>http://UltraMarine.ca>
>
>
>----------
>
>Koha-devel mailing list
>Koha-devel at lists.koha-community.org
><http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel>http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
>website : <http://www.koha-community.org>http://www.koha-community.org/
>git : <http://git.koha-community.org>http://git.koha-community.org/
>bugs : <http://bugs.koha-community.org>http://bugs.koha-community.org/
---
Maritime heritage and history, preservation and conservation,
research and education through the written word and the arts.
<http://NavalMarineArchive.com> and <http://UltraMarine.ca>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20130213/ea608bbb/attachment.html>
More information about the Koha-devel
mailing list