catalogue search not working

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

catalogue search not working

Nouman Soomro-3
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


_______________________________________________
Koha mailing list
[hidden email]
http://lists.katipo.co.nz/mailman/listinfo/koha
Reply | Threaded
Open this post in threaded view
|

Re: catalogue search not working

Koustubha Kale
As i mentioned in my last mail did you try..

If search from z39.50 is working, In Koha staff client
Home → Administration → System Preferences → Searching
Try Turning off QueryFuzzy ( & maybe QueryWeightFields)

This has worked for me on version 3.00.00 to 3.00.03 although on 3.00.05 I did no need to do this..

Also to verify zebra search is working independent of Koha you can use following..


$ Yaz-client
z> auth kohauser zebrastripes
z> open unix:/var/run/koha/zebradb/
bibliosocket
z> base biblios
z> f ”your search term”
z> s
z> q



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/1 Nouman Soomro <[hidden email]>
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


_______________________________________________
Koha mailing list
[hidden email]
http://lists.katipo.co.nz/mailman/listinfo/koha



_______________________________________________
Koha mailing list
[hidden email]
http://lists.katipo.co.nz/mailman/listinfo/koha
Reply | Threaded
Open this post in threaded view
|

Re: catalogue search not working

Nouman Soomro-3
I have completed this step
Home → Administration → System Preferences → Searching
Try Turning off QueryFuzzy ( & maybe QueryWeightFields)

but when I used following is the problem and what should I used instead of "auth kohauserzebrastripes" as I kept everything by default

 /usr/bin/yaz-client
Z> auth kohauserzebrastripes
Authentication set to Open (kohauserzebrastripes)
Z> open unix/var/run/koha/zebradb/bibliosocket
Could not resolve address unix/var/run/koha/zebradb/bibliosocket
Z> base biblios
Z> f "111 Questions on Islam"
Not connected yet
Z> s
Not connected yet




From: Koustubha Kale <[hidden email]>
To: Nouman Soomro <[hidden email]>; "[hidden email]" <[hidden email]>
Sent: Sun, February 28, 2010 11:12:09 PM
Subject: Re: [Koha] catalogue search not working

As i mentioned in my last mail did you try..

If search from z39.50 is working, In Koha staff client
Home → Administration → System Preferences → Searching
Try Turning off QueryFuzzy ( & maybe QueryWeightFields)

This has worked for me on version 3.00.00 to 3.00.03 although on 3.00.05 I did no need to do this..

Also to verify zebra search is working independent of Koha you can use following..


$ Yaz-client
z> auth kohauser zebrastripes
z> open unix:/var/run/koha/zebradb/
bibliosocket
z> base biblios
z> f ”your search term”
z> s
z> q



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/1 Nouman Soomro <[hidden email]>
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


_______________________________________________
Koha mailing list
[hidden email]
http://lists.katipo.co.nz/mailman/listinfo/koha




_______________________________________________
Koha mailing list
[hidden email]
http://lists.katipo.co.nz/mailman/listinfo/koha
Reply | Threaded
Open this post in threaded view
|

catalogue search not working

Nouman Soomro-3
In reply to this post by Koustubha Kale
This is the following problem when I want to verify zebra search indepedent of koha

lumhs-b70715be2:/home/nouman# /usr/bin/yaz-client
Z> auth kohauser zebrastripes
Authentication set to User (kohauser), Pass (zebrastripes)
Z> open unix:/var/run/koha/zebradb/bibliosocket
Connecting...error = System (lower-layer) error: Connection refused
Z>
plz resolve this problem as soon as possible


From: Koustubha Kale <[hidden email]>
To: Nouman Soomro <[hidden email]>; "[hidden email]" <[hidden email]>
Sent: Sun, February 28, 2010 11:12:09 PM
Subject: Re: [Koha] catalogue search not working

As i mentioned in my last mail did you try..

If search from z39.50 is working, In Koha staff client
Home → Administration → System Preferences → Searching
Try Turning off QueryFuzzy ( & maybe QueryWeightFields)

This has worked for me on version 3.00.00 to 3.00.03 although on 3.00.05 I did no need to do this..

Also to verify zebra search is working independent of Koha you can use following..


