Additional problems running rebuild_zebra.pl
After resetting the env vars, I was able to run rebuild_zebra.pl -b (I was told that -a and -z are not valid options) and got the following errors: 09:08:42-16/07 zebraidx(9519) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/norm..LCK [No such file or directory] 09:08:42-16/07 zebraidx(9519) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/shadow..LCK [No such file or directory] 09:08:42-16/07 zebraidx(9519) [fatal] Could not select database biblios errCode=109 So I created the missing directory and now get these errors: 09:22:38-16/07 zebraidx(9633) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/norm..LCK [Permission denied] 09:22:38-16/07 zebraidx(9633) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/shadow..LCK [Permission denied] 09:22:38-16/07 zebraidx(9633) [fatal] Could not select database biblios errCode=109 ..... 09:22:38-16/07 zebraidx(9634) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/norm..LCK [Permission denied] 09:22:38-16/07 zebraidx(9634) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/shadow..LCK [Permission denied] 09:22:38-16/07 zebraidx(9634) [fatal] Could not select database biblios errCode=109 So I gather it is a permissions issue? How should the directory permissions be set? Are thee other issues? Paul
On 2008/07/17, at 1:37 AM, Paul Yachnes wrote:
After resetting the env vars, I was able to run rebuild_zebra.pl -b (I was told that -a and -z are not valid options) and got the following errors:
09:08:42-16/07 zebraidx(9519) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/norm..LCK [No such file or directory] 09:08:42-16/07 zebraidx(9519) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/shadow..LCK [No such file or directory] 09:08:42-16/07 zebraidx(9519) [fatal] Could not select database biblios errCode=109
So I created the missing directory and now get these errors:
09:22:38-16/07 zebraidx(9633) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/norm..LCK [Permission denied] 09:22:38-16/07 zebraidx(9633) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/shadow..LCK [Permission denied] 09:22:38-16/07 zebraidx(9633) [fatal] Could not select database biblios errCode=109
.....
09:22:38-16/07 zebraidx(9634) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/norm..LCK [Permission denied] 09:22:38-16/07 zebraidx(9634) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/shadow..LCK [Permission denied] 09:22:38-16/07 zebraidx(9634) [fatal] Could not select database biblios errCode=109
So I gather it is a permissions issue? How should the directory permissions be set? Are thee other issues?
Paul
they should be set to your 'koha-user' (that you selected during the install) try running as root, or chown-ing the files to correct your perm issue
Now I get: 10:00:52-16/07 zebraidx(9749) [log] zebra_start 2.0.32 /etc/koha/zebradb/zebra-biblios.cfg 10:00:52-16/07 zebraidx(9749) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-dom.so 10:00:52-16/07 zebraidx(9749) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-text.so 10:00:52-16/07 zebraidx(9749) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-regx.so 10:00:52-16/07 zebraidx(9749) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-alvis.so 10:00:52-16/07 zebraidx(9749) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-marc.so 10:00:52-16/07 zebraidx(9749) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-xml.so 10:00:52-16/07 zebraidx(9749) [warn] previous transaction didn't reach commit 10:00:52-16/07 zebraidx(9749) [log] enabling shadow spec=/var/lib/koha/zebradb/biblios/shadow:4G 10:00:52-16/07 zebraidx(9749) [log] cache_fname = /var/lib/koha/zebradb/biblios/shadow/cache 10:00:52-16/07 zebraidx(9749) [log] enabling shadow spec=/var/lib/koha/zebradb/biblios/shadow:4G 10:00:52-16/07 zebraidx(9749) [log] cache_fname = /var/lib/koha/zebradb/biblios/shadow/cache 10:00:52-16/07 zebraidx(9749) [warn] Failed to open /var/lib/koha/zebradb/biblios/shadow/reci-i-0.mf [Permission denied] 10:00:52-16/07 zebraidx(9749) [fatal] mf_read2 reci-i internal error 10:00:52-16/07 zebraidx(9749) [fatal] cf_open failed for reci 10:00:52-16/07 zebraidx(9749) [fatal] open reci [Permission denied] 10:00:52-16/07 zebraidx(9750) [log] zebra_start 2.0.32 /etc/koha/zebradb/zebra-biblios.cfg 10:00:52-16/07 zebraidx(9750) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-dom.so 10:00:52-16/07 zebraidx(9750) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-text.so 10:00:52-16/07 zebraidx(9750) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-regx.so 10:00:52-16/07 zebraidx(9750) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-alvis.so 10:00:52-16/07 zebraidx(9750) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-marc.so 10:00:52-16/07 zebraidx(9750) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-xml.so 10:00:52-16/07 zebraidx(9750) [warn] previous transaction didn't reach commit 10:00:52-16/07 zebraidx(9750) [log] enabling shadow spec=/var/lib/koha/zebradb/biblios/shadow:4G 10:00:52-16/07 zebraidx(9750) [log] cache_fname = /var/lib/koha/zebradb/biblios/shadow/cache 10:00:52-16/07 zebraidx(9750) [log] zebra_stop: 0.01 0.00 0.00 Perhaps I need to go back to the beginning and re-install and re-configure Zebra? Mason James wrote:
On 2008/07/17, at 1:37 AM, Paul Yachnes wrote:
After resetting the env vars, I was able to run rebuild_zebra.pl -b (I was told that -a and -z are not valid options) and got the following errors:
09:08:42-16/07 zebraidx(9519) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/norm..LCK [No such file or directory] 09:08:42-16/07 zebraidx(9519) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/shadow..LCK [No such file or directory] 09:08:42-16/07 zebraidx(9519) [fatal] Could not select database biblios errCode=109
So I created the missing directory and now get these errors:
09:22:38-16/07 zebraidx(9633) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/norm..LCK [Permission denied] 09:22:38-16/07 zebraidx(9633) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/shadow..LCK [Permission denied] 09:22:38-16/07 zebraidx(9633) [fatal] Could not select database biblios errCode=109
.....
09:22:38-16/07 zebraidx(9634) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/norm..LCK [Permission denied] 09:22:38-16/07 zebraidx(9634) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/shadow..LCK [Permission denied] 09:22:38-16/07 zebraidx(9634) [fatal] Could not select database biblios errCode=109
So I gather it is a permissions issue? How should the directory permissions be set? Are thee other issues?
Paul
they should be set to your 'koha-user' (that you selected during the install)
try running as root, or chown-ing the files to correct your perm issue
After resetting the env vars, I was able to run rebuild_zebra.pl -b (I was told that -a and -z are not valid options) and got the following errors: I suspect you're running an older version of rebuild_zebra then ...
On Wed, Jul 16, 2008 at 9:37 AM, Paul Yachnes <yach@cox.net> wrote: please update it to the latest RC1 or Git. Cheers, -- Joshua Ferraro SUPPORT FOR OPEN-SOURCE SOFTWARE CEO migration, training, maintenance, support LibLime Featuring Koha Open-Source ILS jmf@liblime.com |Full Demos at http://liblime.com/koha |1(888)KohaILS
participants (3)
-
Joshua Ferraro -
Mason James -
Paul Yachnes