Re: [Koha] Zebra Rebuild error...

2014-06-27 Thread Paul A

At 08:31 AM 6/23/2014 +0300, Layale Bassil wrote:
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?


[N.B. v3.8] What happens if you:

su koha (or whatever other user you set up)
cd /usr/share/koha
./bin/migration_tools/rebuild_zebra.pl -a -r -v
./bin/migration_tools/rebuild_zebra.pl -b -r -v -x

You should end up with something like:


CLEANING

koha@[my_server_name]:/usr/share/koha$

If you get any errors, please let us know (together with which version of 
Koha and Ubuntu you are using.)


Best -- Paul
(sorry for delay; koha has been on the back-burner due to other priorities)



Many thanks,
Layale.

-Original Message-
From: Koha [mailto:koha-boun...@lists.katipo.co.nz] On Behalf Of Paul A
Sent: Friday, June 20, 2014 4:55 PM
To: koha@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:pponc...@live.com]
Sent: Thursday, June 19, 2014 5:51 PM
To: Layale Bassil; koha@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: l...@aub.edu.lbmailto:l...@aub.edu.lb
  To: koha@lists.katipo.co.nzmailto:koha@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: 
  0040-00403000 r-xp  08:01 1479 /usr/bin/zebraidx-2.0
  00602000-00603000 r--p 2000 08:01 1479 /usr/bin/zebraidx-2.0
  00603000-00604000 rw-p 3000 08:01 1479 /usr/bin/zebraidx-2.0
  009b9000-012d6000 rw-p  00:00 0 [heap]
  7f920800-7f92082f4000 rw-p  00:00 0
  7f92082f4000-7f920c00 ---p  00:00 0
  7f920c25c000-7f920db5d000 rw-p  00:00 0
  7f920db5d000-7f920db5e000 ---p  00:00 0
  7f920db5e000-7f920fc5f000 rw-p  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@lists.katipo.co.nzmailto:Koha@lists.katipo.co.nz
  http://lists.katipo.co.nz/mailman/listinfo/koha
___
Koha mailing list  http://koha-community.org Koha@lists.katipo.co.nz
http

Re: [Koha] Zebra Rebuild error...

2014-06-20 Thread Layale Bassil
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.

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:pponc...@live.com]
Sent: Thursday, June 19, 2014 5:51 PM
To: Layale Bassil; koha@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: l...@aub.edu.lbmailto:l...@aub.edu.lb
 To: koha@lists.katipo.co.nzmailto:koha@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)[0x7f9215b7326d]
 /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)[0x7f921541a76d]
 zebraidx[0x401a0d]
 === Memory map: 
 0040-00403000 r-xp  08:01 1479 /usr/bin/zebraidx-2.0
 00602000-00603000 r--p 2000 08:01 1479 /usr/bin/zebraidx-2.0
 00603000-00604000 rw-p 3000 08:01 1479 /usr/bin/zebraidx-2.0
 009b9000-012d6000 rw-p  00:00 0 [heap]
 7f920800-7f92082f4000 rw-p  00:00 0
 7f92082f4000-7f920c00 ---p  00:00 0
 7f920c25c000-7f920db5d000 rw-p  00:00 0
 7f920db5d000-7f920db5e000 ---p  00:00 0
 7f920db5e000-7f920fc5f000 rw-p  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@lists.katipo.co.nzmailto:Koha@lists.katipo.co.nz
 http://lists.katipo.co.nz/mailman/listinfo/koha
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Zebra Rebuild error...

