[Koha] catalogue search

Chris Nighswonger cnighswonger at foundations.edu
Sun Feb 21 01:33:21 NZDT 2010


Hi Nouman,

You need to:

1. su to your kohauser.
2. export the two env vars mentioned previously.
3. run 'perl /usr/share/koha/bin/migration_tools/rebuild_zebra.pl -a -b -r -v'
4. 'exit' to drop back to your user

Kind Regards,
Chris




2010/2/20 Nouman Soomro <noumansoomro at rocketmail.com>:
> Search from z39.50 is working. but search from my system is not working.
> books store in my database do not show in search
>
> ________________________________
> From: Koustubha Kale <kmkale at anantcorp.com>
> To: Nouman Soomro <noumansoomro at rocketmail.com>
> Cc: "koha at lists.katipo.co.nz" <koha at lists.katipo.co.nz>
> Sent: Fri, February 19, 2010 12:02:46 AM
> Subject: Re: FAST index still show problem
>
> Is catalouge search working on the server itself?
>
> Regards,
> Koustubha Kale
> Anant Corporation
>
> Contact Details :
> Address  : 103, Armaan Residency, R. W Sawant Road, Nr. Golden Dyes Naka,
> Thane (w),
>         Maharashtra, India, Pin : 400601.
> TeleFax  : +91-22-21720108, +91-22-21720109
> Mobile     : +919820715876
> Website  : http://www.anantcorp.com
> Blog : http://www.anantcorp.com/blog/?author=2
> Sent from Mumbai, MH, India
>
> On Fri, Feb 19, 2010 at 12:03 PM, Nouman Soomro
> <noumansoomro at rocketmail.com> wrote:
>>
>> Thank u. It is working.
>> but catalogue search from my system is not working yet. what should I do
>> now
>>
>> ________________________________
>> From: Koustubha Kale <kmkale at anantcorp.com>
>> To: Nouman Soomro <noumansoomro at rocketmail.com>
>> Sent: Thu, February 18, 2010 9:56:56 PM
>> Subject: Re: FAST index still show problem
>>
>> run the complete command as shown below.. ( its all one single line. If
>> email breaks it please correct it).
>>
>> sudo KOHA_CONF=/etc/koha/koha-conf.xml PERL5LIB=/usr/share/koha/lib
>> /usr/share/koha/bin/migration_tools/rebuild_zebra.pl -b -w -v
>>
>> Regards,
>> Koustubha Kale
>> Anant Corporation
>>
>> Contact Details :
>> Address  : 103, Armaan Residency, R. W Sawant Road, Nr. Golden Dyes Naka,
>> Thane (w),
>>         Maharashtra, India, Pin : 400601.
>> TeleFax  : +91-22-21720108, +91-22-21720109
>> Mobile     : +919820715876
>> Website  : http://www.anantcorp.com
>> Blog : http://www.anantcorp.com/blog/?author=2
>> Sent from Mumbai, MH, India
>>
>> On Fri, Feb 19, 2010 at 11:12 AM, Nouman Soomro
>> <noumansoomro at rocketmail.com> wrote:
>>>
>>> still show problem
>>>  /usr/share/koha/bin/migration_tools/rebuild_zebra.pl -b -w -v
>>> Zebra configuration information
>>> ================================
>>> Zebra biblio directory      = /var/lib/koha/zebradb/biblios
>>> Zebra authorities directory = /var/lib/koha/zebradb/authorities
>>> Koha directory              = /usr/share/koha/intranet/cgi-bin
>>> BIBLIONUMBER in :     999$c
>>> BIBLIOITEMNUMBER in : 999$d
>>> ================================
>>> skipping authorities
>>> ====================
>>> exporting biblio
>>> ====================
>>> 1............
>>> Records exported: 13
>>> ====================
>>> REINDEXING zebra
>>> ====================
>>> 14:38:49-17/02 zebraidx(17908) [log] zebra_start 2.0.43
>>> abd433d1a315576cf1f4a53f2c70365f9a76477f
>>> 14:38:49-17/02 zebraidx(17908) [log] config
>>> /etc/koha/zebradb/zebra-biblios.cfg
>>> 14:38:49-17/02 zebraidx(17908) [log] Loaded filter module
>>> /usr/lib/idzebra-2.0/modules/mod-grs-xml.so
>>> 14:38:49-17/02 zebraidx(17908) [log] Loaded filter module
>>> /usr/lib/idzebra-2.0/modules/mod-grs-regx.so
>>> 14:38:49-17/02 zebraidx(17908) [log] Loaded filter module
>>> /usr/lib/idzebra-2.0/modules/mod-text.so
>>> 14:38:49-17/02 zebraidx(17908) [log] Loaded filter module
>>> /usr/lib/idzebra-2.0/modules/mod-dom.so
>>> 14:38:49-17/02 zebraidx(17908) [log] Loaded filter module
>>> /usr/lib/idzebra-2.0/modules/mod-alvis.so
>>> 14:38:49-17/02 zebraidx(17908) [log] Loaded filter module
>>> /usr/lib/idzebra-2.0/modules/mod-grs-marc.so
>>> 14:38:49-17/02 zebraidx(17908) [warn] zebra_lock_create fail
>>> fname=/var/lock/koha/zebradb/biblios/norm..LCK [Permission denied]
>>> 14:38:49-17/02 zebraidx(17908) [warn] zebra_lock_create fail
>>> fname=/var/lock/koha/zebradb/biblios/shadow..LCK [Permission denied]
>>> 14:38:49-17/02 zebraidx(17908) [fatal] Could not select database biblios
>>> errCode=109
>>> ====================
>>> CLEANING
>>> ====================
>>>
>>> or
>>> sudo /usr/share/koha/bin/migration_tools/rebuild_zebra.pl -b -w -v
>>> Can't locate C4/Context.pm in @INC (@INC contains: /etc/perl
>>> /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5
>>> /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
>>> /usr/local/lib/site_perl .) at
>>> /usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 5.
>>> BEGIN failed--compilation aborted at
>>> /usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 5.
>>>
>>>
>>>
>>>
>>> ________________________________
>>> From: Koustubha Kale <kmkale at anantcorp.com>
>>> To: Nouman Soomro <noumansoomro at rocketmail.com>
>>> Cc: Koha list <koha at lists.katipo.co.nz>
>>> Sent: Thu, February 18, 2010 9:33:01 PM
>>> Subject: Re: [Koha] FAST index still show problem
>>>
>>> Try this..
>>>
>>> sudo KOHA_CONF=/etc/koha/koha-conf.xml PERL5LIB=/usr/share/koha/lib
>>> /usr/share/koha/bin/migration_tools/rebuild_zebra.pl -b -w -v
>>>
>>> Regards,
>>> Koustubha Kale
>>> Anant Corporation
>>>
>>> Contact Details :
>>> Address  : 103, Armaan Residency, R. W Sawant Road, Nr. Golden Dyes Naka,
>>> Thane (w),
>>>         Maharashtra, India, Pin : 400601.
>>> TeleFax  : +91-22-21720108, +91-22-21720109
>>> Mobile     : +919820715876
>>> Website  : http://www.anantcorp.com
>>> Blog : http://www.anantcorp.com/blog/?author=2
>>> Sent from Mumbai, MH, India
>>>
>>> On Fri, Feb 19, 2010 at 10:40 AM, Nouman Soomro
>>> <noumansoomro at rocketmail.com> wrote:
>>>>
>>>> nouman at lumhs-b70715be2:/usr/share/koha$
>>>> bin/migration_tools/rebuild_zebra.pl -b -w
>>>> 14:07:13-17/02 zebraidx(17848) [warn] zebra_lock_create fail
>>>> fname=/var/lock/koha/zebradb/biblios/norm..LCK [Permission denied]
>>>> 14:07:13-17/02 zebraidx(17848) [warn] zebra_lock_create fail
>>>> fname=/var/lock/koha/zebradb/biblios/shadow..LCK [Permission denied]
>>>> 14:07:13-17/02 zebraidx(17848) [fatal] Could not select database biblios
>>>> errCode=109
>>>>
>>>>
>>>> ________________________________
>>>> From: Koustubha Kale <kmkale at anantcorp.com>
>>>> To: Nouman Soomro <noumansoomro at rocketmail.com>
>>>> Cc: "koha at lists.katipo.co.nz" <koha at lists.katipo.co.nz>
>>>> Sent: Thu, February 18, 2010 3:12:50 AM
>>>> Subject: Re: [Koha] FAST index still show problem
>>>>
>>>> 2010/2/18 Nouman Soomro <noumansoomro at rocketmail.com>
>>>>>
>>>>> /usr/share/koha$ bin/migration_tools/rebuild_zebra.pl -b -w
>>>>>
>>>>> Can't locate C4/Context.pm in @INC (@INC contains: /etc/perl
>>>>> /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5
>>>>> /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
>>>>> /usr/local/lib/site_perl .) at bin/migration_tools/rebuild_zebra.pl line 5.
>>>>> BEGIN failed--compilation aborted at
>>>>> bin/migration_tools/rebuild_zebra.pl line 5.
>>>>>
>>>>
>>>>
>>>> export KOHA_CONF=/etc/koha/koha-conf.xml
>>>> export PERL5LIB=/usr/share/koha/lib
>>>>
>>>> then run bin/migration_tools/rebuild_zebra.pl -b -w
>>>>
>>>>
>>>> Regards,
>>>> Koustubha Kale
>>>>
>>>>
>>>
>>>
>>
>>
>
>
>
> _______________________________________________
> Koha mailing list
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
>
>


More information about the Koha mailing list