[Koha] Cron Failing $KOHAPATH/bin/migration_tools/rebuild_zebra.pl -a

Bernardo Gonzalez Kriegel bgkriegel at gmail.com
Mon Aug 1 22:47:32 NZST 2011


Chris D.,
the relevant lines in the file that Chris C. mentioned are
--
# ENVIRONMENT:
# First, establish Koha's two important ENV variables.

PERL5LIB=/usr/share/koha/lib
KOHA_CONF=/etc/koha/koha-conf.xml
--
and
--
# ZEBRA INDEX UPDATES with -z option, incremental index updates throughout
the day
# for both authorities and bibs
*/10 * * * *  $KOHA_CRON_PATH/../migration_tools/rebuild_zebra.pl -b -a -z
>/dev/null
--

Your error  is due to not having properly set the environment.

B.
-- 
Bernardo Gonzalez Kriegel
bgkriegel at gmail.com



On Mon, Aug 1, 2011 at 7:09 AM, Chris Downs <chris.downs at blueglobe.co.nz>wrote:

> Thanks Chris
>
> I'll have a look and let you know the outcome
>
> -----Original Message-----
> From: Chris Cormack [mailto:chrisc at catalyst.net.nz]
> Sent: Monday, 1 August 2011 10:03 p.m.
> To: Chris Downs
> Cc: koha at lists.katipo.co.nz
> Subject: Re: [Koha] Cron Failing $KOHAPATH/bin/migration_tools/
> rebuild_zebra.pl -a
>
> * Chris Downs (chris.downs at blueglobe.co.nz) wrote:
> >    Hi Everyone,
> >
> >
> >
> >    When trying to run the Cron for Rebuild Zebra using sudo perl
> >    rebuild_zebra.pl ort  perl rebuild_zebra.pl I get the below error
> >
> >
> >
> Take a look at misc/cronjobs/crontab.example
>
> for how to export the variables properly.
>
> Chris
> --
> Chris Cormack
> Catalyst IT Ltd.
> +64 4 803 2238
> PO Box 11-053, Manners St, Wellington 6142, New Zealand
>
> _______________________________________________
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20110801/4bf856c5/attachment.htm 


More information about the Koha mailing list