Hello all, I don't think this is critical, but every night that the cron jobs run I get this email:
From root@sar75linux.campus.sarsf.org Thu Jul 11 06:32:28 2013 Envelope-to: root@sar75linux.campus.sarsf.org Delivery-date: Thu, 11 Jul 2013 06:32:28 -0600 Date: Thu, 11 Jul 2013 06:32:28 -0600 From: root@sar75linux.campus.sarsf.org (Cron Daemon) To: root@sar75linux.campus.sarsf.org Subject: Cron <root@SAR75Linux> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ) Content-Type: text/plain; charset=UTF-8 X-Cron-Env: <SHELL=/bin/sh> X-Cron-Env: <PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin> X-Cron-Env: <HOME=/root> X-Cron-Env: <LOGNAME=root>
/etc/cron.daily/koha-common: [: 97: missing ] [: 97: missing ] [: 97: missing ] Here's the server info: Koha version: 3.10.00.000 OS version ('uname -a'): Linux SAR75Linux 2.6.32-5-686 #1 SMP Sun Sep 23 09:49:36 UTC 2012 i686 GNU/Linux Perl interpreter: /usr/bin/perl Perl version: 5.010001 Perl @INC: /usr/share/koha/lib /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 . MySQL version: mysql Ver 14.14 Distrib 5.1.63, for debian-linux-gnu (i486) using readline 6.1 Apache version: Server version: Apache/2.2.16 (Debian) Zebra version: Zebra 2.0.47 (C) 1994-2010, Index Data ApS Zebra is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. SHA1 ID: e4e44d1916c6e80e01aad163b487ee41c22272ba Using ICU Koha installed from packages on Debian Squeeze . The cron file is the default included in the package. It looks like this: #!/bin/sh # /etc/cron.daily/koha-common -- Daily housekeeping tasks for all Kohas. # Copyright 2010 Catalyst IT, Ltd # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. koha-foreach --enabled --email /usr/share/koha/bin/cronjobs/overdue_notices.pl -t koha-foreach --enabled /usr/share/koha/bin/cronjobs/fines.pl koha-foreach --enabled --email /usr/share/koha/bin/cronjobs/advance_notices.pl -c koha-foreach --enabled /usr/share/koha/bin/cronjobs/holds/cancel_expired_holds.pl >/dev/null 2>&1 koha-foreach --enabled /usr/share/koha/bin/cronjobs/services_throttle.pl > /dev/null 2>&1 koha-foreach --enabled /usr/share/koha/bin/cronjobs/cleanup_database.pl --sessions --zebraqueue 10 koha-foreach --enabled --noemail /usr/share/koha/bin/cronjobs/cleanup_database.pl --mail koha-run-backups --days 2 --output /var/spool/koha I couldn't find anything in bugzilla. I am running three instances of Koha which I assume is why I get the error message three times. Thanks for any help. Doug Dearden Director, IT School for Advanced Research (505)954-7220 sarweb.org
Op 11/07/13 17:15, Doug Dearden schreef:
Koha version:
3.10.00.000
You are running quite an old version of Koha. I'd strongly recommend upgrading, as there have been a lot of fixes on the 3.10 line since then. Your particular issue was fixed in 3.10.1: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9260 -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D
Hi Robin, Thanks for the response. To upgrade to the latest 3.10.x, is it just a matter of changing the line in /etc/apt/sources.list.d/koha.list to deb http://debian.koha-community.org/koha oldstable main and then doing apt-get update apt-get install koha-common or should that last line be something like apt-get dist-upgrade I couldn't find anything in the wiki that mentioned updates. But then I often have problems finding my answer in the wiki. ;) Thanks, Doug -----Original Message----- From: koha-bounces@lists.katipo.co.nz [mailto:koha-bounces@lists.katipo.co.nz] On Behalf Of Robin Sheat Sent: Thursday, July 11, 2013 10:30 AM To: koha@lists.katipo.co.nz Subject: Re: [Koha] Cronjob errors Op 11/07/13 17:15, Doug Dearden schreef:
Koha version:
3.10.00.000
You are running quite an old version of Koha. I'd strongly recommend upgrading, as there have been a lot of fixes on the 3.10 line since then. Your particular issue was fixed in 3.10.1: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9260 -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Op 11/07/13 18:45, Doug Dearden schreef:
Thanks for the response. To upgrade to the latest 3.10.x, is it just a matter of changing the line in /etc/apt/sources.list.d/koha.list to deb http://debian.koha-community.org/koha oldstable main and then doing
apt-get update apt-get install koha-common
or should that last line be something like
apt-get dist-upgrade
I couldn't find anything in the wiki that mentioned updates. But then I often have problems finding my answer in the wiki. ;)
Pretty much that, yes. The details on the packages are here: http://wiki.koha-community.org/wiki/Koha_3.x_on_Debian_Squeeze and the last line should be apt-get upgrade, and if that tells you that it can't do it because something something dependencies, apt-get dist-upgrade. -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D
participants (2)
-
Doug Dearden -
Robin Sheat