Hi, I have a problem with koha authority. I have added a new authority record (using Home › Authorities › Adding authority Personal Name). But when I am searching for that record it returns 'No Result Found'. Could someone tell me what is the problem? With Thanks n regards Sunitha
Hi Am 04.05.2011 07:16, schrieb sunitha kk:
Hi, I have a problem with koha authority.
I have added a new authority record (using Home › Authorities › Adding authority Personal Name). But when I am searching for that record it returns 'No Result Found'. Could someone tell me what is the problem?
What version of Koha? There was a bug in some versions. Did you run rebuild_zebra -a ? Greetings Beda
I have rebuild koha using ./rebuild_zebra.pl -b -r -a. But the output is the following error message . Can't locate C4/Context.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at ./rebuild_zebra.pl line 6. BEGIN failed--compilation aborted at ./rebuild_zebra.pl line 6. -- View this message in context: http://koha.1045719.n5.nabble.com/Problem-with-koha-Authority-tp4369075p4375... Sent from the Koha - Discuss mailing list archive at Nabble.com.
Hi Sunitha, export your Koha PATH like this: export KOHA_CONF=/etc/koha/koha-conf.xml export PERL5LIB=/usr/share/koha On Fri, May 6, 2011 at 12:36 PM, Sunitha <sunitha.26585@gmail.com> wrote:
I have rebuild koha using ./rebuild_zebra.pl -b -r -a. But the output is the following error message .
Can't locate C4/Context.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at ./rebuild_zebra.pl line 6. BEGIN failed--compilation aborted at ./rebuild_zebra.pl line 6.
-- View this message in context: http://koha.1045719.n5.nabble.com/Problem-with-koha-Authority-tp4369075p4375... Sent from the Koha - Discuss mailing list archive at Nabble.com. _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Regards, Amit Gupta Nucsoft Osslabs www.osslabs.biz
I have set the koha path and after that rebuild zebra. There are some warning and one error message. 14:23:23-06/05 zebraidx(2800) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/authorities/norm..LCK [No such file or directory] 14:23:23-06/05 zebraidx(2800) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/authorities/shadow..LCK [No such file or directory] 14:23:23-06/05 zebraidx(2800) [fatal] Could not select database authorities errCode=109 14:23:23-06/05 zebraidx(2801) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/authorities/norm..LCK [No such file or directory] 14:23:23-06/05 zebraidx(2801) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/authorities/shadow..LCK [No such file or directory] 14:23:23-06/05 zebraidx(2801) [fatal] Could not select database authorities errCode=109 14:23:23-06/05 zebraidx(2802) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/authorities/norm..LCK [No such file or directory] 14:23:23-06/05 zebraidx(2802) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/authorities/shadow..LCK [No such file or directory] 14:23:23-06/05 zebraidx(2802) [fatal] Could not select database authorities errCode=109 14:23:23-06/05 zebraidx(2803) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/norm..LCK [No such file or directory] 14:23:23-06/05 zebraidx(2803) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/shadow..LCK [No such file or directory] 14:23:23-06/05 zebraidx(2803) [fatal] Could not select database biblios errCode=109 14:23:23-06/05 zebraidx(2804) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/norm..LCK [No such file or directory] 14:23:23-06/05 zebraidx(2804) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/shadow..LCK [No such file or directory] 14:23:23-06/05 zebraidx(2804) [fatal] Could not select database biblios errCode=109 14:23:23-06/05 zebraidx(2805) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/norm..LCK [No such file or directory] 14:23:23-06/05 zebraidx(2805) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/shadow..LCK [No such file or directory] 14:23:23-06/05 zebraidx(2805) [fatal] Could not select database biblios errCode=109 -- View this message in context: http://koha.1045719.n5.nabble.com/Problem-with-koha-Authority-tp4369075p4375... Sent from the Koha - Discuss mailing list archive at Nabble.com.
06:37:32-04/06 zebraidx(23362) [log] zebra_start 2.0.32 /etc/koha/zebradb/zebra-biblios.cfg 06:37:32-04/06 zebraidx(23362) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-regx.so 06:37:32-04/06 zebraidx(23362) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-marc.so 06:37:32-04/06 zebraidx(23362) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-text.so 06:37:32-04/06 zebraidx(23362) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-dom.so 06:37:32-04/06 zebraidx(23362) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-xml.so 06:37:32-04/06 zebraidx(23362) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-alvis.so 06:37:32-04/06 zebraidx(23362) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/norm..LCK [No such file or directory] 06:37:32-04/06 zebraidx(23362) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/shadow..LCK [No such file or directory] 06:37:32-04/06 zebraidx(23362) [fatal] Could not select database biblios errCode=109 06:37:32-04/06 zebraidx(23376) [log] zebra_start 2.0.32 /etc/koha/zebradb/zebra-biblios.cfg 06:37:32-04/06 zebraidx(23376) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-regx.so 06:37:32-04/06 zebraidx(23376) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-marc.so 06:37:32-04/06 zebraidx(23376) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-text.so 06:37:32-04/06 zebraidx(23376) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-dom.so 06:37:32-04/06 zebraidx(23376) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-xml.so 06:37:32-04/06 zebraidx(23376) [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-alvis.so 06:37:32-04/06 zebraidx(23376) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/norm..LCK [No such file or directory] 06:37:32-04/06 zebraidx(23376) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/shadow..LCK [No such file or directory] 06:37:32-04/06 zebraidx(23376) [fatal] Could not select database biblios errCode=109 -- View this message in context: http://koha.1045719.n5.nabble.com/Problem-with-koha-Authority-tp4369075p4453... Sent from the Koha - Discuss mailing list archive at Nabble.com.
06:37:32-04/06 zebraidx(23362) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/norm..LCK [No such file or directory] 06:37:32-04/06 zebraidx(23362) [warn] zebra_lock_create fail fname=/var/lock/koha/zebradb/biblios/shadow..LCK [No such file or directory] 06:37:32-04/06 zebraidx(23362) [fatal] Could not select database biblios errCode=109
Your answer is here, you are missing those directories, you will need to create them and make sure they are writable by the user you run zebra as Hope this helps Chris
Op zaterdag 4 juni 2011 19:34:48 schreef Chris Cormack:
Your answer is here, you are missing those directories, you will need to create them and make sure they are writable by the user you run zebra as
There is a patch I need to write (that I did as a one-off on a laptop that was experiencing this issue) that I really need to submit that will prevent this occuring. The problem may be that Ubuntu puts some things like this on a RAM disk, and so the parent directories are missing on boot. -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204
participants (7)
-
Amit Gupta -
Beda Szukics -
Chris Cormack -
Robin Sheat -
Shelly -
Sunitha -
sunitha kk