[Koha] Install for Dummies
Paul
paul.a at aandc.org
Mon Jan 23 04:03:07 NZDT 2012
At 08:27 PM 1/21/2012 -0500, Bruce A Metcalf wrote:
>Paul wrote:
[snip]
>>koha at nelson:/usr/share/koha$ KOHA_CONF=/etc/koha/koha-conf.xml
>>PERL5LIB=/usr/share/koha/lib ./bin/migration_tools/rebuild_zebra.pl -a -r -v
>>koha at nelson:/usr/share/koha$ KOHA_CONF=/etc/koha/koha-conf.xml
>>PERL5LIB=/usr/share/koha/lib ./bin/migration_tools/rebuild_zebra.pl -b -r -v -x
>
>This appears to do *something*. It runs a number of lines of code, ending
>with "CLEANING".
OK - [assuming no warning messages] zebra appears to have completed the
indexing ...
>Still no books revealed in the OPAC.
In your staff interface (koha-admin), if you put the single letter "a" (no
quotes) in the "Search catalogue" box, what do you get? Please ensure
that in Home> Administration> System Preferences> Searching> that the
"Nozebra" preference is set to _Use_ the Zebra search engine.
Paul
>Thanks,
>/ Bruce /
>Bruce A. Metcalf
>Library Director
>Augustan Society Library
>
>
>>At 12:17 PM 1/21/2012 -0500, Chris Nighswonger wrote:
>>>Hi Bruce,
>>>
>>>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.
>>>
>>>If the paths you selected are correct, then I'm out of ideas for the moment.
>>>
>>>Kind Regards,
>>>Chris
>>>
>>>
>>>On Sat, Jan 21, 2012 at 10:16 AM, Bruce A Metcalf
>>><Consuls at augustansociety.org <mailto:Consuls at augustansociety.org>> wrote:
>>>
>>> Chris Nighswonger wrote: Have a read at these FAQ's:
>>>
>>> http://koha-community.org/documentation/faq/searching/ Pay
>>> careful attention to the solution for question #4. It appears
>>> you've not exported the proper env vars.
>>>
>>>
>>>It sounds like you're recommending:
>>>
>>> 1. Check that you are exporting the two environmental
>>> variables necessary to run Koha scripts from the command line. These are
>>> (modify to fit paths on your system):
>>> PERL5LIB=/path/to/koha KOHA_CONF=/path/to/koha-conf.xml
>>>
>>>
>>>Which sounds not unreasonable. I set:
>>>
>>>KOHA_CONF=/etc/koha/koha-conf.xml
>>>
>>>Which seems reasonable. I then set:
>>>
>>>PERL5LIB=/usr/share/koha/lib
>>>
>>>I chose this because the failure message for rebuild_zebra.pl
>>><http://rebuild_zebra.pl> claims it can't locate C4/Context.pm in @INC,
>>>which includes /etc/perl, and where that file can be found.
>>>
>>>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 rebuild_zebra.pl <http://rebuild_zebra.pl>.
>>>
>>>I *did* warn y'all I was a newbie....
>>>
>>>With thanks,
>>>
>>>/ Bruce /
>>>Bruce A. Metcalf
>>>Library Director
>>>The Augustan Society Library
>>>
>>> On Fri, Jan 20, 2012 at 9:01 PM, Bruce Metcalf
>>> <bruce.metcalf at figzu.com <mailto:bruce.metcalf at figzu.com>
>>> <mailto:bruce.metcalf at figzu.com>> wrote:
>>> à à Eric Bégin wrote:
>>> Ã Ã Ã Ã Ã Ã All three commands fail with a variety of
>>> messages, but all à à à à à à include "file not found".
>>> Ã Ã Ã Ã Indeed, that doesn't look good.
>>> Ã Ã Ã Ã Can you provide the full output of the rebuild_zebra -b
>>> -r -v
>>> Ã Ã
>>> bruce at library:/usr/share/__koha4/bin/migration_tools$ Ã Ã
>>> rebuild_zebra.pl <http://rebuild_zebra.pl>
>>> <http://rebuild_zebra.pl <http://rebuild_zebra.pl/>> -b -r -v
>>> Ã Ã Can't locate Koha.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
>>> <http://rebuild_zebra.pl> Ã Ã <http://rebuild_zebra.pl
>>> <http://rebuild_zebra.pl/>> line 5.
>>> Ã Ã BEGIN failed--compilation aborted at ./rebuild_zebra.pl
>>> <http://rebuild_zebra.pl> Ã Ã <http://rebuild_zebra.pl
>>> <http://rebuild_zebra.pl/>> line 5.
>>> Ã Ã Hope that helps, Ã Ã Bruce
>>>
>>> Ã Ã Ã Ã On 2012-01-19 09 <tel:2012-01-19%2009>
>>> <tel:2012-01-19%2009>:41, Bruce Metcalf
>>> wrote: Ã Ã Ã Ã Ã Ã Bruce Metcalf wrote:
>>> Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã I am a new user of Koha, and
>>> have had
>>> my Linux guru à à à à à à à à à à (who had
>>> not à à à à à à à à à à seen Koha prior to this
>>> work) install
>>> version 3.6.2 Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã under
>>> Debian à à à à à à à à à à Squeeze on an
>>> otherwise empty virtual
>>> server.
>>> Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã All appears to be going
>>> exactly as it
>>> should.
>>> Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã owever, the public OPAC shows no
>>> books in the à à à à à à à à à à collection.
>>> à à à à à à Eric Bégin wrote:
>>> Ã Ã Ã Ã Ã Ã Ã Ã Get a look at this link. It shows
>>> the most
>>> common à à à à à à à à problems when
>>> you à à à à à à à à get not result in the OPAC.
>>> Ã Ã Ã Ã Ã Ã Ã Ã
>>> http://koha-community.org/__documentation/faq/searching/
>>> Ã Ã Ã Ã Ã Ã Ã Ã
>>> <http://koha-community.org/documentation/faq/searching/>
>>> Ã Ã Ã Ã Ã Ã Ã Ã Don't hesitate to come back and ask for
>>> more info if à à à à à à à à this link doesn't
>>> solve your problem.
>>> Ã Ã Ã Ã Ã Ã This page seems to suggest:
>>> Ã Ã Ã Ã Ã Ã zebraidx -x /.../zebra-biblios.cfg drop biblios
>>> zebraidx -c à à à à à à /.../zebra-biblios.cfg
>>> commit rebuild_zebra.pl
>>> <http://rebuild_zebra.pl> Ã Ã Ã Ã Ã Ã
>>> <http://rebuild_zebra.pl>> <http://rebuild_zebra.pl/>> -b -r -v
>>>
>>> Ã Ã Ã Ã Ã Ã All three commands fail with a variety of
>>> messages, but all à à à à à Ã
>>> include à à à à à à "file not found".
>>> Ã Ã Ã Ã Ã Ã I'm thinking that there is an important
>>> configuration or à à à à à à initialization that
>>> hasn't been completed?
>>> Ã Ã Ã Ã Ã Ã Regards, / Bruce / Bruce A. Metcalf Executive
>>> Director The à à à à à Ã
>>> Augustan à à à à à à Society Library
>>
>>---
>>Maritime heritage and history, preservation and conservation,
>>research and education through the written word and the arts.
>><http://UltraMarine.ca>, <http://AandC.org> and <http://MarDoc.ca>
More information about the Koha
mailing list