$ Yaz-client
z> auth kohauser zebrastripes
z> open unix:/var/run/koha/zebradb/
bibliosocket
z> base biblios
z> f ”your search term”
z> s
z> q



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/1 Nouman Soomro <[hidden email]>
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


_______________________________________________
Koha mailing list
[hidden email]
http://lists.katipo.co.nz/mailman/listinfo/koha




_______________________________________________
Koha mailing list
[hidden email]
http://lists.katipo.co.nz/mailman/listinfo/koha
Reply | Threaded
Open this post in threaded view
|

catalogue search not working

Nouman Soomro-3
In reply to this post by Nouman Soomro-3
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 <[hidden email]>
To: Nouman Soomro <[hidden email]>
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: [hidden email] [mailto:[hidden email]] On Behalf Of Nouman Soomro
Sent: 01 March 2010 06:42
To: [hidden email]
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
[hidden email]
http://lists.katipo.co.nz/mailman/listinfo/koha
Reply | Threaded
Open this post in threaded view
|

Re: catalogue search not working

Koustubha Kale
In reply to this post by Nouman Soomro-3
Is your zebra server running?
Please check output of ps aux |grep zebra to verify
Also check logs in /var/log/koha to see any errors

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


On Tue, Mar 2, 2010 at 11:01 AM, Nouman Soomro <[hidden email]> wrote:
This is the following problem when I want to verify zebra search indepedent of koha

lumhs-b70715be2:/home/nouman# /usr/bin/yaz-client
Z> auth kohauser zebrastripes
Authentication set to User (kohauser), Pass (zebrastripes)

Z> open unix:/var/run/koha/zebradb/bibliosocket
Connecting...error = System (lower-layer) error: Connection refused
Z>
plz resolve this problem as soon as possible


From: Koustubha Kale <[hidden email]>
To: Nouman Soomro <[hidden email]>; "[hidden email]" <[hidden email]>
Sent: Sun, February 28, 2010 11:12:09 PM
Subject: Re: [Koha] catalogue search not working

As i mentioned in my last mail did you try..

If search from z39.50 is working, In Koha staff client
Home → Administration → System Preferences → Searching
Try Turning off QueryFuzzy ( & maybe QueryWeightFields)

This has worked for me on version 3.00.00 to 3.00.03 although on 3.00.05 I did no need to do this..

Also to verify zebra search is working independent of Koha you can use following..


$ Yaz-client
z> auth kohauser zebrastripes
z> open unix:/var/run/koha/zebradb/
bibliosocket
z> base biblios
z> f ”your search term”
z> s
z> q



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/1 Nouman Soomro <[hidden email]>
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


_______________________________________________
Koha mailing list
[hidden email]
http://lists.katipo.co.nz/mailman/listinfo/koha





_______________________________________________
Koha mailing list
[hidden email]
http://lists.katipo.co.nz/mailman/listinfo/koha
Reply | Threaded
Open this post in threaded view
|

Re: catalogue search not working

Koustubha Kale
In reply to this post by Nouman Soomro-3
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 <[hidden email]>
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 <[hidden email]>

To: Nouman Soomro <[hidden email]>
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: [hidden email] [mailto:[hidden email]] On Behalf Of Nouman Soomro
Sent: 01 March 2010 06:42
To: [hidden email]
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
[hidden email]
http://lists.katipo.co.nz/mailman/listinfo/koha



_______________________________________________
Koha mailing list
[hidden email]
http://lists.katipo.co.nz/mailman/listinfo/koha
Reply | Threaded
Open this post in threaded view
|

catalogue search not working

Nouman Soomro-3
In reply to this post by Koustubha Kale
nouman@lumhs-b70715be2:~$ ps aux |grep zebra
nouman    3870  0.0  0.1   3116   728 pts/0    R+   15:01   0:00 grep zebra

there is long list of  errors in logs in /var/log/koha

From: Koustubha Kale <[hidden email]>
To: Nouman Soomro <[hidden email]>; "[hidden email]" <[hidden email]>
Sent: Mon, March 1, 2010 9:54:58 PM
Subject: Re: catalogue search not working

Is your zebra server running?
Please check output of ps aux |grep zebra to verify
Also check logs in /var/log/koha to see any errors

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


