Hi, i'm new to Koha and at the university i'm working at we have a small library with about 50 items. We have a small server where Koha is running on. Plack is also enabled. We are running a Mariadb on an other server. The problem is, that it takes about 10 seconds for a request to be answered. In example a User is searching for "Alters-Konzentrations-Test" and the result takes about 10 seconds. Also the whole navigation on the page feels slow. Per search request there are about 4000 queries sent to the database server, is this normal? What else can I check? Kind regards Jan -- Sent from: http://koha.1045719.n5.nabble.com/Koha-general-f3047918.html
Hi Jan, could you tell us more about your setup? - Koha version? - Is memcached enabled and functional? More > About > System information - Any other problems reported in About page? - Specs for the server - External DB server? Regards El lun., 19 mar. 2018 a las 7:12, JanM (<jan.michael.mueck@uni-hamburg.de>) escribió:
Hi,
i'm new to Koha and at the university i'm working at we have a small library with about 50 items. We have a small server where Koha is running on. Plack is also enabled. We are running a Mariadb on an other server.
The problem is, that it takes about 10 seconds for a request to be answered. In example a User is searching for "Alters-Konzentrations-Test" and the result takes about 10 seconds. Also the whole navigation on the page feels slow.
Per search request there are about 4000 queries sent to the database server, is this normal? What else can I check?
Kind regards Jan
-- Sent from: http://koha.1045719.n5.nabble.com/Koha-general-f3047918.html _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
-- Tomás Cohen Arazi Theke Solutions (https://theke.io <http://theke.io/>) ✆ +54 9351 3513384 GPG: B2F3C15F
/Koha-Version: 17.11.03.000 OS Version ('uname -a'): Linux www2 4.4.0-96-generic #119-Ubuntu SMP Tue Sep 12 14:59:54 UTC 2017 x86_64 Perl Interpreter: /usr/bin/perl Perl-Version: 5.022001 Perl @INC: /usr/share/koha/lib /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base . MySQL-Version: mysql Ver 15.1 Distrib 10.0.34-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2 Apache-Version: Server version: Apache/2.4.18 (Ubuntu) Memcached: Server: Nicht definiert | Namespace: koha | Status: unbekannt | Konfiguration gelesen aus: Nirgendwo Bitte beachten Sie, dass die Memcached-Konfiguration in Iher $KOHA_CONF-Datei erfolgen sollte. Aktuell gibt es keine gültige Memcached-Konfiguration. | Aktive Caching-Methode: Cache::Memory/ Running on an Intel Xeon X6550. Virtual Machine (VMWare) with 1 Core. 16Gb Ram. Memcache is not enabled. I have no information about the DB Server, it is provided from our computer center. We trace the request from the webserver an had about 2ms process time per request. So at 4000 querys we talk about 8 Seconds. That would explain much of the 10 Seconds delay (4000Querys * 2ms = 8 Seconds.) -- Sent from: http://koha.1045719.n5.nabble.com/Koha-general-f3047918.html
I would raise the cores count (two cores) and make sure memcached is installed and configured. To install memcached (on te Koha server): $ sudo apt install memcached To configure memcached to be used by Koha, make sure the relevant koha-conf.xml file contains something that looks like this: <memcached_servers>127.0.0.1:11211</memcached_servers> <memcached_namespace>koha_koha</memcached_namespace> Tell us how it goes! El lun., 19 mar. 2018 a las 11:35, JanM (<jan.michael.mueck@uni-hamburg.de>) escribió:
/Koha-Version: 17.11.03.000 OS Version ('uname -a'): Linux www2 4.4.0-96-generic #119-Ubuntu SMP Tue Sep 12 14:59:54 UTC 2017 x86_64 Perl Interpreter: /usr/bin/perl Perl-Version: 5.022001 Perl @INC: /usr/share/koha/lib /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base . MySQL-Version: mysql Ver 15.1 Distrib 10.0.34-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2 Apache-Version: Server version: Apache/2.4.18 (Ubuntu) Memcached: Server: Nicht definiert | Namespace: koha | Status: unbekannt | Konfiguration gelesen aus: Nirgendwo Bitte beachten Sie, dass die Memcached-Konfiguration in Iher $KOHA_CONF-Datei erfolgen sollte. Aktuell gibt es keine gültige Memcached-Konfiguration. | Aktive Caching-Methode: Cache::Memory/
Running on an Intel Xeon X6550. Virtual Machine (VMWare) with 1 Core. 16Gb Ram. Memcache is not enabled. I have no information about the DB Server, it is provided from our computer center. We trace the request from the webserver an had about 2ms process time per request. So at 4000 querys we talk about 8 Seconds. That would explain much of the 10 Seconds delay (4000Querys * 2ms = 8 Seconds.)
-- Sent from: http://koha.1045719.n5.nabble.com/Koha-general-f3047918.html _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
-- Tomás Cohen Arazi Theke Solutions (https://theke.io <http://theke.io/>) ✆ +54 9351 3513384 GPG: B2F3C15F
Activated Memcached and now I gained about 2 Seconds. So a request takes about 6 Seconds. I also made a request to add another CPU Core to the system. Hope this helps. I took a look at another Koha Setup: http://catalogue.demo1711-koha.test.biblibre.eu/cgi-bin/koha/opac-search.pl?idx=&q=Forschung This is my Setup: https://www.testothek.uni-hamburg.de The Performance difference is huge, hope I'll get there... I'll keep you updated, thanks for now! Jan -- Sent from: http://koha.1045719.n5.nabble.com/Koha-general-f3047918.html
El lun., 19 mar. 2018 a las 11:35, JanM (<jan.michael.mueck@uni-hamburg.de>) escribió:
MySQL-Version: mysql Ver 15.1 Distrib 10.0.34-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2 Apache-Version: Server version: Apache/2.4.18 (Ubuntu) Memcached: Server: Nicht definiert | Namespace: koha | Status: unbekannt | Konfiguration gelesen aus: Nirgendwo Bitte beachten Sie, dass die Memcached-Konfiguration in Iher $KOHA_CONF-Datei erfolgen sollte. Aktuell gibt es keine gültige Memcached-Konfiguration. | Aktive Caching-Methode: Cache::Memory/
You are not running Plack (or is not configured correctly. To enable it you need to run: $ sudo koha-plack --enable <instance> $ sudo koha-plack --restart <instance> $ sudo systemctl restart apache2 If it is already enabled, chances are you havent restarted apache2 or launched the koha-plack process. Good luck! -- Tomás Cohen Arazi Theke Solutions (https://theke.io <http://theke.io/>) ✆ +54 9351 3513384 GPG: B2F3C15F
root@www2:/home/user# koha-plack --enable library Plack enabled for library root@www2:/home/user# koha-plack --restart library * Restarting Plack daemon for library * Stopping Plack daemon for library [ OK ] * Starting Plack daemon for library [ OK ] [ OK ] root@www2:/home/user# systemctl restart apache2 Tried your steps accordingly but with no performance gain. The About Page now says: Serverinformationen Koha-Version: 17.11.03.000 OS Version ('uname -a'): Linux www2 4.4.0-96-generic #119-Ubuntu SMP Tue Sep 12 14:59:54 UTC 2017 x86_64 Perl Interpreter: /usr/bin/perl Perl-Version: 5.022001 Perl @INC: /usr/share/koha/lib /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base . MySQL-Version: mysql Ver 15.1 Distrib 10.0.34-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2 Apache-Version: Server version: Apache/2.4.18 (Ubuntu) Memcached: Server: 127.0.0.1:11211 | Namespace: koha | Status: wird ausgeführt. | Konfiguration gelesen aus: koha-conf.xml Zebraversion: 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 Where do you see that Plack is not running? Should it say so in the "Perl @INC"? -- Sent from: http://koha.1045719.n5.nabble.com/Koha-general-f3047918.html
This is the apache conf file that we use. Maybe someone can give a hint or something, 'cause i'm running out of ideas. The "koha-plack --enable" does not seem to do anything. If I run the disable command there are # placed in front of the include. After enable the plack and restarting the apache these are gone, but nothing changed. I don't know the default configuration of this file or any other file, pls someone help. <VirtualHost *:80> Define instance library Include /etc/koha/apache-shared-opac-plack.conf ServerName www2.testothek.uni-hamburg.de:80 Redirect / https://www2.testothek.uni-hamburg.de:443 </VirtualHost> -- Sent from: http://koha.1045719.n5.nabble.com/Koha-general-f3047918.html
The important entry is the one for port 443. This one only does a redirect. Is that generated by koha-create or a custom made apache file? El mar., 20 mar. 2018 a las 10:18, JanM (<jan.michael.mueck@uni-hamburg.de>) escribió:
This is the apache conf file that we use. Maybe someone can give a hint or something, 'cause i'm running out of ideas. The "koha-plack --enable" does not seem to do anything. If I run the disable command there are # placed in front of the include. After enable the plack and restarting the apache these are gone, but nothing changed. I don't know the default configuration of this file or any other file, pls someone help.
<VirtualHost *:80> Define instance library Include /etc/koha/apache-shared-opac-plack.conf ServerName www2.testothek.uni-hamburg.de:80 Redirect / https://www2.testothek.uni-hamburg.de:443 </VirtualHost>
-- Sent from: http://koha.1045719.n5.nabble.com/Koha-general-f3047918.html _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
-- Tomás Cohen Arazi Theke Solutions (https://theke.io <http://theke.io/>) ✆ +54 9351 3513384 GPG: B2F3C15F
I think it is a custom made file, but I don't know. I was asked to administrate the server since the guy before me has left us. What is important about the redirect? Is it the entry causing the fault? Should it be deleted? Or should it be there, like without it, it would not work. -- Sent from: http://koha.1045719.n5.nabble.com/Koha-general-f3047918.html
Your eyes are on the :80 entry, but that entry redirects to another vhost definition, using port 443. You need to look at the 443 vhost definition for answers, as the port 80 one doesn't actually *server* Koha, it just redirects. El mar., 20 mar. 2018 a las 10:48, JanM (<jan.michael.mueck@uni-hamburg.de>) escribió:
I think it is a custom made file, but I don't know. I was asked to administrate the server since the guy before me has left us. What is important about the redirect? Is it the entry causing the fault? Should it be deleted? Or should it be there, like without it, it would not work.
-- Sent from: http://koha.1045719.n5.nabble.com/Koha-general-f3047918.html _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
-- Tomás Cohen Arazi Theke Solutions (https://theke.io <http://theke.io/>) ✆ +54 9351 3513384 GPG: B2F3C15F
Ok, gotcha.. I have two files, first: <IfModule mod_ssl.c> <VirtualHost *:443> Include /etc/koha/apache-shared.conf # Include /etc/koha/apache-shared-disable.conf Include /etc/koha/apache-shared-opac.conf SSLCertificateFile /etc/ssl/certs/.pem SSLCertificateKeyFile /etc/ssl/private/.pem SSLCertificateChainFile /etc/ssl/ca.crt ServerName myservername SetEnv KOHA_CONF "/etc/koha/sites/library/koha-conf.xml" SetEnv MEMCACHED_SERVERS "" SetEnv MEMCACHED_NAMESPACE "" AssignUserID library-koha library-koha ErrorLog /var/log/koha/library/opac-error.log # TransferLog /var/log/koha/library/opac-access.log # RewriteLog /var/log/koha/library/opac-rewrite.log ServerAdmin xxx@xxx.de ErrorLog ${APACHE_LOG_DIR}/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog ${APACHE_LOG_DIR}/ssl_access.log combined # SSL Engine Switch: # Enable/Disable SSL for this virtual host. SSLEngine on <FilesMatch "\.(cgi|shtml|phtml|php)$"> SSLOptions +StdEnvVars </FilesMatch> <Directory /usr/lib/cgi-bin> SSLOptions +StdEnvVars </Directory> BrowserMatch "MSIE [2-6]" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 # MSIE 7 and newer should be able to use keepalive BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown </VirtualHost> </IfModule> second: <IfModule mod_ssl.c> <VirtualHost *:8443> SSLCertificateFile /etc/ssl/certs/.pem SSLCertificateKeyFile /etc/ssl/private/.pem SSLCertificateChainFile /etc/ssl/ca.crt Include /etc/koha/apache-shared.conf # Include /etc/koha/apache-shared-disable.conf Include /etc/koha/apache-shared-intranet.conf ServerName myservername SetEnv KOHA_CONF "/etc/koha/sites/library/koha-conf.xml" SetEnv MEMCACHED_SERVERS "" SetEnv MEMCACHED_NAMESPACE "" AssignUserID library-koha library-koha ErrorLog /var/log/koha/library/opac-error.log # TransferLog /var/log/koha/library/opac-access.log # RewriteLog /var/log/koha/library/opac-rewrite.log ServerAdmin xxx@xxx.de ErrorLog ${APACHE_LOG_DIR}/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog ${APACHE_LOG_DIR}/ssl_access.log combined # SSL Engine Switch: # Enable/Disable SSL for this virtual host. SSLEngine on <FilesMatch "\.(cgi|shtml|phtml|php)$"> SSLOptions +StdEnvVars </FilesMatch> <Directory /usr/lib/cgi-bin> SSLOptions +StdEnvVars </Directory> BrowserMatch "MSIE [2-6]" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 # MSIE 7 and newer should be able to use keepalive BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown </VirtualHost> </IfModule> -- Sent from: http://koha.1045719.n5.nabble.com/Koha-general-f3047918.html
Right, that's what I thought. You need to add the following: Include /etc/koha/apache-shared-opac-plack.conf above the line that says: Include /etc/koha/apache-shared-opac.conf And Include /etc/koha/apache-shared-intranet-plack.conf above the line that says: Include /etc/koha/apache-shared-intranet.conf Then restart the apache2 service, again. El mar., 20 mar. 2018 a las 11:03, JanM (<jan.michael.mueck@uni-hamburg.de>) escribió:
Ok, gotcha.. I have two files, first:
<IfModule mod_ssl.c>
<VirtualHost *:443>
Include /etc/koha/apache-shared.conf # Include /etc/koha/apache-shared-disable.conf Include /etc/koha/apache-shared-opac.conf
SSLCertificateFile /etc/ssl/certs/.pem SSLCertificateKeyFile /etc/ssl/private/.pem SSLCertificateChainFile /etc/ssl/ca.crt
ServerName myservername
SetEnv KOHA_CONF "/etc/koha/sites/library/koha-conf.xml" SetEnv MEMCACHED_SERVERS "" SetEnv MEMCACHED_NAMESPACE "" AssignUserID library-koha library-koha
ErrorLog /var/log/koha/library/opac-error.log # TransferLog /var/log/koha/library/opac-access.log # RewriteLog /var/log/koha/library/opac-rewrite.log
ServerAdmin xxx@xxx.de
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn
CustomLog ${APACHE_LOG_DIR}/ssl_access.log combined # SSL Engine Switch: # Enable/Disable SSL for this virtual host. SSLEngine on
<FilesMatch "\.(cgi|shtml|phtml|php)$"> SSLOptions +StdEnvVars </FilesMatch> <Directory /usr/lib/cgi-bin> SSLOptions +StdEnvVars </Directory>
BrowserMatch "MSIE [2-6]" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 # MSIE 7 and newer should be able to use keepalive BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
</VirtualHost>
</IfModule>
second:
<IfModule mod_ssl.c>
<VirtualHost *:8443>
SSLCertificateFile /etc/ssl/certs/.pem SSLCertificateKeyFile /etc/ssl/private/.pem SSLCertificateChainFile /etc/ssl/ca.crt
Include /etc/koha/apache-shared.conf # Include /etc/koha/apache-shared-disable.conf Include /etc/koha/apache-shared-intranet.conf
ServerName myservername
SetEnv KOHA_CONF "/etc/koha/sites/library/koha-conf.xml" SetEnv MEMCACHED_SERVERS "" SetEnv MEMCACHED_NAMESPACE "" AssignUserID library-koha library-koha
ErrorLog /var/log/koha/library/opac-error.log # TransferLog /var/log/koha/library/opac-access.log # RewriteLog /var/log/koha/library/opac-rewrite.log
ServerAdmin xxx@xxx.de
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn
CustomLog ${APACHE_LOG_DIR}/ssl_access.log combined # SSL Engine Switch: # Enable/Disable SSL for this virtual host. SSLEngine on
<FilesMatch "\.(cgi|shtml|phtml|php)$"> SSLOptions +StdEnvVars </FilesMatch> <Directory /usr/lib/cgi-bin> SSLOptions +StdEnvVars </Directory>
BrowserMatch "MSIE [2-6]" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 # MSIE 7 and newer should be able to use keepalive BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown </VirtualHost>
</IfModule>
-- Sent from: http://koha.1045719.n5.nabble.com/Koha-general-f3047918.html _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
-- Tomás Cohen Arazi Theke Solutions (https://theke.io <http://theke.io/>) ✆ +54 9351 3513384 GPG: B2F3C15F
Ok, done that. After restarting the Apache it says: /Service Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later./ in the Webbrowser. Restart worked without errors. Also tried koha-plack --restart library without errors -- Sent from: http://koha.1045719.n5.nabble.com/Koha-general-f3047918.html
What is the OS version? El mar., 20 mar. 2018 a las 11:24, JanM (<jan.michael.mueck@uni-hamburg.de>) escribió:
Ok, done that. After restarting the Apache it says:
/Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later./
in the Webbrowser.
Restart worked without errors. Also tried koha-plack --restart library without errors
-- Sent from: http://koha.1045719.n5.nabble.com/Koha-general-f3047918.html _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
-- Tomás Cohen Arazi Theke Solutions (https://theke.io <http://theke.io/>) ✆ +54 9351 3513384 GPG: B2F3C15F
No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.4 LTS Release: 16.04 Codename: xenial Koha-Version: 17.11.03.000 Perl-Version: 5.022001 Apache-Version: Server version: Apache/2.4.18 (Ubuntu) MySQL-Version: mysql Ver 15.1 Distrib 10.0.34-MariaDB, for debian-linux-gnu -- Sent from: http://koha.1045719.n5.nabble.com/Koha-general-f3047918.html
The best thing you could do, is regenerate the instance with sane clean apache configuration files, and import the DB to the fresh instance. This way, you will get your apache files patched on each upgrade, etc. This hand-made files will cause you trouble in the future. A workaround for your situation exists, though. Add the following line: Define instance "library" right below each '<VirtualHost...' line in your file, then restart apache. El mar., 20 mar. 2018 a las 11:29, JanM (<jan.michael.mueck@uni-hamburg.de>) escribió:
No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.4 LTS Release: 16.04 Codename: xenial
Koha-Version: 17.11.03.000
Perl-Version: 5.022001
Apache-Version: Server version: Apache/2.4.18 (Ubuntu)
MySQL-Version: mysql Ver 15.1 Distrib 10.0.34-MariaDB, for debian-linux-gnu
-- Sent from: http://koha.1045719.n5.nabble.com/Koha-general-f3047918.html _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
-- Tomás Cohen Arazi Theke Solutions (https://theke.io <http://theke.io/>) ✆ +54 9351 3513384 GPG: B2F3C15F
And I like hazelnut cookies, BTW :-D El mar., 20 mar. 2018 a las 11:35, Tomas Cohen Arazi (<tomascohen@gmail.com>) escribió:
The best thing you could do, is regenerate the instance with sane clean apache configuration files, and import the DB to the fresh instance. This way, you will get your apache files patched on each upgrade, etc. This hand-made files will cause you trouble in the future.
A workaround for your situation exists, though. Add the following line:
Define instance "library"
right below each '<VirtualHost...' line in your file, then restart apache.
El mar., 20 mar. 2018 a las 11:29, JanM (<jan.michael.mueck@uni-hamburg.de>) escribió:
No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.4 LTS Release: 16.04 Codename: xenial
Koha-Version: 17.11.03.000
Perl-Version: 5.022001
Apache-Version: Server version: Apache/2.4.18 (Ubuntu)
MySQL-Version: mysql Ver 15.1 Distrib 10.0.34-MariaDB, for debian-linux-gnu
-- Sent from: http://koha.1045719.n5.nabble.com/Koha-general-f3047918.html _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
-- Tomás Cohen Arazi Theke Solutions (https://theke.io <http://theke.io/>) ✆ +54 9351 3513384 <+54%209%20351%20351-3384> GPG: B2F3C15F
-- Tomás Cohen Arazi Theke Solutions (https://theke.io <http://theke.io/>) ✆ +54 9351 3513384 GPG: B2F3C15F
Oh man! I promis you will get invited for those cookies i we should meet us one day. Thanks, that worked. -- Sent from: http://koha.1045719.n5.nabble.com/Koha-general-f3047918.html
Two questions about Plack: 1. What is the concrete indicator that Plack is enabled and running or not? 2. I've looked at https://wiki.koha-community.org/wiki/Plack but: What can be useful for plack in my setup or for me? Recommended? Required? Extra? Only for developers? Thank you. El 19/03/18 a les 17:34, Tomas Cohen Arazi ha escrit:
El lun., 19 mar. 2018 a las 11:35, JanM (<jan.michael.mueck@uni-hamburg.de>) escribió:
MySQL-Version: mysql Ver 15.1 Distrib 10.0.34-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2 Apache-Version: Server version: Apache/2.4.18 (Ubuntu) Memcached: Server: Nicht definiert | Namespace: koha | Status: unbekannt | Konfiguration gelesen aus: Nirgendwo Bitte beachten Sie, dass die Memcached-Konfiguration in Iher $KOHA_CONF-Datei erfolgen sollte. Aktuell gibt es keine gültige Memcached-Konfiguration. | Aktive Caching-Methode: Cache::Memory/
You are not running Plack (or is not configured correctly. To enable it you need to run:
$ sudo koha-plack --enable <instance> $ sudo koha-plack --restart <instance> $ sudo systemctl restart apache2
If it is already enabled, chances are you havent restarted apache2 or launched the koha-plack process.
Good luck!
Excerpts from Narcis Garcia's message of 2018-03-20 10:38:26 +0100:
1. What is the concrete indicator that Plack is enabled and running or not?
In the "About Koha" page, immediately after the "Apache version:" line, you should see a line that looks like this: PSGI: Plack (deployment)
participants (4)
-
JanM -
Mark Alexander -
Narcis Garcia -
Tomas Cohen Arazi