<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18999">
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT size=2 face=Arial>These (KOHA_CONF and PERL5LIB) are <A
href="http://www.gnu.org/software/bash/manual/bashref.html#Environment">Environment</A>
<A
href="http://en.wikipedia.org/wiki/Environment_variable">Variables</A>, used
by the <A href="http://en.wikipedia.org/wiki/Unix_shell">Unix shell</A> 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 <A
href="http://www.gnu.org/software/bash/manual/bash.html#Bash-Startup-Files">bash
startup files</A>. </FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>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 <A href="http://www.manpagez.com/man/1/env/">'env'
</A>command and verify that the variables (KOHA_CONF and PERL5LIB) are now
set.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>These lines won't work as-is in <A
href="http://en.wikipedia.org/wiki/Cron">cron</A> because cron does not run
a shell. Cron jobs should be <A
href="http://en.wikipedia.org/wiki/Shell_script">shell scripts </A>or programs
that provide their own environment information.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>----- Original Message ----- </FONT></DIV>
<DIV>
<DIV><FONT size=2 face=Arial>From: "sheldon_tappin" <</FONT><A
href="mailto:thecarterii@hotmail.com"><FONT size=2
face=Arial>thecarterii@hotmail.com</FONT></A><FONT size=2
face=Arial>></FONT></DIV>
<DIV><FONT size=2 face=Arial>To: <</FONT><A
href="mailto:koha@lists.katipo.co.nz"><FONT size=2
face=Arial>koha@lists.katipo.co.nz</FONT></A><FONT size=2
face=Arial>></FONT></DIV>
<DIV><FONT size=2 face=Arial>Sent: Monday, February 14, 2011 7:23
AM</FONT></DIV>
<DIV><FONT size=2 face=Arial>Subject: Re: [Koha] zebra not
rebuilding</FONT></DIV></DIV>
<DIV><FONT face=Arial><BR><FONT size=2></FONT></FONT></DIV><FONT size=2
face=Arial>> <BR>> Hi,<BR>> <BR>> Can you tell in which file I need
to put these:<BR>> export KOHA_CONF=/etc/koha/koha-conf.xml<BR>> export
PERL5LIB=/usr/share/koha/lib<BR>> <BR>> The FAQ 18 says that it needs to
be placed in crontab, but when I place it<BR>> there I'm getting
errors.<BR>> <BR>> <BR>> Sheldon<BR>> -- <BR>> View this message
in context: </FONT><A
href="http://koha.1045719.n5.nabble.com/zebra-not-rebuilding-tp3382983p3384447.html"><FONT
size=2
face=Arial>http://koha.1045719.n5.nabble.com/zebra-not-rebuilding-tp3382983p3384447.html</FONT></A><BR><FONT
size=2 face=Arial>> Sent from the Koha - Discuss mailing list archive at
Nabble.com.<BR>> _______________________________________________<BR>> Koha
mailing list </FONT><A href="http://koha-community.org"><FONT size=2
face=Arial>http://koha-community.org</FONT></A><BR><FONT size=2 face=Arial>>
</FONT><A href="mailto:Koha@lists.katipo.co.nz"><FONT size=2
face=Arial>Koha@lists.katipo.co.nz</FONT></A><BR><FONT size=2 face=Arial>>
</FONT><A href="http://lists.katipo.co.nz/mailman/listinfo/koha"><FONT size=2
face=Arial>http://lists.katipo.co.nz/mailman/listinfo/koha</FONT></A></BODY></HTML>