Ian: Thanks for suggestions. 1. Did a lather, rinse, repeat this morning using what I know should be correct--PERL5LIB set to /home/koha/kohaclone, etc. I think the problem was I didn't have KOHA_CONF exported correctly. So that got me past all the error messages, and rebuild_zebra gives the appearance of running, but doesn't index anything: $ ./rebuild_zebra.pl -a -b -z -v Zebra configuration information ================================ Zebra biblio directory = /home/koha/koha-dev/var/lib/zebradb/biblios Zebra authorities directory = /home/koha/koha-dev/var/lib/zebradb/authorities Koha directory = /home/koha/kohaclone BIBLIONUMBER in : 999$c BIBLIOITEMNUMBER in : 999$d ================================ ==================== exporting authority ==================== Records exported: 0 Records exported: 0 ==================== REINDEXING zebra ==================== ==================== exporting biblio ==================== Records exported: 0 Records exported: 0 ==================== REINDEXING zebra ==================== ==================== CLEANING ==================== -------------------------- This, of course, results in no book data being returned from the DB. OK, so now what should I try? Is this relevant? http://koha-community.org/faq/double-ups-search-results-clear-index-start-ag... -or this? http://manual.koha-community.org/3.2/en/resetzebra.html Greg ----------------------------- On 04/11/2012 03:22 AM, Ian Bays wrote:
Hi Greg, This should be the right PERL5LIB:
echo $PERL5LIB /home/koha/kohaclone
What does the end of the output from: perl -v give?
It should be like this: %ENV: PERL5LIB="/home/koha/kohaclone" @INC: /home/koha/kohaclone /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl
It will end up being something obvious. Would you need to: export PERL5LIB before using it?
Good luck. Ian
On 11/04/2012 00:15, G. Laws wrote:
PROB:
$ ./rebuild_zebra.pl -a -b -z Can't locate C4/Context.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at ./rebuild_zebra.pl line 6. BEGIN failed--compilation aborted at ./rebuild_zebra.pl line 6.
INFO:
running master on debian...
$ ls -l /home/koha/kohaclone/C4/Context.pm -rw-r--r-- 1 koha koha 33348 Apr 10 14:28 Context.pm
tried...
$echo $PERL5LIB /home/koha/kohaclone
...and
$ echo $PERL5LIB /usr/koha/kohaclone/C4
...and even attempted a non-standard symlink...
# ls -l /usr/lib/perl5/Context.pm lrwxrwxrwx 1 root root 34 Apr 10 18:00 Context.pm -> /usr/lib/perl5/Template/Context.pm
...no joy...
Help?
-- Greg Lawson Rolling Hills Consolidated Library 1912 N. Belt Highway St. Joseph, MO 64506 816-232-5479