[Koha] Trying to figure out if I have Plack running right

Doug Dearden dearden at sarsf.org
Wed Nov 6 11:24:44 NZDT 2019


Hey Everyone,

Our librarian has asked me to look into slowness when getting a response for patron lookups.  With a little investigation, it looked like Plack was supposed to help with that.  I thought I had it running but when I check the About page on the Bywater demos there is a line that says "PSGI: Plack (deployment)" that does not appear on my About page.  Here is my About info:

Koha version:
19.05.01.000
OS version ('uname -a'):
Linux SAR144Linux 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3.1 (2019-02-19) x86_64
Perl interpreter:
/usr/bin/perl
Perl version:
5.024001
Perl @INC:
/usr/share/koha/lib
/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
MySQL version:
mysql Ver 15.1 Distrib 10.1.38-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
Apache version:
Server version: Apache/2.4.25 (Debian)
Memcached:
Servers: localhost:11211 | Namespace: kohamain | Status: running. | Config read from: koha-conf.xml
Zebra version:
Zebra 2.0.59 (C) 1994-2014, Index Data 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: c00bfddbf0f3608340d61298acc61dafb167f9b2 Using ICU
Date and time:
11/05/2019 15:02
Time zone:
Used: America/Denver | Config: Undefined | Environment (TZ): Undefined

I noticed that my Apache version is 2.4.25 which I figured was fine, but I did notice a reference in the Wiki I believe to version 2.4.10, and that is what is running on the Bywater demo.  I thought since I was running a more recent version that I would be OK, but perhaps not.

When I run "sudo koha-plack --start <instance>"  I get back:
[FAIL] Error: Plack already running for <instance>: failed!

So it looks like Plack is running.

I did go back and restart things, doing:
sudo koha-plack -stop <instance>
sudo koha-plack -start <instance>
sudo service apache2 restart

Same result.

Hopefully I have missed something obvious.  Any help is appreciated.

Thanks,

Doug Dearden
Director / Information Technology
School for Advanced Research (SAR)
PO Box 2188 / Santa Fe / NM / 87504-2188
505.954.7220 / www.sarweb.org<http://www.sarweb.org/>

EXPLORING HUMANITY. UNDERSTANDING OUR WORLD.

Receive the SAR monthly E-News: SIGN UP HERE <https://sarweb.org/about/e-news-signup/>



More information about the Koha mailing list