[Koha] Zebra Rebuild error...

Layale Bassil lb26 at aub.edu.lb
Mon Jun 23 17:31:56 NZST 2014


Thank you Paul. Knowing that the rebuild was successful now, does it matter which user was used to do the rebuild? We are not getting any error while rebuilding.

But my problem now is that the search is still not returning any hit even though the database contains 19000 records and the rebuild was successful! I would appreciate your suggestions on this matter!

How can I fix the search in such a case?

Many thanks,
Layale.

-----Original Message-----
From: Koha [mailto:koha-bounces at lists.katipo.co.nz] On Behalf Of Paul A
Sent: Friday, June 20, 2014 4:55 PM
To: koha at lists.katipo.co.nz
Subject: Re: [Koha] Zebra Rebuild error...

At 02:41 PM 6/20/2014 +0300, Layale Bassil wrote:
>Hello Phillip,
>
>Thanks a lot for the support. Yes I used to be able to rebuild Zebra 
>many times, and before getting the error, I did many rebuilds.
>
>Since I had no root privileges, I asked the support team to do the 
>rebuild using the sudo -s and the rebuild was successful.

I may very well be wrong if your installation was not done with the tarball (I have no experience whatsoever with "packages"), but you should use your koha/zebra user to reindex, not root. It sounds as though your permissions may be wrong.

Best -- Paul


>My problem now is that the search is still not returning any hit 
>eventhough the database contains 19000 records and the rebuild was 
>successful! I would appreciate your suggestions on this matter!
>
>How can I fix the search in such a case?
>
>Many thanks,
>Layale.
>
>From: Phillip Ponchot [mailto:pponchot at live.com]
>Sent: Thursday, June 19, 2014 5:51 PM
>To: Layale Bassil; koha at lists.katipo.co.nz
>Subject: RE: [Koha] Zebra Rebuild error...
>Importance: High
>
>Have you ever rebuilt Koha Zebra before?
>
>The errors that you're getting reminds me of the first time I tried to 
>rebuild zebra (ubuntu ).  There was a rights issue.
>
>To rebuild zebra on ubuntu you have to use sudo -s with the rebuild 
>command or you get a ton of errors and a failure.
>
>Hope this helps.
>
>
>Phillip
> > From: lb26 at aub.edu.lb<mailto:lb26 at aub.edu.lb>
> > To: koha at lists.katipo.co.nz<mailto:koha at lists.katipo.co.nz>
> > Date: Thu, 19 Jun 2014 13:28:44 +0300
> > Subject: [Koha] Zebra Rebuild error...
> >
> > Hello,
> >
> > I am using Koha 3.14 and importing data into it. Everything was 
> > working
> properly until I tried to rebuild zebra after having around 19000 
> records and I got the following error (a part of the error):
> >
> > *** stack smashing detected ***: zebraidx terminated ======= 
> > Backtrace: ========= 
> > /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7f9215503807]
> > /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x0)[0x7f92155037d0]
> > /usr/lib/libidzebra-2.0.so.0(+0x17007)[0x7f9215b5d007]
> > /usr/lib/libidzebra-2.0.so.0(+0x1712b)[0x7f9215b5d12b]
> > /usr/lib/libidzebra-2.0.so.0(heap_cread_item2+0xf2)[0x7f9215b5d2b2]
> > /usr/lib/libidzebra-2.0.so.0(isamb_merge+0x5b)[0x7f9215b89c8b]
> > /usr/lib/libidzebra-2.0.so.0(heap_inpb+0x193)[0x7f9215b5da23]
> > /usr/lib/libidzebra-2.0.so.0(zebra_index_merge+0x258)[0x7f9215b5de38
> > ] /usr/lib/libidzebra-2.0.so.0(+0x298df)[0x7f9215b6f8df]
> > /usr/lib/libidzebra-2.0.so.0(zebra_end_transaction+0x11d)[0x7f9215b7
> > 326d] 
> > /usr/lib/libidzebra-2.0.so.0(zebra_end_trans+0x31)[0x7f9215b733d1]
> > zebraidx[0x401884]
> > /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7f921541a7
> > 6d]
> > zebraidx[0x401a0d]
> > ======= Memory map: ========
> > 00400000-00403000 r-xp 00000000 08:01 1479 /usr/bin/zebraidx-2.0
> > 00602000-00603000 r--p 00002000 08:01 1479 /usr/bin/zebraidx-2.0
> > 00603000-00604000 rw-p 00003000 08:01 1479 /usr/bin/zebraidx-2.0
> > 009b9000-012d6000 rw-p 00000000 00:00 0 [heap]
> > 7f9208000000-7f92082f4000 rw-p 00000000 00:00 0
> > 7f92082f4000-7f920c000000 ---p 00000000 00:00 0
> > 7f920c25c000-7f920db5d000 rw-p 00000000 00:00 0
> > 7f920db5d000-7f920db5e000 ---p 00000000 00:00 0
> > 7f920db5e000-7f920fc5f000 rw-p 00000000 00:00 0 [stack:11507]
> >
> >
> > I cannot search koha anymore as the rebuild is crashing. Is there 
> > any
> limitation on the number of records that Koha can accept? How can I 
> fix this error?
> >
> > Please advise,
> >
> > Thanks and regards.
> > Layale.
> > _______________________________________________
> > Koha mailing list http://koha-community.org 
> > Koha at lists.katipo.co.nz<mailto:Koha at lists.katipo.co.nz>
> > http://lists.katipo.co.nz/mailman/listinfo/koha
>_______________________________________________
>Koha mailing list  http://koha-community.org Koha at lists.katipo.co.nz 
>http://lists.katipo.co.nz/mailman/listinfo/koha

---
Maritime heritage and history, preservation and conservation, research and education through the written word and the arts.
<http://NavalMarineArchive.com> and <http://UltraMarine.ca>

_______________________________________________
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