[Koha] [Koha-devel] Koha - problem with searches/zebra indexing in second instance

Fridolyn SOMERS fridolyn.somers at gmail.com
Tue Apr 12 23:12:56 NZST 2011


On Tue, Apr 12, 2011 at 11:38 AM, Tomas Cohen Arazi <tomascohen at gmail.com>wrote:

> 2011/4/12 Fridolyn SOMERS <fridolyn.somers at gmail.com>:
> > Hie,
> >
> > There is one problem with multi instances that you maybe didn't notice :
> >
> > The environment variables KOHA_CONF and PERL5LIB are the same for each
> > instance
> > (they are redefined in cronjobs and apache conf).
> > They are mandatory for lauching perl scripts manually.
>
> This is acknowledged in the instructions when creating the cronjob files.
>
> To+
>

Yes I agree for cronjobs.
But I understood the problem was when lauching a script manually.
For example, recreating Zebra database :
*perl /usr/share/koha/misc/migration_tools/rebuild_zebra.pl -b -v -r*

In this case, the script looks for C4::Context using the PERL5LIB env var.

Regards,

-- 
Fridolyn SOMERS
ICT engineer
PROGILONE - Lyon - France
fridolyn.somers at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20110412/3e998989/attachment-0001.htm 


More information about the Koha mailing list