Re: [Koha-devel] Zebra re-indexing issue
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_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@server:$ su koha [enter password] koha@server:$ cd /usr/share/koha koha@server:/usr/share/koha$ ./bin/migration_tools/rebuild_zebra.pl -b -r -v -x koha@server:/usr/share/koha$ ./bin/migration_tools/rebuild_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@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@server:/usr/share/koha$ ./bin/migration_tools/rebuild_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@koyauniversity.org URL: koya.edu.iq
--- Maritime heritage and history, preservation and conservation, research and education through the written word and the arts. <http://NavalMarineArchive.com> and <http://UltraMarine.ca>
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. Chris Paul <paul.a@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_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@server:$ su koha [enter password] koha@server:$ cd /usr/share/koha koha@server:/usr/share/koha$ ./bin/migration_tools/rebuild_zebra.pl -b -r -v -x koha@server:/usr/share/koha$ ./bin/migration_tools/rebuild_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@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@server:/usr/share/koha$ ./bin/migration_tools/rebuild_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@koyauniversity.org URL: koya.edu.iq
--- Maritime heritage and history, preservation and conservation, research and education through the written word and the arts. <http://NavalMarineArchive.com> and <http://UltraMarine.ca>
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
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@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@server:$ su koha [enter password] koha@server:$ cd /usr/share/koha koha@server:/usr/share/koha$ ./bin/migration_tools/rebuild_<http://zebra.pl>zebra.pl -b -r - v -x koha@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@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@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@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@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>
On 14 February 2013 12:38, Paul <paul.a@aandc.org> wrote:
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.
It isn't but that is not how you reindex with packages, the packages provide commands to reindex that make sure it is run with the correct permissions. (You can have multiple Koha instances easily on a packaged install) So running the rebuild_zebra.pl command by hand will most likely result in screwing up the permissions.
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?
With a lot more information someone could, what exact version of Koha are they running, what flavour of MARC, has someone changed the frameworks? etc Chris
Hie, You point that your biblionumber is in 999$c but rebuild zebra looks for 852$8. This is defined is Koha administration / Koha to MARC mapping. Check which field is defined with biblio/biblionumber. If 852$8 does not exist in MARC, you get no indexing. Le 13/02/2013 18:19, Paul a écrit :
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_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@server:$ su koha [enter password] koha@server:$ cd /usr/share/koha koha@server:/usr/share/koha$ ./bin/migration_tools/rebuild_zebra.pl -b -r -v -x koha@server:/usr/share/koha$ ./bin/migration_tools/rebuild_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@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@server:/usr/share/koha$ ./bin/migration_tools/rebuild_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@koyauniversity.org URL: koya.edu.iq
--- Maritime heritage and history, preservation and conservation, research and education through the written word and the arts. <http://NavalMarineArchive.com> and <http://UltraMarine.ca>
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
-- Fridolyn SOMERS Biblibre - Pôle Support fridolyn.somers@biblibre.com <mailto:fridolyn.somers@biblibre.com>
Thank you for the help, I look at the admin for these tags, non of them have been defined at all. So I look for defining them and see if it will make any changes Do you know any Koha Manual section on this topic please On Fri, Feb 15, 2013 at 11:15 AM, Fridolyn SOMERS < fridolyn.somers@biblibre.com> wrote:
Hie,
You point that your biblionumber is in 999$c but rebuild zebra looks for 852$8. This is defined is Koha administration / Koha to MARC mapping. Check which field is defined with biblio/biblionumber.
If 852$8 does not exist in MARC, you get no indexing.
Le 13/02/2013 18:19, Paul a écrit :
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_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@server:$ su koha [enter password] koha@server:$ cd /usr/share/koha koha@server:/usr/share/koha$ ./bin/migration_tools/rebuild_zebra.pl -b -r -v -x koha@server:/usr/share/koha$ ./bin/migration_tools/rebuild_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@aandc.org><paul.a@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@server:/usr/share/koha$ ./bin/migration_tools/rebuild_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@koyauniversity.org URL: 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@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
-- Fridolyn SOMERS Biblibre - Pôle Support fridolyn.somers@biblibre.com
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
MHE IT admin schrieb am 15.02.2013
Thank you for the help, I look at the admin for these tags, non of them have been defined at all.
So I look for defining them and see if it will make any changes
Do you know any Koha Manual section on this topic please
A friendly word of advice: all answers you get here or on IRC are provided by volunteers, for free, in their spare time. If you would like to get people to try and assist you with your problem, unpaid, in their spare time, instead of doing something fun, it helps to show that you are actually working on the problem yourself. That means that you at least do ctrl+f on the manual page and a Google (or other search engine) search for error messages you get and keywords that people name you regarding your problem, before you ask others do the work for you. If you are looking for somebody to fix your installation for you, what you are looking for is http://koha-community.org/support/paid-support/ If you are looking for instant answers, what you are looking for is http://koha-community.org/support/paid-support/ If you need urgent assistance because your problem is very important, but you do not have funding to get paid support, what you are looking for is http://blog.bigballofwax.co.nz/2012/10/07/you-must-help-me-no/ Thank you for your time. -- Mirko PS. These might be starting points for your research regarding the mapping: - ctrl+f in the manual leads to: http://manual.koha-community.org/3.10/en/catadmin.html#kohamarcmapping - ddg: http://lmddgtfy.net/?q=%22Koha%20to%20MARC%20mapping%22 - google: http://lmgtfy.com/?q=%22Koha+to+MARC+mapping%22 Also, if there are no mappings defined at all, it sounds like something is seriously wrong with your Koha instance.
Dear Mirko, Many thanks for pointing out that. If you know how much research has gone into this in last 7 days you would not believe me. The issue is that I do not know the nature of problem and I am looking for clues. Up to know several reasons has been pointed out, and I have been trying all of them but this last one which I am working on now. We are in Iraq, getting paid needs Credit card and payment method. These sort of stuff are hard target in our courtly. Although I highly appreciated any help we get here but I value every single min of people's time and I wished I was able to hire professionals to doing this with dignity. So please do not put me in position that I am miss using the system. Iraq where the credit due and we all trying to make the education a way out of its mountains of problem. Everyone Thank Thank Thank for trying helping us solving this issue. I will study your links, but I have done loads of search to understand every clue pointed out. I use this opportunity to ask whether there is any professional librarian out there with skills in Koha who wants to work in our university. This can be lifetime opportunity to do something new. We are in North Iraq in the Mountain and with beautiful peaceful society. Kind regards Dr Dilan Rostam On Sat, Feb 16, 2013 at 1:32 AM, Mirko <5p4m@gmx.de> wrote:
MHE IT admin schrieb am 15.02.2013
Thank you for the help, I look at the admin for these tags, non of them have been defined at all.
So I look for defining them and see if it will make any changes
Do you know any Koha Manual section on this topic please
A friendly word of advice:
all answers you get here or on IRC are provided by volunteers, for free, in their spare time.
If you would like to get people to try and assist you with your problem, unpaid, in their spare time, instead of doing something fun, it helps to show that you are actually working on the problem yourself.
That means that you at least do ctrl+f on the manual page and a Google (or other search engine) search for error messages you get and keywords that people name you regarding your problem, before you ask others do the work for you.
If you are looking for somebody to fix your installation for you, what you are looking for is http://koha-community.org/support/paid-support/
If you are looking for instant answers, what you are looking for is http://koha-community.org/support/paid-support/
If you need urgent assistance because your problem is very important, but you do not have funding to get paid support, what you are looking for is http://blog.bigballofwax.co.nz/2012/10/07/you-must-help-me-no/
Thank you for your time.
-- Mirko
PS. These might be starting points for your research regarding the mapping: - ctrl+f in the manual leads to: http://manual.koha-community.org/3.10/en/catadmin.html#kohamarcmapping - ddg: http://lmddgtfy.net/?q=%22Koha%20to%20MARC%20mapping%22 - google: http://lmgtfy.com/?q=%22Koha+to+MARC+mapping%22
Also, if there are no mappings defined at all, it sounds like something is seriously wrong with your Koha instance. _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
participants (6)
-
Chris Cormack -
Chris Cormack -
Fridolyn SOMERS -
MHE IT admin -
Mirko -
Paul