[Koha] [Koha 16.05] CGI Error: "script not found or unable to stat: /usr/lib/cgi-bin/img..."

Craig Butosi craig.butosi at rcmusic.ca
Fri Aug 5 09:23:55 NZST 2016


Hi all,

Koha 16.05.02, package install on Ubuntu 14.04.

I tried to manually run some cronjobs for testing purposes before we go live in September. One of these is fines.pl, which is located at /usr/share/koha/bin/cronjobs/fines.pl

However,

When running the following at the commandline

$export KOHA_CONF=/etc/koha/sites/library2/koha-conf.xml  [library2 is our instance name, btw]
$export PERL5LIB=/usr/share/koha/lib

$/usr/share/koha/bin/cronjobs/fines.pl


No fines are posted to patron account (yes, all sysprefs, circ rules, etc are set-up correctly).

Navigating to intranet-error.log, I find the following:

[Thu Aug 04 17:10:25.442365 2016] [cgi:error] [pid 2728] [client 209.20.18.21:18385] script not found or unable to stat: /usr/lib/cgi-bin/img, referer: http://rel.rcmusic.ca:8080/cgi-bin/koha/members/pay.pl?borrowernumber=1


I haven't the foggiest why it is searching /usr/lib/cgi-bin/img or how that happened. It's a non-existent directory. Should it not be trying to search elsewhere?

Please help! :S

C

Craig Butosi, MA, MLIS, B Mus (Hons.)
LIBRARY SERVICES MANAGER
the royal conservatory
TELUS Centre for Performance and Learning
273 Bloor Street West
Toronto, ON M5S 1W2
416.408.2824 x338
www.rcmusic.ca<http://www.rcmusic.ca/>



Note: This email message and any attachments are intended only for the use of the individual to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the recipient of this email is not the intended recipient (or the employee or agent responsible for delivering the email to the intended recipient), you are hereby notified that any review, dissemination, distribution or copying or other use of this message is strictly prohibited. If you have received this communication in error, please notify the sender immediately by return email and delete this message and attachments from your system, thank you.


More information about the Koha mailing list