Hi Bruce,<div><br></div><div>The correct paths for your installation would have been given in the notes produced at the end of running Makefile.PL (not sure where this would show up if you used the deb packages). These paths will *have* to be correct in order for Koha related cli scripts to run properly. Perhaps someone more familiar with the deb packages could help if that is, indeed, what you used.</div>

<div><br></div><div>If the paths you selected are correct, then I'm out of ideas for the moment.</div><div><br></div><div>Kind Regards,</div><div>Chris<br>
<br><br><div class="gmail_quote">On Sat, Jan 21, 2012 at 10:16 AM, Bruce A Metcalf <span dir="ltr"><<a href="mailto:Consuls@augustansociety.org">Consuls@augustansociety.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">Chris Nighswonger wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Have a read at these FAQ's:<br>
<br>
<a href="http://koha-community.org/documentation/faq/searching/" target="_blank">http://koha-community.org/<u></u>documentation/faq/searching/</a> <br>
Pay careful attention to the solution for question #4. It appears you've not exported the proper env vars.<br>
</blockquote>
<br></div>
It sounds like you're recommending:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
1. Check that you are exporting the two environmental variables<br>
necessary to run Koha scripts from the command line. These are (modify<br>
to fit paths on your system):<br>
<br>
PERL5LIB=/path/to/koha<br>
KOHA_CONF=/path/to/koha-conf.<u></u>xml<br>
</blockquote>
<br>
Which sounds not unreasonable. I set:<br>
<br>
KOHA_CONF=/etc/koha/koha-conf.<u></u>xml<br>
<br>
Which seems reasonable. I then set:<br>
<br>
PERL5LIB=/usr/share/koha/lib<br>
<br>
I chose this because the failure message for <a href="http://rebuild_zebra.pl" target="_blank">rebuild_zebra.pl</a> claims it can't locate C4/Context.pm in @INC, which includes /etc/perl, and where that file can be found.<br>


<br>
It would appear that these choices were incorrect, or that I've made some other important error, as these two changes make no change in the failure message when I run <a href="http://rebuild_zebra.pl" target="_blank">rebuild_zebra.pl</a>.<br>


<br>
I *did* warn y'all I was a newbie....<br>
<br>
With thanks,<div class="im"><br>
/ Bruce /<br>
Bruce A. Metcalf<br></div>
Library Director<br>
The Augustan Society Library<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
On Fri, Jan 20, 2012 at 9:01 PM, Bruce Metcalf <<a href="mailto:bruce.metcalf@figzu.com" target="_blank">bruce.metcalf@figzu.com</a> <mailto:<a href="mailto:bruce.metcalf@figzu.com" target="_blank">bruce.metcalf@figzu.<u></u>com</a>>> wrote:<br>


<br>
    Eric Bégin wrote:<br>
<br>
            All three commands fail with a variety of messages, but all<br>
            include "file not found".<br>
<br>
        Indeed, that doesn't look good.<br>
<br>
        Can you provide the full output of the rebuild_zebra -b -r -v<br>
<br></div>
    bruce@library:/usr/share/__<u></u>koha4/bin/migration_tools$<br>
    <a href="http://rebuild_zebra.pl" target="_blank">rebuild_zebra.pl</a> <<a href="http://rebuild_zebra.pl" target="_blank">http://rebuild_zebra.pl</a>> -b -r -v<div class="im"><br>
    Can't locate Koha.pm in @INC (@INC contains: /etc/perl<br>
    /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5<br>
    /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10<br>
    /usr/local/lib/site_perl .) at ./<a href="http://rebuild_zebra.pl" target="_blank">rebuild_zebra.pl</a><br></div>
    <<a href="http://rebuild_zebra.pl" target="_blank">http://rebuild_zebra.pl</a>> line 5.<div class="im"><br>
    BEGIN failed--compilation aborted at ./<a href="http://rebuild_zebra.pl" target="_blank">rebuild_zebra.pl</a><br></div>
    <<a href="http://rebuild_zebra.pl" target="_blank">http://rebuild_zebra.pl</a>> line 5.<br>
<br>
    Hope that helps,<br>
    Bruce<div class="im"><br>
<br>
        On <a href="tel:2012-01-19%2009" value="+12012011909" target="_blank">2012-01-19 09</a> <tel:2012-01-19%2009>:41, Bruce Metcalf wrote:<br>
            Bruce Metcalf wrote:<br>
<br>
                    I am a new user of Koha, and have had my Linux guru<br>
                    (who had not<br>
                    seen Koha prior to this work) install version 3.6.2<br>
                    under Debian<br>
                    Squeeze on an otherwise empty virtual server.<br>
<br>
                    All appears to be going exactly as it should.<br>
<br>
                    owever, the public OPAC shows no books in the<br>
                    collection.<br>
<br>
            Eric Bégin wrote:<br>
<br>
                Get a look at this link. It shows the most common<br>
                problems when you<br>
                 get not result in the OPAC.<br>
<br></div>
                <a href="http://koha-community.org/__documentation/faq/searching/" target="_blank">http://koha-community.org/__<u></u>documentation/faq/searching/</a><div class="im"><br>
                <<a href="http://koha-community.org/documentation/faq/searching/" target="_blank">http://koha-community.org/<u></u>documentation/faq/searching/</a>><br>
<br>
                Don't hesitate to come back and ask for more info if<br>
                this link doesn't solve your problem.<br>
<br>
            This page seems to suggest:<br>
<br>
            zebraidx -x /.../zebra-biblios.cfg drop biblios zebraidx -c<br>
            /.../zebra-biblios.cfg commit <a href="http://rebuild_zebra.pl" target="_blank">rebuild_zebra.pl</a><br></div>
            <<a href="http://rebuild_zebra.pl" target="_blank">http://rebuild_zebra.pl</a>> -b -r -v<div class="im"><br>
<br>
            All three commands fail with a variety of messages, but all<br>
            include<br>
            "file not found".<br>
<br>
            I'm thinking that there is an important configuration or<br>
            initialization that hasn't been completed?<br>
<br>
            Regards, / Bruce / Bruce A. Metcalf Executive Director The<br>
            Augustan<br>
            Society Library<br>
</div></blockquote>
</blockquote></div><br></div>