[Koha] Additional problems running rebuild_zebra.pl
Paul Yachnes
yach at cox.net
Thu Jul 17 02:08:35 NZST 2008
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
>
More information about the Koha
mailing list