[Koha] zebra not rebuilding
sbergeon
sbergeon at encephalon.com
Tue Feb 15 03:52:39 NZDT 2011
These (KOHA_CONF and PERL5LIB) are Environment Variables, used by the Unix shell and processes executed under that shell. Assuming you're using some form of *nix (debian, fedora, etc), and that your shell is bash, the easiest way to set environment variables is to put the 'export' lines listed in your bash startup files.
For example, a bash shell user will have a '.bashrc' file in their home directory, which is often '/home/yourusername'. As soon as you log in, try doing 'ls -la' and locate .bashrc. Edit or create .bashrc to place the 'export' lines, then log out and back in. After logging back in try running the 'env' command and verify that the variables (KOHA_CONF and PERL5LIB) are now set.
These lines won't work as-is in cron because cron does not run a shell. Cron jobs should be shell scripts or programs that provide their own environment information.
----- Original Message -----
From: "sheldon_tappin" <thecarterii at hotmail.com>
To: <koha at lists.katipo.co.nz>
Sent: Monday, February 14, 2011 7:23 AM
Subject: Re: [Koha] zebra not rebuilding
>
> Hi,
>
> Can you tell in which file I need to put these:
> export KOHA_CONF=/etc/koha/koha-conf.xml
> export PERL5LIB=/usr/share/koha/lib
>
> The FAQ 18 says that it needs to be placed in crontab, but when I place it
> there I'm getting errors.
>
>
> Sheldon
> --
> View this message in context: http://koha.1045719.n5.nabble.com/zebra-not-rebuilding-tp3382983p3384447.html
> Sent from the Koha - Discuss mailing list archive at Nabble.com.
> _______________________________________________
> 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/20110214/a2b6025a/attachment.htm
More information about the Koha
mailing list