[Koha-bugs] [Bug 20920] New: Plack timeout because of missing CGI::Compile Perl dependency
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jun 12 17:22:55 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20920
Bug ID: 20920
Summary: Plack timeout because of missing CGI::Compile Perl
dependency
Change sponsored?: ---
Product: Koha
Version: 18.05
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5 - low
Component: Packaging
Assignee: koha-bugs at lists.koha-community.org
Reporter: jcharaoui at cmaisonneuve.qc.ca
QA Contact: testopia at bugs.koha-community.org
CC: mirko at abunchofthings.net
Created attachment 76000
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=76000&action=edit
Patch for debian/control
The Debian/Ubuntu package is missing a dependency on libcgi-compile-perl.
Without this package installed, when Plack is enabled/started, the webserver is
unresponsive and the following errors appear in the logs:
Error while loading /etc/koha/plack.psgi: Can't locate CGI/Compile.pm in @INC
(you may need to install the CGI::Compile module) (@INC contains:
/usr/share/koha/lib /us
r/share/koha/installer /usr/share/koha/lib/installer /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1
/usr/lib/x86_64-linux-gnu/perl5
/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24
/usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at
/usr/share/perl5/Plack
/App/WrapCGI.pm line 8.
BEGIN failed--compilation aborted at /usr/share/perl5/Plack/App/WrapCGI.pm line
8.
Compilation failed in require at /usr/share/perl5/Plack/App/CGIBin.pm line 6.
BEGIN failed--compilation aborted at /usr/share/perl5/Plack/App/CGIBin.pm line
6.
Compilation failed in require at /etc/koha/plack.psgi line 21.
BEGIN failed--compilation aborted at /etc/koha/plack.psgi line 21.
Attached is a patch to add this package to the debian/control file.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list