[Koha] rebuild_zebra.pl -b -a -z

Abdulsalam Yousef ayousef at kwareict.com
Sat Sep 20 08:12:25 NZST 2014


Did you tried the following commands before reindexing???

zebraidx -c /etc/koha/zebradb/zebra-biblios.cfg -g iso2709 -d biblios init
zebraidx -c /etc/koha/zebradb/zebra-authorities.cfg -g iso2709 -d
authorities init

and what are  owner and permissions of  var/lib/koha/zebradb/biblios/ files
???

On Fri, Sep 19, 2014 at 1:31 PM, Aleya Munira <aleyamunira at gmail.com> wrote:

> Actually it shows the following error---
>
>
>  sudo -u koha zebrasrv -f /etc/koha/koha-conf.xml
> 04:28:47-19/09 [log] zebra_start 2.0.44
> 419ad759807269fdfa379799a051ed3a551c6541
> 04:28:47-19/09 [log] config /etc/koha/zebradb/zebra-biblios-dom.cfg
> 04:28:47-19/09 [log] Loaded filter module
> /usr/lib/idzebra-2.0/modules/mod-dom.so
> 04:28:47-19/09 [log] Loaded filter module
> /usr/lib/idzebra-2.0/modules/mod-grs-regx.so
> 04:28:47-19/09 [log] Loaded filter module
> /usr/lib/idzebra-2.0/modules/mod-text.so
> 04:28:47-19/09 [log] Loaded filter module
> /usr/lib/idzebra-2.0/modules/mod-grs-marc.so
> 04:28:47-19/09 [log] Loaded filter module
> /usr/lib/idzebra-2.0/modules/mod-grs-xml.so
> 04:28:47-19/09 [log] Loaded filter module
> /usr/lib/idzebra-2.0/modules/mod-alvis.so
> 04:28:47-19/09 [log] zebra_start 2.0.44
> 419ad759807269fdfa379799a051ed3a551c6541
> 04:28:47-19/09 [log] config /etc/koha/zebradb/zebra-authorities-dom.cfg
> 04:28:47-19/09 [log] Loaded filter module
> /usr/lib/idzebra-2.0/modules/mod-dom.so
> 04:28:47-19/09 [log] Loaded filter module
> /usr/lib/idzebra-2.0/modules/mod-grs-regx.so
> 04:28:47-19/09 [log] Loaded filter module
> /usr/lib/idzebra-2.0/modules/mod-text.so
> 04:28:47-19/09 [log] Loaded filter module
> /usr/lib/idzebra-2.0/modules/mod-grs-marc.so
> 04:28:47-19/09 [log] Loaded filter module
> /usr/lib/idzebra-2.0/modules/mod-grs-xml.so
> 04:28:47-19/09 [log] Loaded filter module
> /usr/lib/idzebra-2.0/modules/mod-alvis.so
> 04:28:47-19/09 [server] Adding dynamic listener on
> unix:/var/run/koha/zebradb/bibliosocket id=1
> 04:28:47-19/09 [server] Adding dynamic listener on
> unix:/var/run/koha/zebradb/authoritysocket id=2
> 04:28:58-19/09 zebrasrv(1) [session] Session - OK 1
> unix:/var/run/koha/zebradb/bibliosocket 5437
> 04:28:58-19/09 zebrasrv(1) [request] Auth idPass kohauser -
> 04:28:58-19/09 zebrasrv(1) [request] Init OK - ID:81 Name:ZOOM-C/YAZ
> Version:4.2.30 98864b44c654645bc16b2c54f822dc2e45a93031
> 04:28:58-19/09 zebrasrv(1) [warn] Bad magic of `dict'
> 04:28:58-19/09 zebrasrv(1) [warn] dict_open failed
> 04:28:58-19/09 zebrasrv(1) [warn] bad isamb header for file isambA
> 04:28:58-19/09 zebrasrv(1) [warn] isamb_open failed
> 04:28:58-19/09 zebrasrv(1) [request] Search biblios ERROR 109 1 1+0 RPN
> @attrset Bib-1 @attr 1=1016 @attr 4=6 @attr 5=1 a
> 04:28:58-19/09 zebrasrv(1) [session] Connection closed by client
> 04:28:58-19/09 zebrasrv(1) [warn] ir_session (exception)
>
>
>
>
>
>
>
> On Tue, Sep 9, 2014 at 1:55 PM, Abdulsalam Yousef <ayousef at kwareict.com>
> wrote:
>
>> The problem was not indexing using sudo -u koha perl -I ../../lib/
>> rebuild_zebra.pl -b -a -z it was in (recent indexing for new records) we
>> revised users privileges at koha conf. & lock &  zebra files, and set it
>> correctly
>> thanks
>>
>> On Tue, Sep 9, 2014 at 10:48 AM, Indranil Das Gupta <indradg at gmail.com>
>> wrote:
>>
>> > how did you solve the problem?
>> >
>> > On Tue, Sep 9, 2014 at 7:40 AM, Abdulsalam Yousef <ayousef at kwareict.com
>> >
>> > wrote:
>> > > Many thanks for all of you, we solved the problem.
>> > >
>> > > On Tue, Sep 9, 2014 at 10:35 AM, sebastian.krieg at tuz-eisenach.de <
>> > > sebastian.krieg at tuz-eisenach.de> wrote:
>> > >
>> > >> Hello,
>> > >>
>> > >> please send the error messages. You will found them in /var/log/koha,
>> > >> which file
>> > >> is it I don't know in this moment. Look for zebra errors.
>> > >>
>> > >> Sebastian
>> > >>
>> > >> > Abdulsalam Yousef <ayousef at kwareict.com> hat am 8. September 2014
>> um
>> > >> 14:51
>> > >> > geschrieben:
>> > >> >
>> > >> >
>> > >> > Hello,
>> > >> > running
>> > >> >  sudo -u koha perl -I ../../lib/ rebuild_zebra.pl -b -a -z
>> > >> > doesn't rebuild and index new added records
>> > >> > thanks
>> > >> > _______________________________________________
>> > >> > Koha mailing list  http://koha-community.org
>> > >> > Koha at lists.katipo.co.nz
>> > >> > http://lists.katipo.co.nz/mailman/listinfo/koha
>> > >> ___
>> > >> mailto: sebastian.krieg at tuz-eisenach.de
>> > >>
>> > > _______________________________________________
>> > > Koha mailing list  http://koha-community.org
>> > > Koha at lists.katipo.co.nz
>> > > http://lists.katipo.co.nz/mailman/listinfo/koha
>> >
>> >
>> >
>> > --
>> > Indranil Das Gupta
>> >
>> > Phone : +91-98300-20971
>> > Blog    : http://indradg.randomink.org/blog
>> > IRC      : indradg on irc://irc.freenode.net
>> > Twitter : indradg
>> >
>> > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-
>> > Please exchange editable Office documents only in ODF Format. No other
>> > format is acceptable. Support Open Standards.
>> >
>> > For a free editor supporting ODF, please visit LibreOffice -
>> > http://www.documentfoundation.org
>> >
>> _______________________________________________
>> Koha mailing list  http://koha-community.org
>> Koha at lists.katipo.co.nz
>> http://lists.katipo.co.nz/mailman/listinfo/koha
>>
>
>


More information about the Koha mailing list