2014-06-20 Thread Paul A

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:pponc...@live.com]
Sent: Thursday, June 19, 2014 5:51 PM
To: Layale Bassil; koha@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: l...@aub.edu.lbmailto:l...@aub.edu.lb
 To: koha@lists.katipo.co.nzmailto:koha@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)[0x7f9215b7326d]
 /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)[0x7f921541a76d]
 zebraidx[0x401a0d]
 === Memory map: 
 0040-00403000 r-xp  08:01 1479 /usr/bin/zebraidx-2.0
 00602000-00603000 r--p 2000 08:01 1479 /usr/bin/zebraidx-2.0
 00603000-00604000 rw-p 3000 08:01 1479 /usr/bin/zebraidx-2.0
 009b9000-012d6000 rw-p  00:00 0 [heap]
 7f920800-7f92082f4000 rw-p  00:00 0
 7f92082f4000-7f920c00 ---p  00:00 0
 7f920c25c000-7f920db5d000 rw-p  00:00 0
 7f920db5d000-7f920db5e000 ---p  00:00 0
 7f920db5e000-7f920fc5f000 rw-p  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@lists.katipo.co.nzmailto:Koha@lists.katipo.co.nz
 http://lists.katipo.co.nz/mailman/listinfo/koha
___
Koha mailing list  http://koha-community.org
Koha@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@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


[Koha] Zebra Rebuild error...

2014-06-19 Thread Layale Bassil
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)[0x7f9215b7326d]
/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)[0x7f921541a76d]
zebraidx[0x401a0d]
=== Memory map: 
0040-00403000 r-xp  08:01 1479   
/usr/bin/zebraidx-2.0
00602000-00603000 r--p 2000 08:01 1479   
/usr/bin/zebraidx-2.0
00603000-00604000 rw-p 3000 08:01 1479   
/usr/bin/zebraidx-2.0
009b9000-012d6000 rw-p  00:00 0  [heap]
7f920800-7f92082f4000 rw-p  00:00 0
7f92082f4000-7f920c00 ---p  00:00 0
7f920c25c000-7f920db5d000 rw-p  00:00 0
7f920db5d000-7f920db5e000 ---p  00:00 0
7f920db5e000-7f920fc5f000 rw-p  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@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Zebra Rebuild error...

2014-06-19 Thread Arslan Farooq
Hi Layale,

It's always a good idea to include details about Koha set-up such as
whether it is a package install or tarball install. Also are you on Ubuntu?
I'm asking as it might help others troubleshoot the problem... because a
quick Google revealed this
http://koha.1045719.n5.nabble.com/Stack-Smashing-td3069232.html

Answer to whether you are using icu or not may also help others.

Good luck,
Arslan
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Zebra Rebuild error...

2014-06-19 Thread Phillip Ponchot
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: l...@aub.edu.lb
 To: koha@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)[0x7f9215b7326d]
 /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)[0x7f921541a76d]
 zebraidx[0x401a0d]
 === Memory map: 
 0040-00403000 r-xp  08:01 1479   
 /usr/bin/zebraidx-2.0
 00602000-00603000 r--p 2000 08:01 1479   
 /usr/bin/zebraidx-2.0
 00603000-00604000 rw-p 3000 08:01 1479   
 /usr/bin/zebraidx-2.0
 009b9000-012d6000 rw-p  00:00 0  
 [heap]
 7f920800-7f92082f4000 rw-p  00:00 0
 7f92082f4000-7f920c00 ---p  00:00 0
 7f920c25c000-7f920db5d000 rw-p  00:00 0
 7f920db5d000-7f920db5e000 ---p  00:00 0
 7f920db5e000-7f920fc5f000 rw-p  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@lists.katipo.co.nz
 http://lists.katipo.co.nz/mailman/listinfo/koha
  
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Zebra rebuild error

2013-08-30 Thread Paul

At 11:47 AM 8/30/2013 +0530, rocky bang wrote:

hi everyone,
I have koha 3.8 install on server.


It would be helpful if you could be a little more precise:

3.8 - which release, 3.8.1 ... 3.8.17 ?
server - what operating system and version? Your own? Hosted elsewhere? VM?
kohaclone - why? and how set up?

You say at the end of your email that you are having problems in 
production, but you also state Zebra biblio directory = 
/etc/conf/koha-dev-domv/var/lib/zebradb/biblios which does not look like a 
production environment...


