Hi Hirak

Since you seem to experience some permissions problem try it with the following command as recommended in the documentation. As your unprivileged Linux user you execute:

$ sudo koha-rebuild-zebra -f -v library

Note this is not the same as:

$ sudo su
# koha-rebuild-zebra -f -a -b -v library

In fact I don't know anyway what happens if you use "-f -a -b" since "-f" means the same as "-a -b". From "man koha-rebuild-zebra":

-f, --full
    Does a reindex of the whole collection.

-a, --authorities
    Only run the indexing process for authority records.

-b, --biblios
    Only run the indexing process for biblio records.

-v, --verbose
    Be verbose. Useful for debugging indexing problems.

Hope this helps.

Best wishes: Michael
--
Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis
Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
T 0041 (0)61 261 55 61 · E m...@adminkuhn.ch · W www.adminkuhn.ch




Am 22.07.2018 um 17:37 schrieb Hirak Jyoti Hazarika:
  I have install Koha on Ubuntu 16.04 Version with Koha Ubuntu Package.

When I try to put  *sudo su*
*koha-rebuild-zebra -f -a -b -v library*

The result is showing blow error . kindly help me for the same

Can't locate Koha/Exceptions/Exception.pm:
  ./Koha/Exceptions/Exception.pm: Permission denied at /usr/share/perl/5.22/
base.pm line 97.
         ...propagated at /usr/share/perl/5.22/base.pm line 106.
BEGIN failed--compilation aborted at (eval 14) line 3.
BEGIN failed--compilation aborted at /usr/share/koha/lib/Koha/Exceptions.pm
line 56.
Compilation failed in require at /usr/share/koha/lib/Koha/DateUtils.pm line
22.
BEGIN failed--compilation aborted at /usr/share/koha/lib/Koha/DateUtils.pm
line 22.
Compilation failed in require at /usr/share/koha/lib/C4/Log.pm line 30.
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Log.pm line 30.
Compilation failed in require at /usr/share/koha/lib/Koha/Config/SysPref.pm
line 26.
BEGIN failed--compilation aborted at
/usr/share/koha/lib/Koha/Config/SysPref.pm line 26.
Compilation failed in require at /usr/share/koha/lib/C4/Context.pm line 105.
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Context.pm line
105.
Compilation failed in require at /usr/share/koha/bin/migration_tools/
rebuild_zebra.pl line 20.
BEGIN failed--compilation aborted at /usr/share/koha/bin/migration_tools/
rebuild_zebra.pl line 20.
Something went wrong rebuilding biblio indexes for library
Can't locate Koha/Exceptions/Exception.pm:
  ./Koha/Exceptions/Exception.pm: Permission denied at /usr/share/perl/5.22/
base.pm line 97.
         ...propagated at /usr/share/perl/5.22/base.pm line 106.
BEGIN failed--compilation aborted at (eval 14) line 3.
BEGIN failed--compilation aborted at /usr/share/koha/lib/Koha/Exceptions.pm
line 56.
Compilation failed in require at /usr/share/koha/lib/Koha/DateUtils.pm line
22.
BEGIN failed--compilation aborted at /usr/share/koha/lib/Koha/DateUtils.pm
line 22.
Compilation failed in require at /usr/share/koha/lib/C4/Log.pm line 30.
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Log.pm line 30.
Compilation failed in require at /usr/share/koha/lib/Koha/Config/SysPref.pm
line 26.
BEGIN failed--compilation aborted at
/usr/share/koha/lib/Koha/Config/SysPref.pm line 26.
Compilation failed in require at /usr/share/koha/lib/C4/Context.pm line 105.
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Context.pm line
105.
Compilation failed in require at /usr/share/koha/bin/migration_tools/
rebuild_zebra.pl line 20.
BEGIN failed--compilation aborted at /usr/share/koha/bin/migration_tools/
rebuild_zebra.pl line 20.
Something went wrong rebuilding authority indexes for library


*  <http://b2h2.co.in/>With Regards *

*Hirak Jyoti Hazarika  *
*Research Scholar*
*North Eastern Hill University*
*Shillong- 22*
*Phone No: 09706244757/ 9531064586*
*E-mail: hirakhazarika2...@gmail.com <hirakhazarika2...@gmail.com>*
*Webpage: *
My ORCID iD is 0000-0002-0023-7097 <http://orcid.org/0000-0002-0023-7097>
*You don't need violence to shake the world - Use Open Source Software !*
_______________________________________________
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha



_______________________________________________
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha

Reply via email to