[Koha] can't run rebuild_zebra

MJ Ray mjr at phonecoop.coop
Sat Jun 27 00:52:32 NZST 2009


Mono Lib <monolib at yahoo.com> wrote:
> when i running ./rebuild_zebra.pl i get this error ./rebuild_zebra.pl -b  -a 
> Can't locate C4/Context.pm in @INC (@INC contains: /usr/share/koha /etc/perl [...]

Looks like the PERL5LIB environment variable isn't set correctly.
I guess it might be set because there's some koha path in INC, so try:
  export PERL5LIB=/path/to/folder/above/C4:$PERL5LIB
and then retry the rebuild_zebra.pl command.  You may also need to
set the KOHA_CONF environment variable to the location of koha-conf.xml
in a similar way.

Hope that helps,
-- 
MJ Ray (slef)  LMS developer and webmaster at     | software
www.software.coop http://mjr.towers.org.uk        |  .... co
Notice http://mjr.towers.org.uk/email.html        |  .... op


More information about the Koha mailing list