<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello all,<br>
<br>
I'm testing importing our MARC data into Koha 3 on Debian Etch and I
want to be able to quickly rebuild the zebra index.<br>
<br>
I found instructions to do so in INSTALL.debian<br>
<br>
7.2 Fast Index:<br>
$ misc/migration-tools/rebuild_zebra.pl -b -w<br>
<br>
Unfortunately, there is no /misc directory on my server...does this
mean that I missed something during installation?<br>
<br>
I do have a rebuild_zebra.pl script, located at:
/usr/share/koha3/bin/migration_tools, but when I run this script, the
following error is returned:<br>
<br>
Can't locate C4/Context.pm in @INC (@INC contains: /etc/perl
/usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
/usr/local/lib/site_perl .) at
/usr/share/koha3/bin/migration_tools/rebuild_zebra.pl line 5.<br>
BEGIN failed--compilation aborted at
/usr/share/koha3/bin/migration_tools/rebuild_zebra.pl line 5.<br>
<br>
Context.pm does exist at /usr/share/koha3/lib/C4<br>
<br>
Can someone tell me what @INC is referring to? It is not referenced in
the rebuild_zebra.pl script.<br>
<br>
Any help will be greatly appreciated.<br>
<br>
BTW, I was able to successfully index my first import by setting up the
zebra demon and running: <br>
<br>
zebrasrv -f /etc/koha/koha-conf.xml<br>
<br>
I want to be able to <b>*rebuild*</b> the index, though, so I will
need to be able to run the rebuild_zebra.pl script.<br>
<br>
Thanks in advance.<br>
<br>
<div class="moz-signature">-- <br>
<span style="font-size: 12px; font-family: Arial;">
<p>Cheers,</p>
<p>Christopher Curry<br>
Assistant Technical Librarian / Assistant IT Officer</p>
<p>American Philosophical Society<br>
105 South Fifth Street<br>
Philadelphia, PA 19106-3386<br>
Tel. (215) 599-4299</p>
<p><a href="mailto:ccurry@amphilsoc.org">ccurry@amphilsoc.org</a></p>
<p><strong>For technical support, please use <a
href="mailto:helpdesk@amphilsoc.org"><span style="">helpdesk@amphilsoc.org</span></a></strong><br>
Main Library number: (215)440-3400<br>
APS website: <a href="http://www.amphilsoc.org">http://www.amphilsoc.org</a>
</p>
</span>
</div>
</body>
</html>