On Tue, Mar 2, 2010 at 11:01 AM, Nouman Soomro <[hidden email]> wrote:
This is the following problem when I want to verify zebra search indepedent of koha

lumhs-b70715be2:/home/nouman# /usr/bin/yaz-client
Z> auth kohauser zebrastripes
Authentication set to User (kohauser), Pass (zebrastripes)

Z> open unix:/var/run/koha/zebradb/bibliosocket
Connecting...error = System (lower-layer) error: Connection refused
Z>
plz resolve this problem as soon as possible


From: Koustubha Kale <[hidden email]>
To: Nouman Soomro <[hidden email]>; "[hidden email]" <[hidden email]>
Sent: Sun, February 28, 2010 11:12:09 PM
Subject: Re: [Koha] catalogue search not working

As i mentioned in my last mail did you try..

If search from z39.50 is working, In Koha staff client
Home → Administration → System Preferences → Searching
Try Turning off QueryFuzzy ( & maybe QueryWeightFields)

This has worked for me on version 3.00.00 to 3.00.03 although on 3.00.05 I did no need to do this..

Also to verify zebra search is working independent of Koha you can use following..


$ Yaz-client
z> auth kohauser zebrastripes
z> open unix:/var/run/koha/zebradb/
bibliosocket
z> base biblios
z> f ”your search term”
z> s
z> q



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/1 Nouman Soomro <[hidden email]>
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


_______________________________________________
Koha mailing list
[hidden email]
http://lists.katipo.co.nz/mailman/listinfo/koha






_______________________________________________
Koha mailing list
[hidden email]
http://lists.katipo.co.nz/mailman/listinfo/koha
Reply | Threaded
Open this post in threaded view
|

catalogue search not working

Nouman Soomro-3
In reply to this post by Koustubha Kale


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 <[hidden email]>
To: Nouman Soomro <[hidden email]>; "[hidden email]" <[hidden email]>
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 <[hidden email]>
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 <[hidden email]>

To: Nouman Soomro <[hidden email]>
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: [hidden email] [mailto:[hidden email]] On Behalf Of Nouman Soomro
Sent: 01 March 2010 06:42
To: [hidden email]
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
[hidden email]
http://lists.katipo.co.nz/mailman/listinfo/koha





_______________________________________________
Koha mailing list
[hidden email]
http://lists.katipo.co.nz/mailman/listinfo/koha
Reply | Threaded
Open this post in threaded view
|

Re: catalogue search not working

Magnus Enger
2010/3/2 Nouman Soomro <[hidden email]>:
>
>
> 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
_______________________________________________
Koha mailing list
[hidden email]
http://lists.katipo.co.nz/mailman/listinfo/koha
Reply | Threaded
Open this post in threaded view
|

Re: catalogue search not working

Koustubha Kale
In reply to this post by Nouman Soomro-3
That means the zebra server is not running.
Read the docs and our previous mails to see how to start the zebra server..
You can post the errors so we could see whats preventing zebra server from running normally..

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


On Tue, Mar 2, 2010 at 12:43 PM, Nouman Soomro <[hidden email]> wrote:
nouman@lumhs-b70715be2:~$ ps aux |grep zebra
nouman    3870  0.0  0.1   3116   728 pts/0    R+   15:01   0:00 grep zebra

there is long list of  errors in logs in /var/log/koha

From: Koustubha Kale <[hidden email]>
To: Nouman Soomro <[hidden email]>; "[hidden email]" <[hidden email]>
Sent: Mon, March 1, 2010 9:54:58 PM
Subject: Re: catalogue search not working

Is your zebra server running?
Please check output of ps aux |grep zebra to verify
Also check logs in /var/log/koha to see any errors

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


On Tue, Mar 2, 2010 at 11:01 AM, Nouman Soomro <[hidden email]> wrote:
This is the following problem when I want to verify zebra search indepedent of koha

lumhs-b70715be2:/home/nouman# /usr/bin/yaz-client
Z> auth kohauser zebrastripes
Authentication set to User (kohauser), Pass (zebrastripes)

