<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I would check the userid under which the crontab job is run vs. the
userid who is the owner of the /var/lib/koha/zebradb/* directories
(--> the write rights to the index files).<br>
<br>
Also the KOHA_CONF and PERL5LIB environment variables are to be
considered.<br>
<br>
Greetings,<br>
<br>
Janusz Kaczmarek<br>
<br>
Winter, James napisał(a):
<blockquote
cite="mid195366CE4CF91245936298EEA68FEA980A04F75A@BISHOP.arcadia.edu"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Lucida Sans Unicode";
        panose-1:2 11 6 2 3 5 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="Section1">
<p class="MsoNormal">Has anyone experienced a problem running
rebuild_zebra.pl in
a sh script running in crontab?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The rebuild_zebra doesn’t delete or update the
existing index (I’m using the –r switch) and if I manually delete
the index files through the script the rebuild_zebra doesn’t recreate
them. If I run the rebuild_zebra script manually it runs successfully
and
recreates the index files.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b><span style="font-size: 10pt;">James Winter<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><i><span
style="font-size: 10pt; color: rgb(192, 0, 0);"><a
href="http://www.arcadia.edu/"><span
style="color: rgb(192, 0, 0); text-decoration: none;">Arcadia
University</span></a><o:p></o:p></span></i></b></p>
<p class="MsoNormal"><span style="font-size: 10pt;">Systems Manager<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 9pt;">215.517.2588<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 9pt;"><a
href="mailto:winterj@arcadia.edu" title="Send James an email"><span
style="color: windowtext; text-decoration: none;">winterj@arcadia.edu</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-family: "Lucida Sans Unicode","sans-serif";"> </span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Koha mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a>
<a class="moz-txt-link-freetext" href="http://lists.katipo.co.nz/mailman/listinfo/koha">http://lists.katipo.co.nz/mailman/listinfo/koha</a>
</pre>
</blockquote>
<br>
</body>
</html>