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