[Koha] Koha 3, bulk imported records not showing up in search
Galen Charlton
gmc at esilibrary.com
Thu Mar 4 11:21:45 NZDT 2010
Hi,
On Mar 3, 2010, at 5:10 PM, Otis, Perry W Civ USAF AETC AUL/LTIA wrote:
> I just installed Koha 3 on a Ubuntu system. It’s up and running and now I need to import some MARC records. I have a lot, so I am trying to use bulkimport.pl to do the job. I ran it on a file with about 89000 records and it seemed to run ok. Then I ran rebuild_zebra.pl with the command ‘perl –I /usr/share/koha/lib /usr/share/koha/bin/migration_tools/rebuild_zebra.pl –v –b –w’. It gave me an error message about being unable to unlock some files, so I ran it again using sudo. This time it seemed to go without a problem, but when I go to search the OPAC I only get ‘no records found’ messages. I checked the log viewer and it shows 89000 records added, but they don’t seem to be searchable. Any help will be greatly appreciated.
A couple things to check:
[1] Is zebrasrv running? ps -ef | grep zebrasrv will show whether it is.
[2] I recommend that you change the ownership of Zebra's data files (which will likely be found in /var/lib/koha/zebradb on your system) to the koha user. If you do that, you can run rebuild_zebra.pl without using sudo. Note that if you change the ownership, you don't need to rebuild the indexes - just stop and restart zebrasrv.
Regards,
Galen
--
Galen Charlton
VP, Data Services
Equinox Software, Inc. / Your Library's Guide to Open Source
email: gmc at esilibrary.com
direct: +1 352-215-7548
skype: gmcharlt
web: http://www.esilibrary.com/
More information about the Koha
mailing list