Re: [Koha] How frequently to run zebra rebuild and what switches
About crons, maybe this will help: http://wiki.lib.sun.ac.za/index.php/KOHA#Setup_Zebra On 20 August 2013 20:49, Olugbenga Adara gbengaad...@yahoo.com wrote: Hello Steven, Looking for some advice and recommendations. For a fairly small library running Koha 3.12.00.000 from the Debian squeeze packages, how often should the zebra_rebuild.pl script be executed and with exactly which switches? Right now I run it at 7:30 AM each morning with -run-as-root -b -r -v I am quite surprised you need to do that since you say you installed from Debian packages. All the installations I have done through the Debian packages always have the zebra incremental indexing properly set in cron and it is usually set to run every 5 minutes. You can check your cron settings to make sure that this is properly set and enabled to run regularly. I don't think you need to run it manually. That is as per my own experience. Cheers Olugbenga Adara ___ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha -- *Hilton Gibson* Ubuntu Linux Systems Administrator JS Gericke Library Room 1025D Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 http://library.sun.ac.za http://za.linkedin.com/in/hiltongibson http://staff.lib.sun.ac.za/~hgibson/docs/cv/cv.html ___ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Re: [Koha] Issues with sending emails in Koha
Hi I use postfix to deliver email. See: http://wiki.lib.sun.ac.za/index.php/KOHA#Step_2_-_Setup_system_email_delivery On 20 August 2013 21:09, Olugbenga Adara gbengaad...@yahoo.com wrote: Hello all, I have explored this issue more and it seems it is a problem with ssmtp which I could not figure out. I am back to Exim which I have used several times in the past with success (though it seems as an overkill just to send emails to a smart host), and I can send emails out from the server now. I have a related question though, where can i change the wordings of the information informing the user to verify her accounts after self registration in the OPAC? I want to notify the user to possibly check their spam folder before concluding the email did not get through to them. Thanks. Olugbenga Adara Skype: gbengaadara Blog: http://gbengaadara.blogspot.com Twitter: http://twitter.com/gbengaadara Profile: http://www.linkedin.com/in/gbengaadara - Original Message - From: Olugbenga Adara gbengaad...@yahoo.com To: koha@lists.katipo.co.nz koha@lists.katipo.co.nz Cc: Sent: Monday, August 19, 2013 2:54:37 PM Subject: [Koha] Issues with sending emails in Koha Hello all, Good day. I am trying to get a Koha instance to send email. I am using Koha 3.12.3 using package install on wheezy. I am using ssmtp as the MTA I can send emails successfully from the command line I have enabled the instance to send email I can see cron is processing the message queue I get emails from cron daemon telling me why the message queue cant be processed. The error is as follows instance_name: connect to localhost failed (Connection refused) instance_name: connect to localhost failed instance_name: connect to localhost failed (Connection refused) no (more) retries! instance_name: at /usr/share/koha/bin/cronjobs/process_message_queue.plline 63 Any help to solve this issue is appreciated. Regards Olugbenga Adara Skype: gbengaadara Blog: http://gbengaadara.blogspot.com Twitter: http://twitter.com/gbengaadara Profile: http://www.linkedin.com/in/gbengaadara ___ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz 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 -- *Hilton Gibson* Ubuntu Linux Systems Administrator JS Gericke Library Room 1025D Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 http://library.sun.ac.za http://za.linkedin.com/in/hiltongibson http://staff.lib.sun.ac.za/~hgibson/docs/cv/cv.html ___ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Re: [Koha] How frequently to run zebra rebuild and what switches
Thanks Chris! It turns out I actually do have /etc/cron.d/koha-common and didn't even realize it was there (running as ROOT, as well as /etc/cron.daily/koha-common and /etc/cron.hourly/koha-common). I added the other entry to the ROOT crontab file manually. If this is the entry in the /etc/cron.d/koha-common file is this all that I need for the zebra rebuild? If a librarian adds a new holding, it should appear in search results within 5 minutes with this cron entry, right? */5 * * * * root test -x /usr/sbin/koha-rebuild-zebra koha-rebuild-zebra $(koha-list --enabled) As Paul mentioned, there are certain tasks/admin functions that seem to require a complete rebuild and not just an incremental one...does the /etc/cron.d/koha-common take care of doing that periodically? Or should I leave my complete zebra rebuild in the ROOT crontab as I have it now, perhaps? THANKS! Steve -Original Message- From: Chris Cormack [mailto:chr...@catalyst.net.nz] Sent: Tuesday, August 20, 2013 3:17 PM To: Steven Nickerson Cc: 'Olugbenga Adara'; koha@lists.katipo.co.nz Subject: Re: [Koha] How frequently to run zebra rebuild and what switches * Steven Nickerson (snick...@maine.rr.com) wrote: Thanks for the reply, but I'm 99% sure it was NOT there by default. Can someone tell me what the default crontab entry for rebuild_zebra.pl is, and maybe what ALL of the default crontab entries are/should be? Now I'm concerned I'm missing more than just the rebuild_zebra one. If it wasn't set up by default, im 100% sure you didn't install via the packages. Because the packages put koha-common in /etc/cron.d that does the indexing. The fact you have reindexed as root will have mucked up all sorts of permissions, including breaking this cron job. Chris -- Chris Cormack Catalyst IT Ltd. +64 4 803 2238 PO Box 11-053, Manners St, Wellington 6142, New Zealand ___ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Re: [Koha] How frequently to run zebra rebuild and what switches
On 21 August 2013 19:14, Hilton Gibson hilton.gib...@gmail.com wrote: About crons, maybe this will help: http://wiki.lib.sun.ac.za/index.php/KOHA#Setup_Zebra Only if you are running not using the .deb packages. If you did install with the packages, following that will make a mess Chris On 20 August 2013 20:49, Olugbenga Adara gbengaad...@yahoo.com wrote: Hello Steven, Looking for some advice and recommendations. For a fairly small library running Koha 3.12.00.000 from the Debian squeeze packages, how often should the zebra_rebuild.pl script be executed and with exactly which switches? Right now I run it at 7:30 AM each morning with -run-as-root -b -r -v I am quite surprised you need to do that since you say you installed from Debian packages. All the installations I have done through the Debian packages always have the zebra incremental indexing properly set in cron and it is usually set to run every 5 minutes. You can check your cron settings to make sure that this is properly set and enabled to run regularly. I don't think you need to run it manually. That is as per my own experience. Cheers Olugbenga Adara ___ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha -- *Hilton Gibson* Ubuntu Linux Systems Administrator JS Gericke Library Room 1025D Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 http://library.sun.ac.za http://za.linkedin.com/in/hiltongibson http://staff.lib.sun.ac.za/~hgibson/docs/cv/cv.html ___ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz 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
Re: [Koha] How frequently to run zebra rebuild and what switches
The only time I think it is necessary to rebuild the zebra indexes is when there's corruption. I have an older version of Koha on a Ubuntu Linux platform and I see that there are cron jobs which incrementally does the updating to the index on recent items that have been added. An example of a corrupted index table is when you run a search and an item you know is in the catalog doesn't show up (Not to be confused with just a poorly constructed search). Depending on the version of zebra (and maybe Koha), there are different switches. The switches that I've seen and used are the -r -b -a . The best way so see the switch on a Linux machine is to run a terminal window and actually go to the directory migration-tools and find find the rebuild_zebra.pl. At this point if you run the command ./rebuild_zebra.pl --help, all the available switches will be run. In my older version of Koha, this can be found here: /usr/local/koha/bin/migration_tools/rebuild_zebra.pl, but I've been told that my installation might not be standard. If you can find Koha, then you can use the path above to track down the rebuild program. By using crontab (Linux again) you can see the scheduled jobs and see if any are setup for Koha (and the rebuild). On Ubuntu in a terminal window you have to run sudo crontab -e to see the root crontab. I hope I have been helpful in this area as I've I may be the one asking for help next time - smile. If you need to see a sample of the crontab zebra rebuild job, I can login to the server and copy the job so you will have some idea of what you are searching for. Hang in there, Phillip Date: Tue, 20 Aug 2013 18:10:11 -0400 To: gbengaad...@yahoo.com; snick...@maine.rr.com; koha@lists.katipo.co.nz From: pau...@aandc.org Subject: Re: [Koha] How frequently to run zebra rebuild and what switches At 11:49 AM 8/20/2013 -0700, Olugbenga Adara wrote: [snip] how often should the zebra_rebuild.pl script be executed and with exactly which switches? Right now I run it at 7:30 AM each morning with -run-as-root -b -r -v I am quite surprised you need to do that since you say you installed from Debian packages. All the installations I have done through the Debian packages always have the zebra incremental indexing properly set in cron and it is usually set to run every 5 minutes. Quite apart from running it as root (and if it's automated, no need for the -v), the normal cron job is *incremental* (-z) and this user is running a *rebuild* (-r) every morning, which is absolutely necessary if any cataloguers have deleted a biblio, overwritten a fast add with a Z39.50, changed the 001/003 combination, etc etc. We only run ./bin/migration_tools/rebuild_zebra.pl -b -r -v -x and (less frequently) ./bin/migration_tools/rebuild_zebra.pl -a -r -v manually and at the request of our cataloguers. If we've got a couple of conscientious ones playing catch-up on older biblios imported from spreadsheets or fast-adds, this can be as often as every 20 minutes (but it's trivial to do.) One of my to do jobs is to incorporate a script into the staff-admin page so that certain (senior) cataloguers can run this without calling me. The cataloguers cannot work without it -- we insist that every entry is verified in the OPAC at the time of cataloguing to ensure that what our users see is what the cataloguers intended. Hence the need to run -r fairly promptly. The search function down-time, while zebra is cleaning, is only a couple of seconds, particularly if you clean the logs, sessions, imports and zebraqueue every 24 hours. Best - Paul ___ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz 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
[Koha] How to activate memcached after installation?
I have already installed Koha 3.12.3. How do I activate memcached on a live installation, assuming I have also installed and running the memcached server? I assume I need to amend the SetEnv variables MEMCACHED_SERVERS and MEMCACHED_NAMESPACE in koha-httpd.conf...on some documentation, MEMCACHED_SERVERS is 127.0.0.1:11211 while on others, it is localhost:11211 (I do know that localhost is IP address 127.0.0.1 but there is subtle difference in them when used in certain context). Also, some documentation states MEMCACHED_NAMESPACE as KOHA while others is Koha or kohl, so which one is correct? Are there other files to modify other than the above? Maybe the koha install log file (where is it, by the way?) so that a future Koha update/upgrade will pick up the memcached configuration? -- View this message in context: http://koha.1045719.n5.nabble.com/How-to-activate-memcached-after-installation-tp5765132.html Sent from the Koha-general mailing list archive at Nabble.com. ___ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
[Koha] Seeking a KOHA expert for webinar QA
Hello all I apologise if this is a misuse of the list, but I wasn't sure how best to proceed otherwise. EIFL.net holds regular free webinars on free / open source library software, intended for our network of libraries in 48 developing and transition countries but open to all. Last year, as a follow-up to a webinar on VuFind, we invited the VuFind developer and expert Demian Katz to deliver a QA webinar - i.e. a short overview of new developments then a QA session with delegates, many of whom sent their questions in advance. In a survey, our libraries have told us that a similar QA webinar on KOHA would be much welcomed. So I am writing to see if there are any KOHA developers or expert users out there who might be prepared to deliver a one-hour QA webinar for librarians in developing and transition countries, perhaps in September? I'm afraid we cannot pay a fee but we can provide the webinar software and a keen audience! If you might be able to help, or know someone who might, please contact me directly (don't reply to the list unless appropriate as I don't want to clutter folks inboxes). Many thanks for your time - and again my apologies if this is off-topic for this list. Best wishes Simon -- Dr Simon Ball EIFL FOSS Programme Manager simon.b...@eifl.net Skype: simontechdis Twitter: @simonjball *EIFL: Knowledge Without Boundaries* http://www.eifl.net/ Follow *EIFL* on *Facebook* http://www.facebook.com/eIFL.net, *Twitter *http://twitter.com/eIFLnet and *RSS* http://www.eifl.net/rss-all. View *EIFL *photos and videos on *Flickr *http://www.flickr.com/photos/eifl/ and *YouTube* http://www.youtube.com/user/eiflnet/featured. Sign up for the *EIFL **newsletter* http://www.eifl.net/newsletter. ___ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Re: [Koha] Seeking a KOHA expert for webinar QA
Hi Simon I am willing to talk about installation and setup using: http://wiki.lib.sun.ac.za/index.php/KOHA And also how to implement a disaster recovery regime. Cheers hg On 21 August 2013 09:58, Simon Ball simon.b...@eifl.net wrote: Hello all I apologise if this is a misuse of the list, but I wasn't sure how best to proceed otherwise. EIFL.net holds regular free webinars on free / open source library software, intended for our network of libraries in 48 developing and transition countries but open to all. Last year, as a follow-up to a webinar on VuFind, we invited the VuFind developer and expert Demian Katz to deliver a QA webinar - i.e. a short overview of new developments then a QA session with delegates, many of whom sent their questions in advance. In a survey, our libraries have told us that a similar QA webinar on KOHA would be much welcomed. So I am writing to see if there are any KOHA developers or expert users out there who might be prepared to deliver a one-hour QA webinar for librarians in developing and transition countries, perhaps in September? I'm afraid we cannot pay a fee but we can provide the webinar software and a keen audience! If you might be able to help, or know someone who might, please contact me directly (don't reply to the list unless appropriate as I don't want to clutter folks inboxes). Many thanks for your time - and again my apologies if this is off-topic for this list. Best wishes Simon -- Dr Simon Ball EIFL FOSS Programme Manager simon.b...@eifl.net Skype: simontechdis Twitter: @simonjball *EIFL: Knowledge Without Boundaries* http://www.eifl.net/ Follow *EIFL* on *Facebook* http://www.facebook.com/eIFL.net, *Twitter *http://twitter.com/eIFLnet and *RSS* http://www.eifl.net/rss-all. View *EIFL *photos and videos on *Flickr * http://www.flickr.com/photos/eifl/ and *YouTube* http://www.youtube.com/user/eiflnet/featured. Sign up for the *EIFL **newsletter* http://www.eifl.net/newsletter. ___ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha -- *Hilton Gibson* Ubuntu Linux Systems Administrator JS Gericke Library Room 1025D Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 http://library.sun.ac.za http://za.linkedin.com/in/hiltongibson http://staff.lib.sun.ac.za/~hgibson/docs/cv/cv.html ___ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Re: [Koha] Seeking a KOHA expert for webinar QA
Kia Ora! I apologise if this is a misuse of the list, but I wasn't sure how best to proceed otherwise. The day this is a misuse of our list would be the same day I don't like long odds on summat worthwhile. Nevar. :) EIFL.net holds regular free webinars on free / open source library software, intended for our network of libraries in 48 developing and transition countries but open to all. *snort* This is a modest description of EIFL in epic British proportions. Worry not, your Kool Aid people have got to me. Koha folks please read this statement as EIFL provides critical services to large swaths of Africa and is fighting for justice and equality while academically empowering their target audiences. The tl;dr of EIFL is that They Are Good People. So I am writing to see if there are any KOHA developers or expert users out there who might be prepared to deliver a one-hour QA webinar for librarians in developing and transition countries, perhaps in September? I'm afraid we cannot pay a fee but we can provide the webinar software and a keen audience! I can think of at least 10 people that would be better for this than me. The problem there might be their schedules. I'm no expert, but if no one else responds I'd certainly be happy to help. Cheers, Brooke ___ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
[Koha] IRC Meeting to Update KohaCon 13 Progress
There will be an IRC meeting on Wednesday August 28 to update everyone on the KohaCon 13 progress. Meeting time is 18 UTC. http://www.timeanddate.com/worldclock/fixedtime.html?msg=IRC+Planning+Meeting+for+KohaCon+13iso=20130828T11p1=224 UTC converter http://koha-community.org/get-involved/irc Get on the IRC Register for the free conference here http://koha-community.org/kohacon/kohacon13 Nancy Keener Systems Librarian I.T.O.S.C. Chair KohaCon 13 Chair Washoe County Library System Reno, Nevada 775 327-8347 nkee...@washoecounty.us ___ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Re: [Koha] How to activate memcached after installation?
I found the default values in Makefile.PL: MEMCACHED_SERVERS is 127.0.0.1:11211 while MEMCACHED_NAMESPACE is KOHA and I amend the SetEnv variables accordingly in koha-httpd.conf. Also, my Koha installation is of type single and installed to /Users/koha on Mac OS X 10.8.3, so I amended both the above variables and Use Memcached in /Users/koha/misc/koha-install-log file as well. -- View this message in context: http://koha.1045719.n5.nabble.com/How-to-activate-memcached-after-installation-tp5765132p5765208.html Sent from the Koha-general mailing list archive at Nabble.com. ___ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Re: [Koha] How to activate memcached after installation?
On Wed, Aug 21, 2013 at 4:19 PM, Victor Pang vict...@netmedia.com.sgwrote: I found the default values in Makefile.PL: MEMCACHED_SERVERS is 127.0.0.1:11211 while MEMCACHED_NAMESPACE is KOHA and I amend the SetEnv variables accordingly in koha-httpd.conf. Also, my Koha installation is of type single and installed to /Users/koha on Mac OS X 10.8.3, so I amended both the above variables and Use Memcached in /Users/koha/misc/koha-install-log file as well. So you managed to install Koha on Mac OS X. Congratulations. Which version? The current stable is 3.12.3. If you already have the memcached server running on 127.0.0.1:11211 you only need to check koha-conf.xml has this in the config section at the bttom: memcached_servers127.0.0.1:11211/memcached_servers memcached_namespaceKOHA/memcached_namespace Regards To+ ___ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Re: [Koha] How to activate memcached after installation?
Tomas Cohen Arazi wrote On Wed, Aug 21, 2013 at 4:19 PM, Victor Pang lt; victorp@.com gt;wrote: So you managed to install Koha on Mac OS X. Congratulations. Which version? The current stable is 3.12.3. If you already have the memcached server running on 127.0.0.1:11211 you only need to check koha-conf.xml has this in the config section at the bttom: memcached_servers 127.0.0.1:11211 /memcached_servers memcached_namespace KOHA /memcached_namespace Hmmm...I thought the tags in koha-conf.xml have been moved and they are now set in koha-httpd.conf instead, according to http://wiki.koha-community.org/wiki/Performance http://wiki.koha-community.org/wiki/Performance and http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6193 http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6193 ? -- View this message in context: http://koha.1045719.n5.nabble.com/How-to-activate-memcached-after-installation-tp5765132p5765210.html Sent from the Koha-general mailing list archive at Nabble.com. ___ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
[Koha] Don't pass out bad instructions (was Re: How frequently to run zebra rebuild and what switches)
Greetings, As of Koha 3.4.x debian packages were available. That's just over 2 years ago. Koha has progressed so much further. Tarballs are not the recommended installation method for debian-based versions of linux (e.g. Ubuntu). Much nicer and more current installation instructions are available here: http://wiki.koha-community.org/wiki/Koha_on_ubuntu_-_packages No matter how boldly or coloured you make the text, people won't read. And this will only cause confusion and problems. Just my unsolicited commentary on the provision of a really bad set of instructions on how to set Koha up. GPML, Mark Tompsett ___ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Re: [Koha] How to activate memcached after installation?
Victor, On Wed, Aug 21, 2013 at 4:37 PM, Victor Pang vict...@netmedia.com.sg wrote: Tomas Cohen Arazi wrote On Wed, Aug 21, 2013 at 4:19 PM, Victor Pang lt; If you already have the memcached server running on 127.0.0.1:11211 you only need to check koha-conf.xml has this in the config section at the bttom: memcached_servers 127.0.0.1:11211 /memcached_servers memcached_namespace KOHA /memcached_namespace Hmmm...I thought the tags in koha-conf.xml have been moved and they are now set in koha-httpd.conf instead, according to http://wiki.koha-community.org/wiki/Performance http://wiki.koha-community.org/wiki/Performance and http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6193 http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6193 ? Hmm, jokeI have to confess I forgot to take the memory pill/joke, did you see who the patch author is? You are right, those SetEnv definitions on both the OPAC and Staff virtualhosts should do the trick. Also, you can turn on using memcached for storing sessions too, search 'SessionStorage' in the system preferences. Sorry for the confusion. Regards To+ ___ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha