catalogue search not working
following is the problem lumhs-b70715be2:/home/nouman# zebrasrv -f /etc/koha/koha-conf.xml 14:31:01-28/02 [log] zebra_start 2.0.43 abd433d1a315576cf1f4a53f2c70365f9a76477f 14:31:01-28/02 [log] config /etc/koha/zebradb/zebra-biblios.cfg 14:31:01-28/02 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-xml.so 14:31:01-28/02 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-regx.so 14:31:01-28/02 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-text.so 14:31:01-28/02 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-dom.so 14:31:01-28/02 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-alvis.so 14:31:01-28/02 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-marc.so 14:31:01-28/02 [log] zebra_start 2.0.43 abd433d1a315576cf1f4a53f2c70365f9a76477f 14:31:01-28/02 [log] config /etc/koha/zebradb/zebra-authorities.cfg 14:31:01-28/02 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-xml.so 14:31:01-28/02 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-regx.so 14:31:01-28/02 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-text.so 14:31:01-28/02 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-dom.so 14:31:01-28/02 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-alvis.so 14:31:01-28/02 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-marc.so 14:31:01-28/02 [server] Adding dynamic listener on unix:/var/run/koha/zebradb/bibliosocket id=1 14:31:01-28/02 [fatal] Failed to bind to unix:/var/run/koha/zebradb/bibliosocket [File exists] 14:31:01-28/02 [server] Adding dynamic listener on unix:/var/run/koha/zebradb/authoritysocket id=2 14:31:01-28/02 [fatal] Failed to bind to unix:/var/run/koha/zebradb/authoritysocket [File exists] 14:31:01-28/02 [server] Adding dynamic listener on tcp:@:9999 id=0 14:31:01-28/02 [server] Starting server zebrasrv pid=3567 /usr/share/koha/bin/migration_tools/rebuild_zebra -v -b -a /usr/share/koha/bin/migration_tools/rebuild_zebra –v –b –a ^Z [1]+ Stopped zebrasrv -f /etc/koha/koha-conf.xml lumhs-b70715be2:/home/nouman# /usr/share/koha/bin/migration_tools/rebuild_zebra –v –b –a ________________________________ From: Andrew Buxton <A.Buxton@ids.ac.uk> To: Nouman Soomro <noumansoomro@rocketmail.com> Sent: Mon, March 1, 2010 1:33:45 AM Subject: RE: [Koha] catalogue search not working Dear Nouman Catalogue search not working seems to be a very common problem with Koha. We had it for quite a long time. The problem for us was that the zebra daemon was not running. You need to do: zebrasrv –f /etc/koha/koha-conf.xml Then leave the window open. If you close the window (as we were first told to do) it doesn’t work. You can then rebuild the index. (This is what the replies usually say.) /usr/share/koha/bin/migration_tools/rebuild_zebra –v –b –a (We actually had to do ./rebuild_zebra.pl –v –b –a in that directory.) When you rebuild the index you should see it count through the records – at least at the start. If it doesn’t, it’s not indexing properly. I hope this helps. It was very frustrating for us. Andrew Buxton IDS, Brighton, UK From:koha-bounces@lists.katipo.co.nz [mailto:koha-bounces@lists.katipo.co.nz] On Behalf Of Nouman Soomro Sent: 01 March 2010 06:42 To: koha@lists.katipo.co.nz Subject: [Koha] catalogue search not working Dear All I have already sent emails on this group, but my problem have not resolved yet. I have completed fast index but yet catalogue search from my system is not working This message is for the addressee only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any views or opinions expressed are solely those of the author and do not necessarily represent those of IDS. Institute of Development Studies at the University of Sussex, Brighton BN1 9RE Tel: +44 (0)1273 606261; Fax: +44 (0)1273 621202 IDS, a charitable company limited by guarantee: Registered Charity No. 306371; Registered in England 877338; VAT No. GB 350 899914
14:31:01-28/02 [fatal] Failed to bind to unix:/var/run/koha/zebradb/ bibliosocket [File exists] Above from your logs seem to indicate that your zebra server is already running. In that case a bind with yaz-client should succeed.. Also when you run *rebuild_zebra.pl you have to do sudo * Regards, Koustubha Kale Anant Corporation Contact Details : Address : 103, Armaan Residency, R. W Sawant Road, Nr. Golden Dyes Naka, Thane (w), Maharashtra, India, Pin : 400601. TeleFax : +91-22-21720108, +91-22-21720109 Mobile : +919820715876 Website : http://www.anantcorp.com Blog : http://www.anantcorp.com/blog/?author=2 2010/3/2 Nouman Soomro <noumansoomro@rocketmail.com>
following is the problem
lumhs-b70715be2:/home/nouman# zebrasrv -f /etc/koha/koha-conf.xml 14:31:01-28/02 [log] zebra_start 2.0.43 abd433d1a315576cf1f4a53f2c70365f9a76477f 14:31:01-28/02 [log] config /etc/koha/zebradb/zebra-biblios.cfg 14:31:01-28/02 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-xml.so 14:31:01-28/02 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-regx.so 14:31:01-28/02 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-text.so 14:31:01-28/02 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-dom.so 14:31:01-28/02 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-alvis.so 14:31:01-28/02 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-marc.so 14:31:01-28/02 [log] zebra_start 2.0.43 abd433d1a315576cf1f4a53f2c70365f9a76477f 14:31:01-28/02 [log] config /etc/koha/zebradb/zebra-authorities.cfg 14:31:01-28/02 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-xml.so 14:31:01-28/02 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-regx.so 14:31:01-28/02 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-text.so 14:31:01-28/02 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-dom.so 14:31:01-28/02 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-alvis.so 14:31:01-28/02 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-marc.so 14:31:01-28/02 [server] Adding dynamic listener on unix:/var/run/koha/zebradb/bibliosocket id=1 14:31:01-28/02 [fatal] Failed to bind to unix:/var/run/koha/zebradb/bibliosocket [File exists] 14:31:01-28/02 [server] Adding dynamic listener on unix:/var/run/koha/zebradb/authoritysocket id=2 14:31:01-28/02 [fatal] Failed to bind to unix:/var/run/koha/zebradb/authoritysocket [File exists] 14:31:01-28/02 [server] Adding dynamic listener on tcp:@:9999 id=0 14:31:01-28/02 [server] Starting server zebrasrv pid=3567 /usr/share/koha/bin/migration_tools/rebuild_zebra -v -b -a /usr/share/koha/bin/migration_tools/rebuild_zebra –v –b –a ^Z [1]+ Stopped zebrasrv -f /etc/koha/koha-conf.xml lumhs-b70715be2:/home/nouman# /usr/share/koha/bin/migration_tools/rebuild_zebra –v –b –a
------------------------------ *From:* Andrew Buxton <A.Buxton@ids.ac.uk>
*To:* Nouman Soomro <noumansoomro@rocketmail.com> *Sent:* Mon, March 1, 2010 1:33:45 AM *Subject:* RE: [Koha] catalogue search not working
Dear Nouman
Catalogue search not working seems to be a very common problem with Koha. We had it for quite a long time.
The problem for us was that the zebra daemon was not running. You need to do:
*zebrasrv –f /etc/koha/koha-conf.xml*
Then leave the window open. If you close the window (as we were first told to do) it doesn’t work.
You can then rebuild the index. (This is what the replies usually say.)
*/usr/share/koha/bin/migration_tools/rebuild_zebra –v –b –a*
(We actually had to do ./rebuild_zebra.pl –v –b –a in that directory.)
When you rebuild the index you should see it count through the records – at least at the start. If it doesn’t, it’s not indexing properly.
I hope this helps. It was very frustrating for us.
Andrew Buxton
IDS, Brighton, UK
*From:* koha-bounces@lists.katipo.co.nz [mailto: koha-bounces@lists.katipo.co.nz] *On Behalf Of *Nouman Soomro *Sent:* 01 March 2010 06:42 *To:* koha@lists.katipo.co.nz *Subject:* [Koha] catalogue search not working
Dear All I have already sent emails on this group, but my problem have not resolved yet. I have completed fast index but yet catalogue search from my system is not working
This message is for the addressee only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any views or opinions expressed are solely those of the author and do not necessarily represent those of IDS. Institute of Development Studies at the University of Sussex, Brighton BN1 9RE Tel: +44 (0)1273 606261; Fax: +44 (0)1273 621202 IDS, a charitable company limited by guarantee: Registered Charity No. 306371; Registered in England 877338; VAT No. GB 350 899914
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
rebuild _zebra is not working as follow nouman@lumhs-b70715be2:~$ /usr/share/koha/bin/migration_tools/rebuild_zebra –v –b –a bash: /usr/share/koha/bin/migration_tools/rebuild_zebra: No such file or directory nouman@lumhs-b70715be2:~$ su /usr/share/koha/bin/migration_tools/rebuild_zebra –v –b –a Unknown id: /usr/share/koha/bin/migration_tools/rebuild_zebra nouman@lumhs-b70715be2:~$ ________________________________ From: Koustubha Kale <kmkale@anantcorp.com> To: Nouman Soomro <noumansoomro@rocketmail.com>; "koha@lists.katipo.co.nz" <koha@lists.katipo.co.nz> Sent: Mon, March 1, 2010 10:02:47 PM Subject: Re: [Koha] catalogue search not working 14:31:01-28/02 [fatal] Failed to bind to unix:/var/run/koha/zebradb/ bibliosocket [File exists] Above from your logs seem to indicate that your zebra server is already running. In that case a bind with yaz-client should succeed.. Also when you run rebuild_zebra.pl you have to do sudo Regards, Koustubha Kale Anant Corporation Contact Details : Address : 103, Armaan Residency, R. W Sawant Road, Nr. Golden Dyes Naka, Thane (w), Maharashtra, India, Pin : 400601. TeleFax : +91-22-21720108, +91-22-21720109 Mobile : +919820715876 Website : http://www.anantcorp.com Blog : http://www.anantcorp.com/blog/?author=2 2010/3/2 Nouman Soomro <noumansoomro@rocketmail.com>
following is the problem
lumhs-b70715be2:/home/nouman# zebrasrv -f /etc/koha/koha-conf.xml
14:31:01-28/02 [log] zebra_start 2.0.43 abd433d1a315576cf1f4a53f2c70365f9a76477f 14:31:01-28/02 [log] config /etc/koha/zebradb/zebra-biblios.cfg 14:31:01-28/02 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-xml.so
14:31:01-28/02 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-regx.so 14:31:01-28/02 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-text.so 14:31:01-28/02 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-dom.so
14:31:01-28/02 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-alvis.so 14:31:01-28/02 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-marc.so 14:31:01-28/02 [log] zebra_start 2.0.43 abd433d1a315576cf1f4a53f2c70365f9a76477f 14:31:01-28/02 [log] config /etc/koha/zebradb/zebra-authorities.cfg 14:31:01-28/02 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-xml.so
14:31:01-28/02 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-regx.so 14:31:01-28/02 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-text.so 14:31:01-28/02 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-dom.so
14:31:01-28/02 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-alvis.so 14:31:01-28/02 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-marc.so 14:31:01-28/02 [server] Adding dynamic listener on unix:/var/run/koha/zebradb/bibliosocket id=1
14:31:01-28/02 [fatal] Failed to bind to unix:/var/run/koha/zebradb/bibliosocket [File exists] 14:31:01-28/02 [server] Adding dynamic listener on unix:/var/run/koha/zebradb/authoritysocket id=2 14:31:01-28/02 [fatal] Failed to bind to unix:/var/run/koha/zebradb/authoritysocket [File exists] 14:31:01-28/02 [server] Adding dynamic listener on tcp:@:9999 id=0
14:31:01-28/02 [server] Starting server zebrasrv pid=3567 /usr/share/koha/bin/migration_tools/rebuild_zebra -v -b -a /usr/share/koha/bin/migration_tools/rebuild_zebra –v –b –a ^Z [1]+ Stopped zebrasrv -f /etc/koha/koha-conf.xml
lumhs-b70715be2:/home/nouman# /usr/share/koha/bin/migration_tools/rebuild_zebra –v –b –a
________________________________ From: Andrew Buxton <A.Buxton@ids.ac.uk>
To: > Nouman Soomro <noumansoomro@rocketmail.com> Sent: Mon, March 1, 2010 1:33:45 AM Subject: RE: [Koha] catalogue search not working
Dear Nouman
Catalogue search not working seems to be a very common problem with Koha. We had it for quite a long time.
The problem for us was that the zebra daemon was not running. You need to do:
zebrasrv –f /etc/koha/koha-conf.xml
Then leave the window open. If you close the window (as we were first told to do) it doesn’t work.
You can then rebuild the index. (This is what the replies usually say.)
/usr/share/koha/bin/migration_tools/rebuild_zebra –v –b –a
(We actually had to do ./rebuild_zebra.pl –v –b –a in that directory.)
When you rebuild the index you should see it count through the records – at least at the start. If it doesn’t, it’s not indexing properly.
I hope this helps. It was very frustrating for us.
Andrew Buxton IDS, Brighton, UK
From:koha-bounces@lists.katipo.co.nz [mailto:koha-bounces@lists.katipo.co.nz] On Behalf Of Nouman Soomro Sent: 01 March 2010 06:42 To: koha@lists.katipo.co.nz Subject: [Koha] catalogue search not working
Dear All
I have already sent emails on this group, but my problem have not resolved yet. I have completed fast index but yet catalogue search from my system is not working
This message is for the addressee only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any views or opinions expressed are solely those of the author and do not necessarily represent those of IDS.
Institute of Development Studies at the University of Sussex, Brighton BN1 9RE Tel: +44 (0)1273 606261; Fax: +44 (0)1273 621202 IDS, a charitable company limited by guarantee: Registered Charity No. 306371; Registered in England 877338; VAT No. GB 350 899914
_______________________________________________
Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
2010/3/2 Nouman Soomro <noumansoomro@rocketmail.com>:
rebuild _zebra is not working as follow nouman@lumhs-b70715be2:~$ /usr/share/koha/bin/migration_tools/rebuild_zebra –v –b –a bash: /usr/share/koha/bin/migration_tools/rebuild_zebra: No such file or directory
The script is called rebuild_zebra.pl, so you need to do this: /usr/share/koha/bin/migration_tools/rebuild_zebra.pl –v –b –a Do this to see what the options mean: /usr/share/koha/bin/migration_tools/rebuild_zebra.pl --help
nouman@lumhs-b70715be2:~$ su /usr/share/koha/bin/migration_tools/rebuild_zebra –v –b –a Unknown id: /usr/share/koha/bin/migration_tools/rebuild_zebra
su is used to change your identity into that of another user on the system. In order to change into a user called e.g. koha you need to do this: su koha # you will then be asked for the password # you can now execute rebuild_zebra.pl as the user called koha /usr/share/koha/bin/migration_tools/rebuild_zebra.pl –v –b –a Use sudo to execute a command as root: sudo /usr/share/koha/bin/migration_tools/rebuild_zebra.pl –v –b –a # rebuild_zebra.pl will be executed as the user root HTH Magnus libriotech.no
this command is not working as follow lumhs-b70715be2:/home/nouman# /usr/share/koha/bin/migration_tools/rebuild_zebra.pl –v –b –a Can't locate C4/Context.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 5. BEGIN failed--compilation aborted at /usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 5. lumhs-b70715be2:/home/nouman# /usr/share/koha/bin/migration_tools/rebuild_zebra.pl –v –b –a Can't locate C4/Context.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 5. BEGIN failed--compilation aborted at /usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 5. lumhs-b70715be2:/home/nouman# lumhs-b70715be2:/home/nouman# /usr/share/koha/bin/migration_tools/rebuild_zebra.pl --help Can't locate C4/Context.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 5. BEGIN failed--compilation aborted at /usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 5. lumhs-b70715be2:/home/nouman# su koha koha@lumhs-b70715be2:/home/nouman$ sudo /usr/share/koha/bin/migration_tools/rebuild_zebra.pl –v –b –a Can't locate C4/Context.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 5. BEGIN failed--compilation aborted at /usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 5. ________________________________ From: Magnus Enger <magnus@enger.priv.no> To: Nouman Soomro <noumansoomro@rocketmail.com> Cc: "koha@lists.katipo.co.nz" <koha@lists.katipo.co.nz> Sent: Tue, March 2, 2010 12:23:05 AM Subject: Re: [Koha] catalogue search not working 2010/3/2 Nouman Soomro <noumansoomro@rocketmail.com>:
rebuild _zebra is not working as follow nouman@lumhs-b70715be2:~$ /usr/share/koha/bin/migration_tools/rebuild_zebra –v –b –a bash: /usr/share/koha/bin/migration_tools/rebuild_zebra: No such file or directory
The script is called rebuild_zebra.pl, so you need to do this: /usr/share/koha/bin/migration_tools/rebuild_zebra.pl –v –b –a Do this to see what the options mean: /usr/share/koha/bin/migration_tools/rebuild_zebra.pl --help
nouman@lumhs-b70715be2:~$ su /usr/share/koha/bin/migration_tools/rebuild_zebra –v –b –a Unknown id: /usr/share/koha/bin/migration_tools/rebuild_zebra
su is used to change your identity into that of another user on the system. In order to change into a user called e.g. koha you need to do this: su koha # you will then be asked for the password # you can now execute rebuild_zebra.pl as the user called koha /usr/share/koha/bin/migration_tools/rebuild_zebra.pl –v –b –a Use sudo to execute a command as root: sudo /usr/share/koha/bin/migration_tools/rebuild_zebra.pl –v –b –a # rebuild_zebra.pl will be executed as the user root HTH Magnus libriotech.no
Hi, Export your path export KOHA_CONF=/etc/koha/koha-conf.xml export PERL5LIB=/usr/share/koha/lib 2010/3/3 Nouman Soomro <noumansoomro@rocketmail.com>
this command is not working as follow
lumhs-b70715be2:/home/nouman# /usr/share/koha/bin/migration_tools/ rebuild_zebra.pl –v –b –a
Can't locate C4/Context.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/share/koha/bin/migration_tools/ rebuild_zebra.pl line 5. BEGIN failed--compilation aborted at /usr/share/koha/bin/migration_tools/ rebuild_zebra.pl line 5. lumhs-b70715be2:/home/nouman# /usr/share/koha/bin/migration_tools/ rebuild_zebra.pl –v –b –a Can't locate C4/Context.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/share/koha/bin/migration_tools/ rebuild_zebra.pl line 5. BEGIN failed--compilation aborted at /usr/share/koha/bin/migration_tools/ rebuild_zebra.pl line 5.
lumhs-b70715be2:/home/nouman# lumhs-b70715be2:/home/nouman# /usr/share/koha/bin/migration_tools/ rebuild_zebra.pl --help Can't locate C4/Context.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/share/koha/bin/migration_tools/ rebuild_zebra.pl line 5. BEGIN failed--compilation aborted at /usr/share/koha/bin/migration_tools/ rebuild_zebra.pl line 5.
lumhs-b70715be2:/home/nouman# su koha koha@lumhs-b70715be2:/home/nouman$ sudo /usr/share/koha/bin/migration_tools/rebuild_zebra.pl –v –b –a Can't locate C4/Context.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/share/koha/bin/migration_tools/ rebuild_zebra.pl line 5. BEGIN failed--compilation aborted at /usr/share/koha/bin/migration_tools/ rebuild_zebra.pl line 5.
------------------------------ *From:* Magnus Enger <magnus@enger.priv.no> *To:* Nouman Soomro <noumansoomro@rocketmail.com> *Cc:* "koha@lists.katipo.co.nz" <koha@lists.katipo.co.nz> *Sent:* Tue, March 2, 2010 12:23:05 AM *Subject:* Re: [Koha] catalogue search not working
2010/3/2 Nouman Soomro <noumansoomro@rocketmail.com>:
rebuild _zebra is not working as follow nouman@lumhs-b70715be2:~$
bash: /usr/share/koha/bin/migration_tools/rebuild_zebra: No such file or
/usr/share/koha/bin/migration_tools/rebuild_zebra –v –b –a directory
The script is called rebuild_zebra.pl, so you need to do this:
/usr/share/koha/bin/migration_tools/rebuild_zebra.pl –v –b –a
Do this to see what the options mean:
/usr/share/koha/bin/migration_tools/rebuild_zebra.pl --help
nouman@lumhs-b70715be2:~$ su /usr/share/koha/bin/migration_tools/rebuild_zebra –v –b –a Unknown id: /usr/share/koha/bin/migration_tools/rebuild_zebra
su is used to change your identity into that of another user on the system.
In order to change into a user called e.g. koha you need to do this:
su koha # you will then be asked for the password # you can now execute rebuild_zebra.pl as the user called koha /usr/share/koha/bin/migration_tools/rebuild_zebra.pl –v –b –a
Use sudo to execute a command as root:
sudo /usr/share/koha/bin/migration_tools/rebuild_zebra.pl –v –b –a # rebuild_zebra.pl will be executed as the user root
HTH Magnus libriotech.no
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Regards, Amit Gupta Nucsoft Osslabs www.osslabs.biz
still show same problem nouman@lumhs-b70715be2:~$ su Password: lumhs-b70715be2:/home/nouman# export KOHA_CONF=/path/to/your/koha-conf.xml lumhs-b70715be2:/home/nouman# export PERL5LIB=/path/to/koha lumhs-b70715be2:/home/nouman# lumhs-b70715be2:/home/nouman# /usr/share/koha/bin/migration_tools/rebuild_zebra.pl –v –b –a Can't locate C4/Context.pm in @INC (@INC contains: /path/to/koha /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 5. BEGIN failed--compilation aborted at /usr/share/koha/bin/migration_tools/rebuild_zebra.pl line 5. ________________________________ From: Magnus Enger <magnus@enger.priv.no> To: Nouman Soomro <noumansoomro@rocketmail.com> Cc: "koha@lists.katipo.co.nz" <koha@lists.katipo.co.nz> Sent: Tue, March 2, 2010 12:23:05 AM Subject: Re: [Koha] catalogue search not working 2010/3/2 Nouman Soomro <noumansoomro@rocketmail.com>:
rebuild _zebra is not working as follow nouman@lumhs-b70715be2:~$ /usr/share/koha/bin/migration_tools/rebuild_zebra –v –b –a bash: /usr/share/koha/bin/migration_tools/rebuild_zebra: No such file or directory
The script is called rebuild_zebra.pl, so you need to do this: /usr/share/koha/bin/migration_tools/rebuild_zebra.pl –v –b –a Do this to see what the options mean: /usr/share/koha/bin/migration_tools/rebuild_zebra.pl --help
nouman@lumhs-b70715be2:~$ su /usr/share/koha/bin/migration_tools/rebuild_zebra –v –b –a Unknown id: /usr/share/koha/bin/migration_tools/rebuild_zebra
su is used to change your identity into that of another user on the system. In order to change into a user called e.g. koha you need to do this: su koha # you will then be asked for the password # you can now execute rebuild_zebra.pl as the user called koha /usr/share/koha/bin/migration_tools/rebuild_zebra.pl –v –b –a Use sudo to execute a command as root: sudo /usr/share/koha/bin/migration_tools/rebuild_zebra.pl –v –b –a # rebuild_zebra.pl will be executed as the user root HTH Magnus libriotech.no
During the last step of sudo make install there were to directives that were printed... similar to this export KOHA_CONF=/usr/share/koha/etc/koha-conf.xml that is what you are looking at. Please review that. {there was also one that was printed for the export PERL5LIB} Thanks, Brendan -- --------------------------------------------------------------------------------------------------------------- Brendan A. Gallagher ByWater Solutions CEO, Director of Innovation Support and Consulting for Open Source Software Installation, Data Migration, Training, Customization, Hosting and Complete Support Packages Headquarters: Santa Barbara, CA - Office: West Haven, CT Phone # (888) 900-8944 http://bywatersolutions.com info@bywatersolutions.com 2010/3/2 Nouman Soomro <noumansoomro@rocketmail.com>
still show same problem
nouman@lumhs-b70715be2:~$ su Password: lumhs-b70715be2:/home/nouman# export KOHA_CONF=/path/to/your/koha-conf.xml lumhs-b70715be2:/home/nouman# export PERL5LIB=/path/to/koha lumhs-b70715be2:/home/nouman# lumhs-b70715be2:/home/nouman# /usr/share/koha/bin/migration_tools/ rebuild_zebra.pl –v –b –a Can't locate C4/Context.pm in @INC (@INC contains: /path/to/koha /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/share/koha/bin/migration_tools/ rebuild_zebra.pl line 5. BEGIN failed--compilation aborted at /usr/share/koha/bin/migration_tools/ rebuild_zebra.pl line 5.
------------------------------ *From:* Magnus Enger <magnus@enger.priv.no> *To:* Nouman Soomro <noumansoomro@rocketmail.com> *Cc:* "koha@lists.katipo.co.nz" <koha@lists.katipo.co.nz> *Sent:* Tue, March 2, 2010 12:23:05 AM *Subject:* Re: [Koha] catalogue search not working
2010/3/2 Nouman Soomro <noumansoomro@rocketmail.com>:
rebuild _zebra is not working as follow nouman@lumhs-b70715be2:~$
bash: /usr/share/koha/bin/migration_tools/rebuild_zebra: No such file or
/usr/share/koha/bin/migration_tools/rebuild_zebra –v –b –a directory
The script is called rebuild_zebra.pl, so you need to do this:
/usr/share/koha/bin/migration_tools/rebuild_zebra.pl –v –b –a
Do this to see what the options mean:
/usr/share/koha/bin/migration_tools/rebuild_zebra.pl --help
nouman@lumhs-b70715be2:~$ su /usr/share/koha/bin/migration_tools/rebuild_zebra –v –b –a Unknown id: /usr/share/koha/bin/migration_tools/rebuild_zebra
su is used to change your identity into that of another user on the system.
In order to change into a user called e.g. koha you need to do this:
su koha # you will then be asked for the password # you can now execute rebuild_zebra.pl as the user called koha /usr/share/koha/bin/migration_tools/rebuild_zebra.pl –v –b –a
Use sudo to execute a command as root:
sudo /usr/share/koha/bin/migration_tools/rebuild_zebra.pl –v –b –a # rebuild_zebra.pl will be executed as the user root
HTH Magnus libriotech.no
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
participants (5)
-
Amit Gupta -
Brendan Gallagher -
Koustubha Kale -
Magnus Enger -
Nouman Soomro