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