Yesterday, I took the plunge and installed 3.6.6 on a brand new install of Ubuntu 12.04 server. Everything went swimmingly well ('restored' an old Koha db, data conversion succeeded) until:

koha@sandbox:/usr/share/koha/bin/migration_tools$ KOHA_CONF=/etc/koha/koha-conf.xml PERL5LIB=/usr/share/koha/lib perl rebuild_zebra.pl -b -r -v -x
........
Records exported: 37190
====================
REINDEXING zebra
====================
zebraidx(1981) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/norm..LCK [No such file or Directory] zebraidx(1981) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/shadow..LCK [No such file or Directory]
zebraidx(1981) [fatal] Could not select database biblios errCode=109
(repeated for pid 1982 and 1983)
====================
CLEANING
====================
koha@sandbox:/usr/share/koha/bin/migration_tools$

I find in the records, that Chris C. had addressed this in June 2011 "Your answer is here, you are missing those directories, you will need to create them and make sure they are writable by the user you run zebra as" and that Robin had followed up "There is a patch I need to write (that I did as a one-off on a laptop that was experiencing this issue) that I really need to submit that will prevent this occuring."

Could someone please tell me what the patch might be? (and possibly point me to what and where to create?)

For the record, when I installed 3.6.1 (our production machine) earlier this year, this error did not occur. The only slight difference [not relevant?] was that I used Ubuntu 11.10 (12.04 had not been released), and that this time I did install a memcache server prior to Koha (I installed it after Koha was running on the production box.)

Thanks and br,
Paul


---
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-devel mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to