On Tue, Apr 12, 2011 at 11:38 AM, Tomas Cohen Arazi <[email protected]>wrote:

> 2011/4/12 Fridolyn SOMERS <[email protected]>:
> > 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
[email protected]
_______________________________________________
Koha-devel mailing list
[email protected]
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/

Reply via email to