Z> open unix:/var/run/koha/zebradb/bibliosocket
Connecting...error = System (lower-layer) error: Connection refused
Z>
plz resolve this problem as soon as possible


From: Koustubha Kale <[hidden email]>
To: Nouman Soomro <[hidden email]>; "[hidden email]" <[hidden email]>
Sent: Sun, February 28, 2010 11:12:09 PM
Subject: Re: [Koha] catalogue search not working

As i mentioned in my last mail did you try..

If search from z39.50 is working, In Koha staff client
Home → Administration → System Preferences → Searching
Try Turning off QueryFuzzy ( & maybe QueryWeightFields)

This has worked for me on version 3.00.00 to 3.00.03 although on 3.00.05 I did no need to do this..

Also to verify zebra search is working independent of Koha you can use following..


$ Yaz-client
z> auth kohauser zebrastripes
z> open unix:/var/run/koha/zebradb/
bibliosocket
z> base biblios
z> f ”your search term”
z> s
z> q



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/1 Nouman Soomro <[hidden email]>
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


_______________________________________________
Koha mailing list
[hidden email]
http://lists.katipo.co.nz/mailman/listinfo/koha







_______________________________________________
Koha mailing list
[hidden email]
http://lists.katipo.co.nz/mailman/listinfo/koha
Reply | Threaded
Open this post in threaded view
|

rebuild_zebra command is not working

Nouman Soomro-3
In reply to this post by Magnus Enger
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 <[hidden email]>
To: Nouman Soomro <[hidden email]>
Cc: "[hidden email]" <[hidden email]>
Sent: Tue, March 2, 2010 12:23:05 AM
Subject: Re: [Koha] catalogue search not working

2010/3/2 Nouman Soomro <[hidden email]>:
>
>
> 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


_______________________________________________
Koha mailing list
[hidden email]
http://lists.katipo.co.nz/mailman/listinfo/koha
Reply | Threaded
Open this post in threaded view
|

Re: rebuild_zebra command is not working

Amit Gupta-2
Hi,
        Export your path
        export KOHA_CONF=/etc/koha/koha-conf.xml
        export PERL5LIB=/usr/share/koha/lib

2010/3/3 Nouman Soomro <[hidden email]>
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 <[hidden email]>
To: Nouman Soomro <[hidden email]>
Cc: "[hidden email]" <[hidden email]>
Sent: Tue, March 2, 2010 12:23:05 AM
Subject: Re: [Koha] catalogue search not working

2010/3/2 Nouman Soomro <[hidden email]>:
>
>
> 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


_______________________________________________
Koha mailing list
[hidden email]
http://lists.katipo.co.nz/mailman/listinfo/koha


Regards,
Amit Gupta
Nucsoft Osslabs
www.osslabs.biz

_______________________________________________
Koha mailing list
[hidden email]
http://lists.katipo.co.nz/mailman/listinfo/koha
Reply | Threaded
Open this post in threaded view
|

zebra_rebuild.pl still not working

Nouman Soomro-3
In reply to this post by Magnus Enger
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 <[hidden email]>
To: Nouman Soomro <[hidden email]>
Cc: "[hidden email]" <[hidden email]>
Sent: Tue, March 2, 2010 12:23:05 AM
Subject: Re: [Koha] catalogue search not working

2010/3/2 Nouman Soomro <[hidden email]>:
>
>
> 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


_______________________________________________
Koha mailing list
[hidden email]
http://lists.katipo.co.nz/mailman/listinfo/koha
Reply | Threaded
Open this post in threaded view
|

Re: zebra_rebuild.pl still not working

Brendan Gallagher
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
[hidden email]

2010/3/2 Nouman Soomro <[hidden email]>
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 <[hidden email]>
To: Nouman Soomro <[hidden email]>
Cc: "[hidden email]" <[hidden email]>
Sent: Tue, March 2, 2010 12:23:05 AM
Subject: Re: [Koha] catalogue search not working

2010/3/2 Nouman Soomro <[hidden email]>:
>
>
> 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


_______________________________________________
Koha mailing list
[hidden email]
http://lists.katipo.co.nz/mailman/listinfo/koha







_______________________________________________
Koha mailing list
[hidden email]
http://lists.katipo.co.nz/mailman/listinfo/koha