Greetings, I am a new user of Koha, and have had my Linux guru (who had not seen Koha prior to this work) install version 3.6.2 under Debian Squeeze on an otherwise empty virtual server. The staff client comes up fine, and using the beginners tutorials I've been able to set all of the parameters (that I understand). I have used the cataloging function to enter half a dozen bibliographic records and added holdings information for them. A shelf list creates correctly. All appears to be going exactly as it should. However, the public OPAC shows no books in the collection. Is there some step that is not covered by the tutorials that must be used to grant access? Can anyone suggest an online tutorial that covers the process? Cheers, / Bruce / Bruce A. Metcalf The Augustan Society Library
Hi Bruce, Get a look at this link. It shows the most common problems when you get not result in the OPAC. http://koha-community.org/documentation/faq/searching/ Don't hesitate to come back and ask for more info if this link doesn't solve your problem. Regards, Eric Bégin www.inLibro.com On 2012-01-14 17:09, Bruce A Metcalf wrote:
Greetings,
I am a new user of Koha, and have had my Linux guru (who had not seen Koha prior to this work) install version 3.6.2 under Debian Squeeze on an otherwise empty virtual server.
The staff client comes up fine, and using the beginners tutorials I've been able to set all of the parameters (that I understand).
I have used the cataloging function to enter half a dozen bibliographic records and added holdings information for them. A shelf list creates correctly. All appears to be going exactly as it should.
However, the public OPAC shows no books in the collection.
Is there some step that is not covered by the tutorials that must be used to grant access? Can anyone suggest an online tutorial that covers the process?
Cheers, / Bruce / Bruce A. Metcalf The Augustan Society Library _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Bruce Metcalf wrote:
I am a new user of Koha, and have had my Linux guru (who had not seen Koha prior to this work) install version 3.6.2 under Debian Squeeze on an otherwise empty virtual server.
All appears to be going exactly as it should.
owever, the public OPAC shows no books in the collection.
Eric Bégin wrote:
Get a look at this link. It shows the most common problems when you get not result in the OPAC.
http://koha-community.org/documentation/faq/searching/
Don't hesitate to come back and ask for more info if this link doesn't solve your problem.
This page seems to suggest: zebraidx -x /.../zebra-biblios.cfg drop biblios zebraidx -c /.../zebra-biblios.cfg commit rebuild_zebra.pl -b -r -v All three commands fail with a variety of messages, but all include "file not found". I'm thinking that there is an important configuration or initialization that hasn't been completed? Regards, / Bruce / Bruce A. Metcalf Executive Director The Augustan Society Library
Bruce,
All three commands fail with a variety of messages, but all include "file not found". Indeed, that doesn't look good.
Can you provide the full output of the rebuild_zebra -b -r -v (make sure to run this command from your <koha_install_dir>/bin directory) Eric On 2012-01-19 09:41, Bruce Metcalf wrote:
Bruce Metcalf wrote:
I am a new user of Koha, and have had my Linux guru (who had not seen Koha prior to this work) install version 3.6.2 under Debian Squeeze on an otherwise empty virtual server.
All appears to be going exactly as it should.
owever, the public OPAC shows no books in the collection.
Eric Bégin wrote:
Get a look at this link. It shows the most common problems when you get not result in the OPAC.
http://koha-community.org/documentation/faq/searching/
Don't hesitate to come back and ask for more info if this link doesn't solve your problem.
This page seems to suggest:
zebraidx -x /.../zebra-biblios.cfg drop biblios zebraidx -c /.../zebra-biblios.cfg commit rebuild_zebra.pl -b -r -v
All three commands fail with a variety of messages, but all include "file not found".
I'm thinking that there is an important configuration or initialization that hasn't been completed?
Regards, / Bruce / Bruce A. Metcalf Executive Director The Augustan Society Library
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Eric Bégin wrote:
All three commands fail with a variety of messages, but all include "file not found".
Indeed, that doesn't look good.
Can you provide the full output of the rebuild_zebra -b -r -v
bruce@library:/usr/share/koha4/bin/migration_tools$ rebuild_zebra.pl -b -r -v Can't locate Koha.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 5. BEGIN failed--compilation aborted at ./rebuild_zebra.pl line 5. Hope that helps, Bruce
On 2012-01-19 09:41, Bruce Metcalf wrote:
Bruce Metcalf wrote:
I am a new user of Koha, and have had my Linux guru (who had not seen Koha prior to this work) install version 3.6.2 under Debian Squeeze on an otherwise empty virtual server.
All appears to be going exactly as it should.
owever, the public OPAC shows no books in the collection.
Eric Bégin wrote:
Get a look at this link. It shows the most common problems when you get not result in the OPAC.
http://koha-community.org/documentation/faq/searching/
Don't hesitate to come back and ask for more info if this link doesn't solve your problem.
This page seems to suggest:
zebraidx -x /.../zebra-biblios.cfg drop biblios zebraidx -c /.../zebra-biblios.cfg commit rebuild_zebra.pl -b -r -v
All three commands fail with a variety of messages, but all include "file not found".
I'm thinking that there is an important configuration or initialization that hasn't been completed?
Regards, / Bruce / Bruce A. Metcalf Executive Director The Augustan Society Library
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Have a read at these FAQ's: http://koha-community.org/documentation/faq/searching/ Pay careful attention to the solution for question #4. It appears you've not exported the proper env vars. Kind Regards, Chris On Fri, Jan 20, 2012 at 9:01 PM, Bruce Metcalf <bruce.metcalf@figzu.com>wrote:
Eric Bégin wrote:
All three commands fail with a variety of messages, but all include
"file not found".
Indeed, that doesn't look good.
Can you provide the full output of the rebuild_zebra -b -r -v
bruce@library:/usr/share/**koha4/bin/migration_tools$ rebuild_zebra.pl -b -r -v Can't locate Koha.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 5. BEGIN failed--compilation aborted at ./rebuild_zebra.pl line 5.
Hope that helps, Bruce
On 2012-01-19 09:41, Bruce Metcalf wrote:
Bruce Metcalf wrote:
I am a new user of Koha, and have had my Linux guru (who had not
seen Koha prior to this work) install version 3.6.2 under Debian Squeeze on an otherwise empty virtual server.
All appears to be going exactly as it should.
owever, the public OPAC shows no books in the collection.
Eric Bégin wrote:
Get a look at this link. It shows the most common problems when you
get not result in the OPAC.
Don't hesitate to come back and ask for more info if this link doesn't solve your problem.
This page seems to suggest:
zebraidx -x /.../zebra-biblios.cfg drop biblios zebraidx -c /.../zebra-biblios.cfg commit rebuild_zebra.pl -b -r -v
All three commands fail with a variety of messages, but all include "file not found".
I'm thinking that there is an important configuration or initialization that hasn't been completed?
Regards, / Bruce / Bruce A. Metcalf Executive Director The Augustan Society Library
______________________________**_________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/**mailman/listinfo/koha<http://lists.katipo.co.nz/mailman/listinfo/koha>
______________________________**_________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/**mailman/listinfo/koha<http://lists.katipo.co.nz/mailman/listinfo/koha>
Chris Nighswonger wrote:
Have a read at these FAQ's:
http://koha-community.org/documentation/faq/searching/
Pay careful attention to the solution for question #4. It appears you've not exported the proper env vars.
It sounds like you're recommending:
1. Check that you are exporting the two environmental variables necessary to run Koha scripts from the command line. These are (modify to fit paths on your system):
PERL5LIB=/path/to/koha KOHA_CONF=/path/to/koha-conf.xml
Which sounds not unreasonable. I set: KOHA_CONF=/etc/koha/koha-conf.xml Which seems reasonable. I then set: PERL5LIB=/usr/share/koha/lib I chose this because the failure message for rebuild_zebra.pl claims it can't locate C4/Context.pm in @INC, which includes /etc/perl, and where that file can be found. It would appear that these choices were incorrect, or that I've made some other important error, as these two changes make no change in the failure message when I run rebuild_zebra.pl. I *did* warn y'all I was a newbie.... With thanks, / Bruce / Bruce A. Metcalf Library Director The Augustan Society Library
On Fri, Jan 20, 2012 at 9:01 PM, Bruce Metcalf <bruce.metcalf@figzu.com <mailto:bruce.metcalf@figzu.com>> wrote:
Eric Bégin wrote:
All three commands fail with a variety of messages, but all include "file not found".
Indeed, that doesn't look good.
Can you provide the full output of the rebuild_zebra -b -r -v
bruce@library:/usr/share/__koha4/bin/migration_tools$ rebuild_zebra.pl <http://rebuild_zebra.pl> -b -r -v Can't locate Koha.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 <http://rebuild_zebra.pl> line 5. BEGIN failed--compilation aborted at ./rebuild_zebra.pl <http://rebuild_zebra.pl> line 5.
Hope that helps, Bruce
On 2012-01-19 09 <tel:2012-01-19%2009>:41, Bruce Metcalf wrote: Bruce Metcalf wrote:
I am a new user of Koha, and have had my Linux guru (who had not seen Koha prior to this work) install version 3.6.2 under Debian Squeeze on an otherwise empty virtual server.
All appears to be going exactly as it should.
owever, the public OPAC shows no books in the collection.
Eric Bégin wrote:
Get a look at this link. It shows the most common problems when you get not result in the OPAC.
http://koha-community.org/__documentation/faq/searching/ <http://koha-community.org/documentation/faq/searching/>
Don't hesitate to come back and ask for more info if this link doesn't solve your problem.
This page seems to suggest:
zebraidx -x /.../zebra-biblios.cfg drop biblios zebraidx -c /.../zebra-biblios.cfg commit rebuild_zebra.pl <http://rebuild_zebra.pl> -b -r -v
All three commands fail with a variety of messages, but all include "file not found".
I'm thinking that there is an important configuration or initialization that hasn't been completed?
Regards, / Bruce / Bruce A. Metcalf Executive Director The Augustan Society Library
Hi Bruce, The correct paths for your installation would have been given in the notes produced at the end of running Makefile.PL (not sure where this would show up if you used the deb packages). These paths will *have* to be correct in order for Koha related cli scripts to run properly. Perhaps someone more familiar with the deb packages could help if that is, indeed, what you used. If the paths you selected are correct, then I'm out of ideas for the moment. Kind Regards, Chris On Sat, Jan 21, 2012 at 10:16 AM, Bruce A Metcalf < Consuls@augustansociety.org> wrote:
Chris Nighswonger wrote:
Have a read at these FAQ's:
http://koha-community.org/**documentation/faq/searching/<http://koha-community.org/documentation/faq/searching/> Pay careful attention to the solution for question #4. It appears you've not exported the proper env vars.
It sounds like you're recommending:
1. Check that you are exporting the two environmental variables
necessary to run Koha scripts from the command line. These are (modify to fit paths on your system):
PERL5LIB=/path/to/koha KOHA_CONF=/path/to/koha-conf.**xml
Which sounds not unreasonable. I set:
KOHA_CONF=/etc/koha/koha-conf.**xml
Which seems reasonable. I then set:
PERL5LIB=/usr/share/koha/lib
I chose this because the failure message for rebuild_zebra.pl claims it can't locate C4/Context.pm in @INC, which includes /etc/perl, and where that file can be found.
It would appear that these choices were incorrect, or that I've made some other important error, as these two changes make no change in the failure message when I run rebuild_zebra.pl.
I *did* warn y'all I was a newbie....
With thanks,
/ Bruce / Bruce A. Metcalf Library Director The Augustan Society Library
On Fri, Jan 20, 2012 at 9:01 PM, Bruce Metcalf <bruce.metcalf@figzu.com<mailto:
bruce.metcalf@figzu.**com <bruce.metcalf@figzu.com>>> wrote:
Eric Bégin wrote:
All three commands fail with a variety of messages, but all include "file not found".
Indeed, that doesn't look good.
Can you provide the full output of the rebuild_zebra -b -r -v
bruce@library:/usr/share/__**koha4/bin/migration_tools$ rebuild_zebra.pl <http://rebuild_zebra.pl> -b -r -v
Can't locate Koha.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 <http://rebuild_zebra.pl> line 5.
BEGIN failed--compilation aborted at ./rebuild_zebra.pl <http://rebuild_zebra.pl> line 5.
Hope that helps, Bruce
On 2012-01-19 09 <tel:2012-01-19%2009>:41, Bruce Metcalf wrote: Bruce Metcalf wrote:
I am a new user of Koha, and have had my Linux guru (who had not seen Koha prior to this work) install version 3.6.2 under Debian Squeeze on an otherwise empty virtual server.
All appears to be going exactly as it should.
owever, the public OPAC shows no books in the collection.
Eric Bégin wrote:
Get a look at this link. It shows the most common problems when you get not result in the OPAC.
Don't hesitate to come back and ask for more info if this link doesn't solve your problem.
This page seems to suggest:
zebraidx -x /.../zebra-biblios.cfg drop biblios zebraidx -c /.../zebra-biblios.cfg commit rebuild_zebra.pl <http://rebuild_zebra.pl> -b -r -v
All three commands fail with a variety of messages, but all include "file not found".
I'm thinking that there is an important configuration or initialization that hasn't been completed?
Regards, / Bruce / Bruce A. Metcalf Executive Director The Augustan Society Library
Bruce,
I set:
KOHA_CONF=/etc/koha/koha-conf.xml This looks ok to me.
PERL5LIB=/usr/share/koha/lib If you did the default installation, the PERL5LIB should then be /usr/share/koha
Eric Bégin www.inLibro.com On 12-01-21 10:16 AM, Bruce A Metcalf wrote:
Chris Nighswonger wrote:
Have a read at these FAQ's:
http://koha-community.org/documentation/faq/searching/ Pay careful attention to the solution for question #4. It appears you've not exported the proper env vars.
It sounds like you're recommending:
1. Check that you are exporting the two environmental variables necessary to run Koha scripts from the command line. These are (modify to fit paths on your system):
PERL5LIB=/path/to/koha KOHA_CONF=/path/to/koha-conf.xml
Which sounds not unreasonable. I set:
KOHA_CONF=/etc/koha/koha-conf.xml
Which seems reasonable. I then set:
PERL5LIB=/usr/share/koha/lib
I chose this because the failure message for rebuild_zebra.pl claims it can't locate C4/Context.pm in @INC, which includes /etc/perl, and where that file can be found.
It would appear that these choices were incorrect, or that I've made some other important error, as these two changes make no change in the failure message when I run rebuild_zebra.pl.
I *did* warn y'all I was a newbie....
With thanks, / Bruce / Bruce A. Metcalf Library Director The Augustan Society Library
On Fri, Jan 20, 2012 at 9:01 PM, Bruce Metcalf <bruce.metcalf@figzu.com <mailto:bruce.metcalf@figzu.com>> wrote:
Eric Bégin wrote:
All three commands fail with a variety of messages, but all include "file not found".
Indeed, that doesn't look good.
Can you provide the full output of the rebuild_zebra -b -r -v
bruce@library:/usr/share/__koha4/bin/migration_tools$ rebuild_zebra.pl <http://rebuild_zebra.pl> -b -r -v Can't locate Koha.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 <http://rebuild_zebra.pl> line 5. BEGIN failed--compilation aborted at ./rebuild_zebra.pl <http://rebuild_zebra.pl> line 5.
Hope that helps, Bruce
On 2012-01-19 09 <tel:2012-01-19%2009>:41, Bruce Metcalf wrote: Bruce Metcalf wrote:
I am a new user of Koha, and have had my Linux guru (who had not seen Koha prior to this work) install version 3.6.2 under Debian Squeeze on an otherwise empty virtual server.
All appears to be going exactly as it should.
owever, the public OPAC shows no books in the collection.
Eric Bégin wrote:
Get a look at this link. It shows the most common problems when you get not result in the OPAC.
http://koha-community.org/__documentation/faq/searching/ <http://koha-community.org/documentation/faq/searching/>
Don't hesitate to come back and ask for more info if this link doesn't solve your problem.
This page seems to suggest:
zebraidx -x /.../zebra-biblios.cfg drop biblios zebraidx -c /.../zebra-biblios.cfg commit rebuild_zebra.pl <http://rebuild_zebra.pl> -b -r -v
All three commands fail with a variety of messages, but all include "file not found".
I'm thinking that there is an important configuration or initialization that hasn't been completed?
Regards, / Bruce / Bruce A. Metcalf Executive Director The Augustan Society Library
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Eric Bégin wrote:
I set:
KOHA_CONF=/etc/koha/koha-conf.xml This looks ok to me.
PERL5LIB=/usr/share/koha/lib If you did the default installation, the PERL5LIB should then be /usr/share/koha
Tried this. Got the same failure message. Must be something else I did wrong or failed to do. Thanks again, / Bruce / Bruce A. Metcalf Library Director Augustan Society Library
On 12-01-21 10:16 AM, Bruce A Metcalf wrote:
Chris Nighswonger wrote:
Have a read at these FAQ's:
http://koha-community.org/documentation/faq/searching/ Pay careful attention to the solution for question #4. It appears you've not exported the proper env vars.
It sounds like you're recommending:
1. Check that you are exporting the two environmental variables necessary to run Koha scripts from the command line. These are (modify to fit paths on your system):
PERL5LIB=/path/to/koha KOHA_CONF=/path/to/koha-conf.xml
Which sounds not unreasonable. I set:
KOHA_CONF=/etc/koha/koha-conf.xml
Which seems reasonable. I then set:
PERL5LIB=/usr/share/koha/lib
I chose this because the failure message for rebuild_zebra.pl claims it can't locate C4/Context.pm in @INC, which includes /etc/perl, and where that file can be found.
It would appear that these choices were incorrect, or that I've made some other important error, as these two changes make no change in the failure message when I run rebuild_zebra.pl.
I *did* warn y'all I was a newbie....
With thanks, / Bruce / Bruce A. Metcalf Library Director The Augustan Society Library
On Fri, Jan 20, 2012 at 9:01 PM, Bruce Metcalf <bruce.metcalf@figzu.com <mailto:bruce.metcalf@figzu.com>> wrote:
Eric Bégin wrote:
All three commands fail with a variety of messages, but all include "file not found".
Indeed, that doesn't look good.
Can you provide the full output of the rebuild_zebra -b -r -v
bruce@library:/usr/share/__koha4/bin/migration_tools$ rebuild_zebra.pl <http://rebuild_zebra.pl> -b -r -v Can't locate Koha.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 <http://rebuild_zebra.pl> line 5. BEGIN failed--compilation aborted at ./rebuild_zebra.pl <http://rebuild_zebra.pl> line 5.
Hope that helps, Bruce
On 2012-01-19 09 <tel:2012-01-19%2009>:41, Bruce Metcalf wrote: Bruce Metcalf wrote:
I am a new user of Koha, and have had my Linux guru (who had not seen Koha prior to this work) install version 3.6.2 under Debian Squeeze on an otherwise empty virtual server.
All appears to be going exactly as it should.
owever, the public OPAC shows no books in the collection.
Eric Bégin wrote:
Get a look at this link. It shows the most common problems when you get not result in the OPAC.
http://koha-community.org/__documentation/faq/searching/ <http://koha-community.org/documentation/faq/searching/>
Don't hesitate to come back and ask for more info if this link doesn't solve your problem.
This page seems to suggest:
zebraidx -x /.../zebra-biblios.cfg drop biblios zebraidx -c /.../zebra-biblios.cfg commit rebuild_zebra.pl <http://rebuild_zebra.pl> -b -r -v
All three commands fail with a variety of messages, but all include "file not found".
I'm thinking that there is an important configuration or initialization that hasn't been completed?
Regards, / Bruce / Bruce A. Metcalf Executive Director The Augustan Society Library
Bruce, What is the first line in the Perl @INC: section in your staff About Koha's page ? This is most likely the value you should use to set PERL5LIB. Eric Bégin www.inLibro.com On 12-01-21 08:13 PM, Bruce A Metcalf wrote:
Eric Bégin wrote:
I set:
KOHA_CONF=/etc/koha/koha-conf.xml This looks ok to me.
PERL5LIB=/usr/share/koha/lib If you did the default installation, the PERL5LIB should then be /usr/share/koha
Tried this. Got the same failure message. Must be something else I did wrong or failed to do.
Thanks again, / Bruce / Bruce A. Metcalf Library Director Augustan Society Library
On 12-01-21 10:16 AM, Bruce A Metcalf wrote:
Chris Nighswonger wrote:
Have a read at these FAQ's:
http://koha-community.org/documentation/faq/searching/ Pay careful attention to the solution for question #4. It appears you've not exported the proper env vars.
It sounds like you're recommending:
1. Check that you are exporting the two environmental variables necessary to run Koha scripts from the command line. These are (modify to fit paths on your system):
PERL5LIB=/path/to/koha KOHA_CONF=/path/to/koha-conf.xml
Which sounds not unreasonable. I set:
KOHA_CONF=/etc/koha/koha-conf.xml
Which seems reasonable. I then set:
PERL5LIB=/usr/share/koha/lib
I chose this because the failure message for rebuild_zebra.pl claims it can't locate C4/Context.pm in @INC, which includes /etc/perl, and where that file can be found.
It would appear that these choices were incorrect, or that I've made some other important error, as these two changes make no change in the failure message when I run rebuild_zebra.pl.
I *did* warn y'all I was a newbie....
With thanks, / Bruce / Bruce A. Metcalf Library Director The Augustan Society Library
On Fri, Jan 20, 2012 at 9:01 PM, Bruce Metcalf <bruce.metcalf@figzu.com <mailto:bruce.metcalf@figzu.com>> wrote:
Eric Bégin wrote:
All three commands fail with a variety of messages, but all include "file not found".
Indeed, that doesn't look good.
Can you provide the full output of the rebuild_zebra -b -r -v
bruce@library:/usr/share/__koha4/bin/migration_tools$ rebuild_zebra.pl <http://rebuild_zebra.pl> -b -r -v Can't locate Koha.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 <http://rebuild_zebra.pl> line 5. BEGIN failed--compilation aborted at ./rebuild_zebra.pl <http://rebuild_zebra.pl> line 5.
Hope that helps, Bruce
On 2012-01-19 09 <tel:2012-01-19%2009>:41, Bruce Metcalf wrote: Bruce Metcalf wrote:
I am a new user of Koha, and have had my Linux guru (who had not seen Koha prior to this work) install version 3.6.2 under Debian Squeeze on an otherwise empty virtual server.
All appears to be going exactly as it should.
owever, the public OPAC shows no books in the collection.
Eric Bégin wrote:
Get a look at this link. It shows the most common problems when you get not result in the OPAC.
http://koha-community.org/__documentation/faq/searching/ <http://koha-community.org/documentation/faq/searching/>
Don't hesitate to come back and ask for more info if this link doesn't solve your problem.
This page seems to suggest:
zebraidx -x /.../zebra-biblios.cfg drop biblios zebraidx -c /.../zebra-biblios.cfg commit rebuild_zebra.pl <http://rebuild_zebra.pl> -b -r -v
All three commands fail with a variety of messages, but all include "file not found".
I'm thinking that there is an important configuration or initialization that hasn't been completed?
Regards, / Bruce / Bruce A. Metcalf Executive Director The Augustan Society Library
Eric Bégin wrote:
What is the first line in the Perl @INC: section in your staff About Koha's page ?
/usr/share/koha/lib
This is most likely the value you should use to set PERL5LIB.
Since that's what I've been trying, it would seem the problem lies elsewhere. Thanks, / Bruce / Bruce A. Metcalf Library Director Augustan Society Library
On 12-01-21 08:13 PM, Bruce A Metcalf wrote:
Eric Bégin wrote:
I set:
KOHA_CONF=/etc/koha/koha-conf.xml This looks ok to me.
PERL5LIB=/usr/share/koha/lib If you did the default installation, the PERL5LIB should then be /usr/share/koha
Tried this. Got the same failure message. Must be something else I did wrong or failed to do.
Thanks again, / Bruce / Bruce A. Metcalf Library Director Augustan Society Library
On 12-01-21 10:16 AM, Bruce A Metcalf wrote:
Chris Nighswonger wrote:
Have a read at these FAQ's:
http://koha-community.org/documentation/faq/searching/ Pay careful attention to the solution for question #4. It appears you've not exported the proper env vars.
It sounds like you're recommending:
1. Check that you are exporting the two environmental variables necessary to run Koha scripts from the command line. These are (modify to fit paths on your system):
PERL5LIB=/path/to/koha KOHA_CONF=/path/to/koha-conf.xml
Which sounds not unreasonable. I set:
KOHA_CONF=/etc/koha/koha-conf.xml
Which seems reasonable. I then set:
PERL5LIB=/usr/share/koha/lib
I chose this because the failure message for rebuild_zebra.pl claims it can't locate C4/Context.pm in @INC, which includes /etc/perl, and where that file can be found.
It would appear that these choices were incorrect, or that I've made some other important error, as these two changes make no change in the failure message when I run rebuild_zebra.pl.
I *did* warn y'all I was a newbie....
With thanks, / Bruce / Bruce A. Metcalf Library Director The Augustan Society Library
On Fri, Jan 20, 2012 at 9:01 PM, Bruce Metcalf <bruce.metcalf@figzu.com <mailto:bruce.metcalf@figzu.com>> wrote:
Eric Bégin wrote:
All three commands fail with a variety of messages, but all include "file not found".
Indeed, that doesn't look good.
Can you provide the full output of the rebuild_zebra -b -r -v
bruce@library:/usr/share/__koha4/bin/migration_tools$ rebuild_zebra.pl <http://rebuild_zebra.pl> -b -r -v Can't locate Koha.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 <http://rebuild_zebra.pl> line 5. BEGIN failed--compilation aborted at ./rebuild_zebra.pl <http://rebuild_zebra.pl> line 5.
Hope that helps, Bruce
On 2012-01-19 09 <tel:2012-01-19%2009>:41, Bruce Metcalf wrote: Bruce Metcalf wrote:
I am a new user of Koha, and have had my Linux guru (who had not seen Koha prior to this work) install version 3.6.2 under Debian Squeeze on an otherwise empty virtual server.
All appears to be going exactly as it should.
owever, the public OPAC shows no books in the collection.
Eric Bégin wrote:
Get a look at this link. It shows the most common problems when you get not result in the OPAC.
http://koha-community.org/__documentation/faq/searching/ <http://koha-community.org/documentation/faq/searching/>
Don't hesitate to come back and ask for more info if this link doesn't solve your problem.
This page seems to suggest:
zebraidx -x /.../zebra-biblios.cfg drop biblios zebraidx -c /.../zebra-biblios.cfg commit rebuild_zebra.pl <http://rebuild_zebra.pl> -b -r -v
All three commands fail with a variety of messages, but all include "file not found".
I'm thinking that there is an important configuration or initialization that hasn't been completed?
Regards, / Bruce / Bruce A. Metcalf Executive Director The Augustan Society Library
bruce@library:/usr/share/__koha4/bin/migration_tools$
Hi For the error message you have pasted above, it seems your koha is located at /usr/share/__koha4 If thats correct ( you can verify by running command ls /usr/share/__koha4 ) then your PERL5LIB should be PERL5LIB=/usr/share/__koha4/lib Try that. Also make sure your zebra server is running by running command ps aux|grep zebra You should see atleast three lines of output on above command.. 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
rebuild_zebra.pl <http://rebuild_zebra.pl> -b -r -v
Can't locate Koha.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 <http://rebuild_zebra.pl> line 5. BEGIN failed--compilation aborted at ./rebuild_zebra.pl <http://rebuild_zebra.pl> line 5.
Hope that helps, Bruce
On 2012-01-19 09 <tel:2012-01-19%2009>:41, Bruce Metcalf wrote: Bruce Metcalf wrote:
I am a new user of Koha, and have had my Linux guru (who had not seen Koha prior to this work) install version 3.6.2 under Debian Squeeze on an otherwise empty virtual server.
All appears to be going exactly as it should.
owever, the public OPAC shows no books in the collection.
Eric Bégin wrote:
Get a look at this link. It shows the most common problems when you get not result in the OPAC.
http://koha-community.org/__documentation/faq/searching/ <http://koha-community.org/documentation/faq/searching/>
Don't hesitate to come back and ask for more info if this link doesn't solve your problem.
This page seems to suggest:
zebraidx -x /.../zebra-biblios.cfg drop biblios zebraidx -c /.../zebra-biblios.cfg commit rebuild_zebra.pl <http://rebuild_zebra.pl> -b -r -v
All three commands fail with a variety of messages, but all include "file not found".
I'm thinking that there is an important configuration or initialization that hasn't been completed?
Regards, / Bruce / Bruce A. Metcalf Executive Director The Augustan Society Library
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Koustubha Kale wrote:
bruce@library:/usr/share/__koha4/bin/migration_tools$
For the error message you have pasted above, it seems your koha is located at /usr/share/__koha4
Actually, /usr/share/koha. The koha4 directories are a leftover liblime install that was abandoned when we moved to the community distro. Should probably purge it.
If thats correct ( you can verify by running command ls /usr/share/__koha4 ) then your PERL5LIB should be PERL5LIB=/usr/share/__koha4/lib
# ls /usr/share/koha bin doc intranet lib man misc opac # ls /usr/share/koha/lib C4 So that looks right, I think.
Also make sure your zebra server is running by running command ps aux|grep zebra You should see atleast three lines of output on above command.
Nope, just: # ps aux|grep zebra root 16132 0.0 0.1 3292 508 pts/0 R+ 22:10 0:00 grep zebra Does this suggest that zebra hasn't been started? How to? Thanks again for the effort, / Bruce / Bruce A Metcalf Library Director Augustan Society Library
rebuild_zebra.pl <http://rebuild_zebra.pl> <http://rebuild_zebra.pl> -b -r -v Can't locate Koha.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 <http://rebuild_zebra.pl> <http://rebuild_zebra.pl> line 5. BEGIN failed--compilation aborted at ./rebuild_zebra.pl <http://rebuild_zebra.pl> <http://rebuild_zebra.pl> line 5.
Hope that helps, Bruce
On 2012-01-19 09 <tel:2012-01-19%2009>:41, Bruce Metcalf wrote: Bruce Metcalf wrote:
I am a new user of Koha, and have had my Linux guru (who had not seen Koha prior to this work) install version 3.6.2 under Debian Squeeze on an otherwise empty virtual server.
All appears to be going exactly as it should.
owever, the public OPAC shows no books in the collection.
Eric Bégin wrote:
Get a look at this link. It shows the most common problems when you get not result in the OPAC.
http://koha-community.org/__documentation/faq/searching/ <http://koha-community.org/documentation/faq/searching/>
Don't hesitate to come back and ask for more info if this link doesn't solve your problem.
This page seems to suggest:
zebraidx -x /.../zebra-biblios.cfg drop biblios zebraidx -c /.../zebra-biblios.cfg commit rebuild_zebra.pl <http://rebuild_zebra.pl> <http://rebuild_zebra.pl> -b -r -v
All three commands fail with a variety of messages, but all include "file not found".
I'm thinking that there is an important configuration or initialization that hasn't been completed?
Regards, / Bruce / Bruce A. Metcalf Executive Director The Augustan Society Library
Also make sure your zebra server is running by running command ps
aux|grep zebra You should see atleast three lines of output on above command.
Nope, just:
# ps aux|grep zebra root 16132 0.0 0.1 3292 508 pts/0 R+ 22:10 0:00 grep zebra
Does this suggest that zebra hasn't been started? How to?
Ok. Thats your problem I think. Please note that following directories and everything inside them( assuming standard install, if not adjust your paths. ) need to be owned by user & group koha /var/lib/koha /var/run/koha /var/lock/koha /var/log/koha Did you follow section 6 in the INSTALL.debian document in the directory where you downloaded koha? Specifically while testing try this : sudo -u koha zebrasrv -f /etc/koha/koha-conf.xml (note that the path to koha-conf.xml may be different if you chose a dev install, and that -u koha refers to the user you set up in step 2.3) Then run ps aux|grep koha again. You should see atleast three lines of output. If yes, follow sections 6.2.1 & 6.2.2 to configure zebra server to run automatically and run zebra indexing through crontab on a set frequency. 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
Thanks again for the effort, / Bruce / Bruce A Metcalf
Library Director Augustan Society Library
participants (6)
-
Bruce A Metcalf -
Bruce Metcalf -
Chris Nighswonger -
Eric Bégin -
Eric Bégin -
Koustubha Kale