From sarwarazhar55 at gmail.com Mon Sep 2 09:23:57 2013 From: sarwarazhar55 at gmail.com (Sarwar421) Date: Mon, 2 Sep 2013 00:23:57 -0700 (PDT) Subject: [Koha-zebra] Zebra Indexing Issue ( Records does not appear in the catalog) Message-ID: <1378106637002-5768903.post@n5.nabble.com> Dear All, I am facing an issue in koha. I have successfully imported the marc records in koha . But when i try to search them it wont appear in the result . But i can see these records in reservoir. My zebra file is running properly (I have checked it using this command 'ps -ef | grep zebrasrv' ). When it try to run this command for indexing 'perl/home/koha/kohaclone/misc/migration_tools/*rebuild_zebra.pl ?a ?b ?z*' it just take few seconds to execute ( only 33 records were imported) but no output comes in return. But when i change parameters as *'rebuild_zebra.pl -b -r -v'* it gives me the following output. 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: 33 ==================== REINDEXING zebra ==================== ==================== CLEANING ==================== It seems like the script performs the indexing but i don't know why i am still not be able to see my records .. Any help on this would be appreciate able.As i am stuck in this and could not find any proper solution. Regards Sarwar -- View this message in context: http://koha.1045719.n5.nabble.com/Zebra-Indexing-Issue-Records-does-not-appear-in-the-catalog-tp5768903.html Sent from the Koha-zebra mailing list archive at Nabble.com. From paul.poulain at biblibre.com Mon Sep 2 12:07:02 2013 From: paul.poulain at biblibre.com (Paul Poulain) Date: Mon, 02 Sep 2013 12:07:02 +0200 Subject: [Koha-zebra] Zebra Indexing Issue ( Records does not appear in the catalog) In-Reply-To: <1378106637002-5768903.post@n5.nabble.com> References: <1378106637002-5768903.post@n5.nabble.com> Message-ID: <52246346.50402@biblibre.com> Le 02/09/2013 09:23, Sarwar421 a ?crit : > Dear All, > > I am facing an issue in koha. I have successfully imported the marc records > in koha . But when i try to search them it wont appear in the result . But i > can see these records in reservoir. My zebra file is running properly (I > have checked it using this command 'ps -ef | grep zebrasrv' ). > When it try to run this command for indexing > 'perl/home/koha/kohaclone/misc/migration_tools/*rebuild_zebra.pl ?a ?b ?z*' > > it just take few seconds to execute ( only 33 records were imported) but no > output comes in return. But when i change parameters as *'rebuild_zebra.pl > -b -r -v'* > it gives me the following output. > It seems like the script performs the indexing but i don't know why i am > still not be able to see my records .. > Any help on this would be appreciate able.As i am stuck in this and could > not find any proper solution. My bet is that zebraidx is not in your PATH. The rebuild_zebra.pl does : * check koha parameters & display them * export your catalogue in iso2709 or XML (if -x), that's what > exporting biblio > ==================== > 1................................ > Records exported: 33 reports * launches zebraidx with a reset parameter if -r flag is provided * launches zebraidx with the exported iso2709/XML When it is completly silent, the most probable reason is that zebraidx can't be found. If there's something wrong in your exported datas, you would have get some hard-to-understand feedback from zebra. HTH -- Paul POULAIN - Associ?-g?rant Tel : (33) 4 91 81 35 08 http://www.biblibre.com Logiciels Libres pour les biblioth?ques et les centres de documentation From sarwarazhar55 at gmail.com Mon Sep 2 12:14:39 2013 From: sarwarazhar55 at gmail.com (Sarwar421) Date: Mon, 2 Sep 2013 03:14:39 -0700 (PDT) Subject: [Koha-zebra] Zebra Indexing Issue ( Records does not appear in the catalog) In-Reply-To: <52246346.50402@biblibre.com> References: <1378106637002-5768903.post@n5.nabble.com> <52246346.50402@biblibre.com> Message-ID: <1378116879380-5768912.post@n5.nabble.com> Hi, Thanks for the reply. You said 'zebraidx is not in your PATH. ' . I don't understand that. Can you please help me out how to check it and what should be the steps , i need to perform in order to run it properly?? Regards Sarwar -- View this message in context: http://koha.1045719.n5.nabble.com/Zebra-Indexing-Issue-Records-does-not-appear-in-the-catalog-tp5768903p5768912.html Sent from the Koha-zebra mailing list archive at Nabble.com. From paul.poulain at biblibre.com Mon Sep 2 12:25:41 2013 From: paul.poulain at biblibre.com (Paul Poulain) Date: Mon, 02 Sep 2013 12:25:41 +0200 Subject: [Koha-zebra] Zebra Indexing Issue ( Records does not appear in the catalog) In-Reply-To: <1378116879380-5768912.post@n5.nabble.com> References: <1378106637002-5768903.post@n5.nabble.com> <52246346.50402@biblibre.com> <1378116879380-5768912.post@n5.nabble.com> Message-ID: <522467A5.6020400@biblibre.com> Le 02/09/2013 12:14, Sarwar421 a ?crit : > Hi, > Thanks for the reply. You said 'zebraidx is not in your PATH. ' . I don't > understand that. Can you please help me out how to check it and what should > be the steps , i need to perform in order to run it properly?? the steps, I can't tell you because I don't know your env. What I can say is that zebraidx can be found, on *my* laptop with: koha at demo34-sandbox:~/src$ which zebraidx /usr/bin/zebraidx for explanations about the PATH, RTFM = http://www.faqs.org/docs/Linux-mini/Path.html -- Paul POULAIN - Associ?-g?rant Tel : (33) 4 91 81 35 08 http://www.biblibre.com Logiciels Libres pour les biblioth?ques et les centres de documentation From starsid at gmail.com Mon Sep 2 14:00:11 2013 From: starsid at gmail.com (starsid) Date: Mon, 2 Sep 2013 05:00:11 -0700 (PDT) Subject: [Koha-zebra] Zebra Indexing Issue ( Records does not appear in the catalog) In-Reply-To: <1378106637002-5768903.post@n5.nabble.com> References: <1378106637002-5768903.post@n5.nabble.com> Message-ID: <1378123211609-5768916.post@n5.nabble.com> I had the same problem when I first set up my Koha. Turned out I was using different encodings - I selected unimarc in the web based installer but my command line installation had the default encoding, MARC 21. Please ensure that you select the same encodings in both setup processes. -- View this message in context: http://koha.1045719.n5.nabble.com/Zebra-Indexing-Issue-Records-does-not-appear-in-the-catalog-tp5768903p5768916.html Sent from the Koha-zebra mailing list archive at Nabble.com. From sarwarazhar55 at gmail.com Tue Sep 3 07:42:02 2013 From: sarwarazhar55 at gmail.com (Sarwar421) Date: Mon, 2 Sep 2013 22:42:02 -0700 (PDT) Subject: [Koha-zebra] Zebra Indexing Issue ( Records does not appear in the catalog) In-Reply-To: <1378123211609-5768916.post@n5.nabble.com> References: <1378106637002-5768903.post@n5.nabble.com> <1378123211609-5768916.post@n5.nabble.com> Message-ID: <1378186922528-5768950.post@n5.nabble.com> Many Many thanks for your help guys. I have successfully resolved the issue. Actually zebraidk path was already set there But when i checked the error log file of koha i came to know that there are files in zebradb folder ('/var/lock/koha/zebradb') that were causing errors. When i ran these files it shows me the error of 'Permission Denied' . I gave rights to this folder and ran my rebuild_zebra.pl again and it works fine and now i can see all the records in my catalog. :) :) Thanks again for all the help. Cheers.. -- View this message in context: http://koha.1045719.n5.nabble.com/Zebra-Indexing-Issue-Records-does-not-appear-in-the-catalog-tp5768903p5768950.html Sent from the Koha-zebra mailing list archive at Nabble.com.