You obviously have a fairly sizeable db (21,928 biblios). Has this been 
indexable on any other version of Koha? Where did it come from? And when 
was it last useable?


You tried misc/migration_tools/rebuild_zebra.pl -b -r -v (obviously with 
partial success), but *perhaps* a more normal production environment 
would use ./bin/migration_tools/rebuild_zebra.pl -b -r -v -x


We've been running a totally stable 3.8.5 in production for about a year 
now (so might just be able to help) but your environment looks very, very 
different.


Paul


I tried to reindex the zebra server using following commands.
export KOHA_CONF=/path to .xml file
export PERL5LIB=/path to kohaclone

perl misc/migration_tools/rebuild_zebra.pl -b -r -v

and it starts reindexing but i got following errors:

Zebra configuration information



Zebra biblio directory = /etc/conf/koha-dev-domv/var/lib/zebradb/biblios

Zebra authorities directory =
/etc/conf/koha-dev-domv/var/lib/zebradb/authorities

Koha directory = /opt/kohaclone

BIBLIONUMBER in : 999$c

BIBLIOITEMNUMBER in : 999$d



skipping authorities



exporting biblio



21901


Records exported: 21928



REINDEXING zebra



11:19:48-30/08 zebraidx(8646) [warn] Unknown register type: 0

11:19:48-30/08 zebraidx(8646) [warn] Unknown register type: n

11:19:48-30/08 zebraidx(8646) [warn] Unknown register type: y

11:19:48-30/08 zebraidx(8646) [warn] Unknown register type: d

11:21:00-30/08 zebraidx(8646) [warn] Unknown register type: u

11:21:29-30/08 zebraidx(8646) [warn] MARC: Bad offsets in data. Skipping
rest

11:21:29-30/08 zebraidx(8646) [warn] Record didn't contain match fields in
(bib1,Local-number)



CLEANING



Please help me on urgent basis as I am facing   problem on production.

thanks in advance.
___
Koha mailing list  http://koha-community.org
Koha@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@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


[Koha] Zebra Rebuild Error

2013-05-22 Thread satish
Dear All,


with Debian Squeeze/ Koha 3.12.0,

1. Verified that zebrasrv is running: '$ps -ef | grep zebra'

2.  /etc/koha/zebradb/gedit zebra-biblios.cfg points to
modulePath: /usr/lib/idzebra-2.0/modules

3. but, zebra modules are stored in  /usr/local/lib/idzebra-2.0/modules

4. as a kohauser , run migration_tools/rebuild_zebra.pl -r -a -b -v

I am getting the following error:

root@gechlibrary:/usr/share/koha/bin/migration_tools# sudo -u koha
./rebuild_zebra.pl -r -a -b -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


exporting authority


Records exported: 0

REINDEXING zebra


exporting biblio

1.
Records exported: 2

REINDEXING zebra

13:22:44-21/05 zebraidx(13633) [warn] No such record type: grs.marcxml.record

CLEANING


I followed following link to fix the error:
http://www.librarypolice.com/wiki.koha.org/faqzebra.html

but now, getting another error:
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


exporting authority


Records exported: 0

REINDEXING zebra


exporting biblio

1
Records exported: 1

REINDEXING zebra

16:50:38-22/05 zebraidx(7294) [fatal]
/etc/koha/zebradb/zebra-biblios.cfg:42 missing colon after 'no'
16:50:38-22/05 zebraidx(7294) [fatal] Cannot read config
/etc/koha/zebradb/zebra-biblios.cfg
16:50:38-22/05 zebraidx(7295) [fatal]
/etc/koha/zebradb/zebra-biblios.cfg:42 missing colon after 'no'
16:50:38-22/05 zebraidx(7295) [fatal] Cannot read config
/etc/koha/zebradb/zebra-biblios.cfg

Please advice me how to work with Indexing for getting OPAC to work.
OPAC : throws No results found.

thank you in advance.
satish
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha