<br><br><div class="gmail_quote">On Tue, Apr 12, 2011 at 11:38 AM, Tomas Cohen Arazi <span dir="ltr"><<a href="mailto:tomascohen@gmail.com">tomascohen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
2011/4/12 Fridolyn SOMERS <<a href="mailto:fridolyn.somers@gmail.com">fridolyn.somers@gmail.com</a>>:<br>
<div class="im">> Hie,<br>
><br>
> There is one problem with multi instances that you maybe didn't notice :<br>
><br>
> The environment variables KOHA_CONF and PERL5LIB are the same for each<br>
> instance<br>
> (they are redefined in cronjobs and apache conf).<br>
> They are mandatory for lauching perl scripts manually.<br>
<br>
</div>This is acknowledged in the instructions when creating the cronjob files.<br>
<br>
To+<br>
</blockquote></div><br>Yes I agree for cronjobs.<br>But I understood the problem was when lauching a script manually.<br>For example, recreating Zebra database : <br><i>perl /usr/share/koha/misc/migration_tools/<a href="http://rebuild_zebra.pl">rebuild_zebra.pl</a> -b -v -r</i><br clear="all">
<br>In this case, the script looks for C4::Context using the PERL5LIB env var.<br><br>Regards,<br><br>-- <br>Fridolyn SOMERS<br>ICT engineer<br>PROGILONE - Lyon - France<br><a href="mailto:fridolyn.somers@gmail.com" target="_blank">fridolyn.somers@gmail.com</a><br>