<html>
<body>
At 06:42 AM 2/14/2013 +1300, Chris Cormack wrote:<br>
<blockquote type=cite class=cite cite>The important thing to ask before
recommending anything like this is did you install via the packages or
not. <br>
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.
</blockquote><br>
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.)<br><br>
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.<br><br>
Thanks and best regards - Paul<br><br>
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?<br><br>
<br>
<blockquote type=cite class=cite cite>Chris <br><br>
Paul <paul.a@aandc.org> wrote:
<dl>
<dd><pre>At 04:44 PM 2/13/2013 +0300, Dilan M. Rostam wrote:
</pre>
<dd>Thank you Paul,Â<br>

<dd>We use MARC21 now I have checked, and I ranÂ<br>

<dd>I got , I am not sure what it means,Â
<dd>sudo koha-rebuild-zebra -b -r -v -x Â library
<dd>Cannot specify -r or -s if -z is specified
<dd>Please do
'/usr/share/koha/bin/migration_tools/rebuild_<a href="http://zebra.pl">zebra.pl</a>
--help' to 
<dd>see usage.<br><br>
</dl><br>
Why are you trying to index as 'root'?  If you have used the default
name <br>
"koha" as owner of the process during installation, please
try:<br><br>
you@server:$ su koha<br>
[enter password]<br>
koha@server:$ cd /usr/share/koha<br>
koha@server:/usr/share/koha$
./bin/migration_tools/rebuild_<a href="http://zebra.pl">zebra.pl</a> -b
-r -<br>
 v -x<br>
koha@server:/usr/share/koha$
./bin/migration_tools/rebuild_<a href="http://zebra.pl">zebra.pl</a> -a
-r -v<br><br>
The -z option is for incremental indexing, normally used in your cron job
<br>
to update an existing Zebra index.<br><br>
Paul<br><br>
<br><br>

<dl>
<dd>On Wed, Feb 13, 2013 at 1:11 AM, Paul <paul.a@aandc.org>
wrote:
<dd>At 10:39 PM 2/12/2013 +0300, MHE IT admin wrote:
<dd>Our library web site just started to give error messages #404, so I
tried 
<dd>to fix the issue with running
<dd>koha-stop-zebra libraryÂ
<dd>koha-start-zebra library
<dd>sudo koha-rebuild-zebra -f -v Ã‚ library<br>
<br>

<dd>Have you tried doing this as "koha" (or whatever other user
was given 
<dd>privileges during setup) rather than root? e.g.:<br>

<dd>koha@server:/usr/share/koha$
./bin/migration_tools/rebuild_<a href="http://zebra.pl">zebra.pl</a> ... 
<dd>whatever.<br>

<dd>I do not use -f, but you might try -b -r -v -x then -a -r -v<br>

<dd>Zebra configuration information<hr>

<dd>Zebra biblio directory Ã‚ Â Ã‚ Â Ã‚ =
/var/lib/koha/library/biblios<br>

<dd>Zebra authorities directory = /var/lib/koha/library/authorities
<dd>Koha directory Ã‚ Â Ã‚ Â Ã‚ Â Ã‚ Â Ã‚ Â Ã‚ Â Ã‚ = 
<dd>/usr/share/koha/intranet/cgi-bin
<dd>BIBLIONUMBER in : Ã‚ Â Ã‚ Â 852$8<br>
<br>

<dd>I don't know if 3.10 has changed (so could be way off track), but 3.6
and 
<dd>3.8 (marc21) by default look for biblionumber in 999$c<br>

<dd>Best - Paul<br>
<br>
<br>
<br>
<br>
<br>

<dd>--
<dd>Dr Dilan M. Rostam
<dd>Vice-President for Scientific Affairs
<dd>Koya University
<dd>University Park
<dd>Daniel Mitterrand Boulevard
<dd>Koya KOY45
<dd>Kurdistan Region - F.R. Iraq<br>

<dd>Mobile: +964.7503057849
<dd>E-mail: dilan.rostam@koyauniversity.orgURL:
<a href="http://koya.edu.iq">koya.edu.iq</a><br><br>
</dl><br>
---<br>
Maritime heritage and history, preservation and conservation,<br>
research and education through the written word and the arts.<br>
<<a href="http://NavalMarineArchive.com">http://NavalMarineArchive.com</a>>
and
<<a href="http://UltraMarine.ca">http://UltraMarine.ca</a>><br><br>
<hr>
<br>
Koha-devel mailing list<br>
Koha-devel@lists.koha-community.org<br>
<a href="http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel">http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><br>
website :
<a href="http://www.koha-community.org">http://www.koha-community.org</a>/<br>
git :
<a href="http://git.koha-community.org">http://git.koha-community.org</a>/<br>
bugs :
<a href="http://bugs.koha-community.org">http://bugs.koha-community.org</a>/</blockquote>
<x-sigsep><p></x-sigsep>
---<br>
Maritime heritage and history, preservation and conservation, <br>
research and education through the written word and the arts.<br>
<<a href="http://navalmarinearchive.com/" eudora="autourl">http://NavalMarineArchive.com</a>>
and
<<a href="http://ultramarine.ca/" eudora="autourl">http://UltraMarine.ca</a>><br>
</body>
</html>