[Koha] Rebuild zebra index in Koha zebra_lock_create fail

LAURENT Henri-Damien henridamien.laurent at biblibre.com
Fri Sep 17 00:08:51 NZST 2010


Le 16/09/2010 13:34, Vikas Salunkhe a écrit :
> Dear all
>  i am try to  rebuild zebra index in Koha and use following command the
> errors is  coming
Wow... It seems you have a serious problem with your installation. Use
mkdir -p /var/lock/koha/zebradb/biblios /var/lock/koha/zebradb/authorities
And check that you are allowed to use those directories when logged in
as koha or zebra database user.
same thing for /var/lib/koha/zebradb
same thing for /var/run/koha
etc...

Maybe using dev install rather than standard installation could help you
solve that problem.
Or use the debian community packages.

> 
> 
>  zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/shadow..LCK
> [No such file or directory]
> 
> 
> root at lib:~#  cd /home/koha/bin/migration_tools
> root at lib:/home/koha/bin/migration_tools# ./rebuild_zebra.pl
> <http://rebuild_zebra.pl> -b -r -a
> 16:42:33-16/09 zebraidx(5617) [warn] zebra_lock_create fail
> fname=/var/lock/koha/zebradb/biblios/norm..LCK [No such file or directory]
> 16:42:33-16/09 zebraidx(5617) [warn] zebra_lock_create fail
> fname=/var/lock/koha/zebradb/biblios/shadow..LCK [No such file or directory]
> 16:42:33-16/09 zebraidx(5617) [fatal] Could not select database biblios
> errCode=109
> 16:42:33-16/09 zebraidx(5618) [warn] zebra_lock_create fail
> fname=/var/lock/koha/zebradb/biblios/norm..LCK [No such file or directory]
> 16:42:33-16/09 zebraidx(5618) [warn] zebra_lock_create fail
> fname=/var/lock/koha/zebradb/biblios/shadow..LCK [No such file or directory]
> 16:42:33-16/09 zebraidx(5618) [fatal] Could not select database biblios
> errCode=109
> 16:42:33-16/09 zebraidx(5619) [warn] zebra_lock_create fail
> fname=/var/lock/koha/zebradb/biblios/norm..LCK [No such file or directory]
> 16:42:33-16/09 zebraidx(5619) [warn] zebra_lock_create fail
> fname=/var/lock/koha/zebradb/biblios/shadow..LCK [No such file or directory]
> 16:42:33-16/09 zebraidx(5619) [fatal] Could not select database biblios
> errCode=109
> 
> Please guide to me solve problem.
> 
> Vikas Salunkhe



More information about the Koha mailing list