Hello all, I fixed my last problem and got a passing MARC Bibliographic framework test by doing a query "select tagfield,tagsubfield,kohafield,tab from marc_subfield_structure where tab=10" and removing any duplicate records. I then ran rebuild_zebra again and got a warning "record didn't contain match fields in (bibl,Local-number)". I fixed this by making some changes to the record.abs file at /etc/koha/zebradb/marc_defs/marc21/biblios/. Commented out the part about: melm 999$c Local-number:n,Local-Number:w,Local-Number:s melm 999$d biblioitemnumber:n, biblioitemnumber:w, biblioitemnumber:s and added: melm 090$c biblioitemnumber:n, biblioitemnumber:w, biblioitemnumber:s melm 090$d Local-number:n,Local-Number:w,Local-Number:s Then I restarted the zebra server and ran the rebuild_zebra.pl script. I looked at /var/log/koha/koha-zebradaemon-output.log and saw I had a permission error. So I went to the directory: /var/lock/koha/zebradb/biblio/ and did $chown -R kohaadmin:koha * (as suggested) and changed the ownership of the files from root to my user. Now I am able to search for titles in the Intranet side. Moving on to the OPAC side - I am not able to search yet, but I'm working on it. So that's what I did to fix some of my errors - in case anyone else runs into the same situation. - mc On Thu, Nov 13, 2008 at 10:08 AM, Melisa Canales <mcanales29@gmail.com>wrote:
Hello, Thanks for your response. Checking the error logs is a good idea, but I'm not sure I understand what I am finding there. Also, I have found some errors when I do the MARC Bibliographic framework test. I was able to fix one of the errors but I'm still looking into the other one. Under the Item tag test the result is "There is more than 1 MARC tag related to items tab (10) : 852,952,". I think I understand what it means, but I don't know how or where to fix it.
- mc On Tue, Nov 11, 2008 at 12:17 PM, Magnus Enger <magnus@enger.priv.no>wrote:
Hi, Melisa!
Have you checked the error-logs? On a standard install they should be in something like /var/log/koha and have names like koha-error_log, koha-zebradaemon-output.log, koha-opac-error_log, koha-zebraqueue.err, koha-zebradaemon.err, koha-zebraqueue-output.log (I think some of those are "non-standard" and have to be turned on actively.) You might get some idea of where the trouble is by looking at the end of these files.
I had the same problem on a recent install, and the solution turned out to be that I was running zebra as a user named koha, while some of the necesarry files were owned by root. The solution was to run a command like $ chown -R koha:koha /var/koha/* to change the ownership of the necessary files.
Good luck! Magnus "May the source be with you!"
----- Original Message ----- From: "Melisa Canales" <mcanales29@gmail.com> To: koha@lists.katipo.co.nz Sent: Tue, 11 Nov 2008 11:43:43 -0600 Subject: [Koha] Catalog search returns "No results found"
Hello, We have a Ubuntu server running an older version of Koha (2.2.6). We are trying to move to Koha 3.0, so I have done a fresh install of Koha 3.00.00.107 on a different machine where I have installed Debian "etch". I
have also installed Zebra 2.0.32. I have followed the instructions in the INSTALL.debian file and the Koha installation seemed to work out ok. To get our existing data from the old machine, I did a mysqldump and moved the data to the new box. I then followed the instructions in the "Upgrading from Koha 2.2 to Koha 3.0" document to get the database in shape for Koha 3.0. That seemed to work as I can search patrons and I can view all the data in mysql or phpmyadmin. However when I try to search for titles through the Koha intranet or opac, I get the "No results found" message. I have started zebra and run the rebuild_zebra script and still get the same message. I have tried to enter a new record, run rebuild_zebra, search - and still no results found. I'm not sure what to do at this point. Any ideas?
Thanks, mc