Hi Again<br><br>I try this command line as root and I have this errors:<br><br> perl /usr/share/koha/bin/migration_tools/<a href="http://rebuild_zebra.pl">rebuild_zebra.pl</a> -a -b -r<br>Zebra configuration information<br>
================================<br>Zebra biblio directory = /var/lib/koha/zebradb/biblios<br>Zebra authorities directory = /var/lib/koha/zebradb/authorities<br>Koha directory = /usr/share/koha/intranet/cgi-bin<br>
BIBLIONUMBER in : 999$c<br>BIBLIOITEMNUMBER in : 999$d<br>Zebra configuration information<br>================================<br>Zebra biblio directory = /var/lib/koha/zebradb/biblios<br>Zebra authorities directory = /var/lib/koha/zebradb/authorities<br>
Koha directory = /usr/share/koha/intranet/cgi-bin<br>BIBLIONUMBER in : 999$c<br>BIBLIOITEMNUMBER in : 999$d<br>================================<br>====================<br>exporting authority<br>====================<br>
<br>Records exported: 0<br>====================<br>REINDEXING zebra<br>====================<br>====================<br>exporting biblio<br>====================<br>1..================================<br>.....................====================<br>
...exporting authority<br>====================<br>...<br>..Records exported: 0<br>..====================<br>.REINDEXING zebra<br>..====================<br>..====================<br>................................exporting biblio<br>
.....====================<br>.201....................................................................................................<br>...Records exported: 206<br>.....====================<br>.REINDEXING zebra<br>..====================<br>
...11:54:52-29/12 zebraidx(10813) [log] zebra_start 2.0.36 /etc/koha/zebradb/zebra-biblios.cfg<br>101................................11:54:52-29/12 zebraidx(10813) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/norm..LCK [Permission denied]<br>
.11:54:52-29/12 zebraidx(10813) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/shadow..LCK [Permission denied]<br>...11:54:52-29/12 zebraidx(10813) [fatal] Could not select database biblios errCode=109<br>
.11:54:52-29/12 zebraidx(10814) [log] zebra_start 2.0.36 /etc/koha/zebradb/zebra-biblios.cfg<br>...11:54:52-29/12 zebraidx(10814) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/norm..LCK [Permission denied]<br>
11:54:52-29/12 zebraidx(10814) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/shadow..LCK [Permission denied]<br>.....11:54:52-29/12 zebraidx(10814) [fatal] Could not select database biblios errCode=109<br>
11:54:52-29/12 zebraidx(10815) [log] zebra_start 2.0.36 /etc/koha/zebradb/zebra-biblios.cfg<br>...11:54:52-29/12 zebraidx(10815) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/norm..LCK [Permission denied]<br>
...11:54:52-29/12 zebraidx(10815) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/shadow..LCK [Permission denied]<br>.....................................11:54:52-29/12 zebraidx(10815) [fatal] Could not select database biblios errCode=109<br>
====================<br>201.........<br>Records exported: 206<br>====================<br>REINDEXING zebra<br>====================<br>11:56:09-29/12 zebraidx(10830) [log] zebra_start 2.0.36 /etc/koha/zebradb/zebra-biblios.cfg<br>
11:56:09-29/12 zebraidx(10830) [log] enabling shadow spec=/var/lib/koha/zebradb/biblios/shadow:4G<br>11:56:09-29/12 zebraidx(10830) [log] cache_fname = /var/lib/koha/zebradb/biblios/shadow/cache<br>11:56:09-29/12 zebraidx(10830) [log] zebra_stop: 0.08 0.00 0.00<br>
11:56:09-29/12 zebraidx(10831) [log] zebra_start 2.0.36 /etc/koha/zebradb/zebra-biblios.cfg<br>11:56:09-29/12 zebraidx(10831) [log] enabling shadow spec=/var/lib/koha/zebradb/biblios/shadow:4G<br>11:56:09-29/12 zebraidx(10831) [log] cache_fname = /var/lib/koha/zebradb/biblios/shadow/cache<br>
11:56:10-29/12 zebraidx(10831) [log] dir /tmp/99MomCs1j4/biblio<br>11:56:10-29/12 zebraidx(10831) [warn] No such record type: grs.marcxml.record<br>11:56:10-29/12 zebraidx(10831) [log] Iterations: isam/dict 64/26<br>11:56:10-29/12 zebraidx(10831) [log] Dict: inserts/updates/deletions: 26/0/0<br>
11:56:10-29/12 zebraidx(10831) [log] Records: 0 i/u/d 0/0/0<br>11:56:10-29/12 zebraidx(10831) [log] zebra_stop: 0.09 0.00 0.00<br>11:56:10-29/12 zebraidx(10834) [log] zebra_start 2.0.36 /etc/koha/zebradb/zebra-biblios.cfg<br>
11:56:10-29/12 zebraidx(10834) [log] enabling shadow spec=/var/lib/koha/zebradb/biblios/shadow:4G<br>11:56:10-29/12 zebraidx(10834) [log] cache_fname = /var/lib/koha/zebradb/biblios/shadow/cache<br>11:56:10-29/12 zebraidx(10834) [log] zebra_stop: 0.01 0.00 0.00<br>
====================<br>CLEANING<br>====================<br>[root@greenbck C4]# Zebra configuration information<br>-bash: Zebra: command not found<br>[root@greenbck C4]# ================================<br>-bash: ================================: command not found<br>
[root@greenbck C4]# Zebra biblio directory = /var/lib/koha/zebradb/biblios<br>-bash: Zebra: command not found<br>[root@greenbck C4]# Zebra authorities directory = /var/lib/koha/zebradb/authorities<br>-bash: Zebra: command not found<br>
[root@greenbck C4]# Koha directory = /usr/share/koha/intranet/cgi-bin<br>-bash: Koha: command not found<br>[root@greenbck C4]# BIBLIONUMBER in : 999$c<br>-bash: BIBLIONUMBER: command not found<br>[root@greenbck C4]# BIBLIOITEMNUMBER in : 999$d<br>
-bash: BIBLIOITEMNUMBER: command not found<br>[root@greenbck C4]# ================================<br>-bash: ================================: command not found<br>[root@greenbck C4]# ====================<br>-bash: ====================: command not found<br>
[root@greenbck C4]# exporting authority<br>-bash: exporting: command not found<br>[root@greenbck C4]# ====================<br>-bash: ====================: command not found<br>[root@greenbck C4]#<br>[root@greenbck C4]# Records exported: 0<br>
-bash: Records: command not found<br>[root@greenbck C4]# ====================<br>-bash: ====================: command not found<br>[root@greenbck C4]# REINDEXING zebra<br>-bash: REINDEXING: command not found<br>[root@greenbck C4]# ====================<br>
-bash: ====================: command not found<br>[root@greenbck C4]# ====================<br>-bash: ====================: command not found<br>[root@greenbck C4]# exporting biblio<br>-bash: exporting: command not found<br>
[root@greenbck C4]# ====================<br>-bash: ====================: command not found<br>[root@greenbck C4]# 201....................................................................................................<br>
-bash: 201....................................................................................................: command not found<br>[root@greenbck C4]# Records exported: 206<br>-bash: Records: command not found<br>[root@greenbck C4]# ====================<br>
-bash: ====================: command not found<br>[root@greenbck C4]# REINDEXING zebra<br>-bash: REINDEXING: command not found<br>[root@greenbck C4]# ====================<br>-bash: ====================: command not found<br>
[root@greenbck C4]# 11:54:52-29/12 zebraidx(10813) [log] zebra_start 2.0.36 /etc/koha/zebradb/zebra-biblios.cfg<br>-bash: syntax error near unexpected token `('<br>[root@greenbck C4]# 11:54:52-29/12 zebraidx(10813) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/norm..LCK [Permission denied]<br>
-bash: syntax error near unexpected token `('<br>[root@greenbck C4]# 11:54:52-29/12 zebraidx(10813) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/shadow..LCK [Permission denied]<br>-bash: syntax error near unexpected token `('<br>
[root@greenbck C4]# 11:54:52-29/12 zebraidx(10813) [fatal] Could not select database biblios errCode=109<br>-bash: syntax error near unexpected token `('<br>[root@greenbck C4]# 11:54:52-29/12 zebraidx(10814) [log] zebra_start 2.0.36 /etc/koha/zebradb/zebra-biblios.cfg<br>
-bash: syntax error near unexpected token `('<br>[root@greenbck C4]# 11:54:52-29/12 zebraidx(10814) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/norm..LCK [Permission denied]<br>-bash: syntax error near unexpected token `('<br>
[root@greenbck C4]# 11:54:52-29/12 zebraidx(10814) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/shadow..LCK [Permission denied]<br>-bash: syntax error near unexpected token `('<br>[root@greenbck C4]# 11:54:52-29/12 zebraidx(10814) [fatal] Could not select database biblios errCode=109<br>
-bash: syntax error near unexpected token `('<br>[root@greenbck C4]# 11:54:52-29/12 zebraidx(10815) [log] zebra_start 2.0.36 /etc/koha/zebradb/zebra-biblios.cfg<br>-bash: syntax error near unexpected token `('<br>
[root@greenbck C4]# 11:54:52-29/12 zebraidx(10815) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/norm..LCK [Permission denied]<br>-bash: syntax error near unexpected token `('<br>[root@greenbck C4]# 11:54:52-29/12 zebraidx(10815) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/shadow..LCK [Permission denied]<br>
-bash: syntax error near unexpected token `('<br>[root@greenbck C4]# 11:54:52-29/12 zebraidx(10815) [fatal] Could not select database biblios errCode=109<br>-bash: syntax error near unexpected token `('<br>[root@greenbck C4]# ====================<br>
-bash: ====================: command not found<br>[root@greenbck C4]# CLEANING<br>-bash: CLEANING: command not found<br>[root@greenbck C4]# ====================<br>-bash: ====================: command not found<br>[root@greenbck C4]#<br>
<br><br>What must I do so??<br><br>This is the /var/lock directory:<br><br>-rw-r--r-- 1 root root 0 jul 14 13:47 norm..LCK<br>-rw-r--r-- 1 koha koha 23 ene 16 2009 README<br>-rw-r--r-- 1 root root 0 jul 14 13:47 shadow..LCK<br>
-rw-r--r-- 1 root root 10 dic 29 11:56 state..LCK<br>-rw-rw-r-- 1 koha koha 5 jul 16 10:15 zebrasrv.pid<br><br><br>I change owner of this files:<br><br>chown -R koha:koha biblios/<br><br>and then as user koha I retry:<br>
<br> perl /usr/share/koha/bin/migration_tools/<a href="http://rebuild_zebra.pl">rebuild_zebra.pl</a> -a -b -r<br>Zebra configuration information<br>================================<br>Zebra biblio directory = /var/lib/koha/zebradb/biblios<br>
Zebra authorities directory = /var/lib/koha/zebradb/authorities<br>Koha directory = /usr/share/koha/intranet/cgi-bin<br>BIBLIONUMBER in : 999$c<br>BIBLIOITEMNUMBER in : 999$d<br>================================<br>
====================<br>exporting authority<br>====================<br><br>Records exported: 0<br>====================<br>REINDEXING zebra<br>====================<br>====================<br>exporting biblio<br>====================<br>
201....................................................................................................<br>Records exported: 206<br>====================<br>REINDEXING zebra<br>====================<br>11:59:57-29/12 zebraidx(10938) [log] zebra_start 2.0.36 /etc/koha/zebradb/zebra-biblios.cfg<br>
11:59:57-29/12 zebraidx(10938) [log] enabling shadow spec=/var/lib/koha/zebradb/biblios/shadow:4G<br>11:59:57-29/12 zebraidx(10938) [log] cache_fname = /var/lib/koha/zebradb/biblios/shadow/cache<br>11:59:57-29/12 zebraidx(10938) [log] zebra_stop: 0.00 0.00 0.00<br>
11:59:57-29/12 zebraidx(10939) [log] zebra_start 2.0.36 /etc/koha/zebradb/zebra-biblios.cfg<br>11:59:57-29/12 zebraidx(10939) [log] enabling shadow spec=/var/lib/koha/zebradb/biblios/shadow:4G<br>11:59:57-29/12 zebraidx(10939) [log] cache_fname = /var/lib/koha/zebradb/biblios/shadow/cache<br>
11:59:57-29/12 zebraidx(10939) [log] dir /tmp/11pn7B925E/biblio<br>11:59:57-29/12 zebraidx(10939) [warn] No such record type: grs.marcxml.record<br>11:59:57-29/12 zebraidx(10939) [log] Iterations: isam/dict 64/26<br>11:59:57-29/12 zebraidx(10939) [log] Dict: inserts/updates/deletions: 26/0/0<br>
11:59:57-29/12 zebraidx(10939) [log] Records: 0 i/u/d 0/0/0<br>11:59:57-29/12 zebraidx(10939) [log] zebra_stop: 0.02 0.00 0.00<br>11:59:57-29/12 zebraidx(10942) [log] zebra_start 2.0.36 /etc/koha/zebradb/zebra-biblios.cfg<br>
11:59:57-29/12 zebraidx(10942) [log] enabling shadow spec=/var/lib/koha/zebradb/biblios/shadow:4G<br>11:59:57-29/12 zebraidx(10942) [log] cache_fname = /var/lib/koha/zebradb/biblios/shadow/cache<br>11:59:57-29/12 zebraidx(10942) [log] zebra_stop: 0.01 0.00 0.00<br>
====================<br>CLEANING<br>====================<br><br>what do you think? this is good?<br><br>