Summary: | process_message_queue.pl and cron.hourly - multiple subroutine redefined errors | ||
---|---|---|---|
Product: | Koha | Reporter: | mjnkml |
Component: | Command-line Utilities | Assignee: | Bugs List <koha-bugs> |
Status: | CLOSED INVALID | QA Contact: | Testopia <testopia> |
Severity: | minor | ||
Priority: | P5 - low | CC: | mjnkml, robin |
Version: | 17.11 | ||
Hardware: | PC | ||
OS: | Linux | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: |
Description
mjnkml
2018-05-19 17:12:45 UTC
For /etc/cron.hourly/koha-common, this email comes: Subject: Cron <root@koha> cd / && run-parts --report /etc/cron.hourly Body: /etc/cron.hourly/koha-common: Subroutine _ATTRIBUTES redefined at /usr/share/perl5/Authen/CAS/Client/Response/Failure.pm line 13. Subroutine new redefined at /usr/share/perl5/Authen/CAS/Client/Response/Failure.pm line 15. Subroutine code redefined at /usr/share/perl5/Authen/CAS/Client/Response/Failure.pm line 17. Subroutine message redefined at /usr/share/perl5/Authen/CAS/Client/Response/Failure.pm line 18. Subroutine new redefined at /usr/share/perl5/Authen/CAS/Client/Response/Success.pm line 13. Hi, you are missing the --chdir on your cronjob definition, see bug 17717 or here: http://git.koha-community.org/gitweb/?p=koha.git;a=commitdiff;h=6db09ad3b070845539994ff4f1f8b9f7d6d2dfc8 *** This bug has been marked as a duplicate of bug 17717 *** (In reply to Katrin Fischer from comment #2) > Hi, you are missing the --chdir on your cronjob definition, see bug 17717 or > here: > > http://git.koha-community.org/gitweb/?p=koha.git;a=commitdiff; > h=6db09ad3b070845539994ff4f1f8b9f7d6d2dfc8 > > *** This bug has been marked as a duplicate of bug 17717 *** Hi Katrin, I have chdir, but still get the noise: -----Original Message----- From: Cron Daemon Sent: Sunday, 17 March 2019 10:00 PM To: Me Subject: Cron <root@koha> koha-foreach --chdir --enabled --email /usr/share/koha/bin/cronjobs/process_message_queue.pl Subroutine _ATTRIBUTES redefined at /usr/share/perl5/Authen/CAS/Client/Response/Failure.pm line 13. Subroutine new redefined at /usr/share/perl5/Authen/CAS/Client/Response/Failure.pm line 15. Subroutine code redefined at /usr/share/perl5/Authen/CAS/Client/Response/Failure.pm line 17. Subroutine message redefined at /usr/share/perl5/Authen/CAS/Client/Response/Failure.pm line 18. Subroutine new redefined at /usr/share/perl5/Authen/CAS/Client/Response/Success.pm line 13. I believe this is a configuration issue - we are running the same version without any problems. If not resolved yet: Questions about Koha configuration are best asked on the Koha mailing list (http://koha-community.org/support/koha-mailing-lists/) or in the #koha IRC channel (http://koha-community.org/get-involved/irc/). |