Hi Paul
Please always write to the mailinglist koha! If you are not registered
you can do it here:
https://lists.katipo.co.nz/mailman/listinfo/koha
You wrote:
> Here is the plack-error.log contents
>
> /var/log/koha/library/plack-error.log
>
> Process Backgrounded
> 2025/02/05-14:42:30 Starman::Server (type Net::Server::PreFork)
> starting! pid(177745)
> Binding to UNIX socket file "/var/run/koha/library/plack.sock"
> Setting gid to "1001 1001"
> Setting uid to "1001"
This looks OK.
> When I run sudo koha-list --plack it shows nothing
If you don't see anything then Plack is not enabled.
> Here is the output for the other commands:
>
> sudo koha-plack --enable library
> Plack not enabled for library OPAC
> Plack not enabled for library Intranet
This is not correct - it seems it was not possible to enable Plack.
You never mentioned your operating system or the Koha version you
installed. Did you follow these instructions when installing Koha?
* https://wiki.koha-community.org/wiki/Koha_on_Debian
Today David Liddle wrote in his e-mail to you:
"You might want to also check the existence and content of the following
files:
/etc/koha/apache-shared-intranet-plack.conf
/etc/koha/apache-shared-opac-plack.conf
as well as their references within the file of this instance-based name:
/etc/apache2/sites-enabled/library.conf
If you somehow wound up with an Apache configuration that isn't being
managed by the Koha tools, then it could be interfering."
Hope this helps.
Best wishes: Michael
--
Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis
Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
T 0041 (0)61 261 55 61 · E m...@adminkuhn.ch · W www.adminkuhn.ch
On Tue, Feb 4, 2025 at 6:15 PM Michael Kuhn <m...@adminkuhn.ch
<mailto:m...@adminkuhn.ch>> wrote:
Hi Paul
Today you wrote:
> I thought I had set up Plack but when I checked there was no
variable
> 'PlackEnabled' in systempreferences when I ran this query.
>
> SELECT *
> FROM systempreferences
> WHERE variable = 'PlackEnabled';
There is no such system preference in Koha.
> I ran this in the cli
> sudo koha-plack --enable library
> Plack not enabled for library OPAC
> Plack not enabled for library Intranet
> but when I run sudo koha-plack --start it says Plack already running
> for library
>
> Any ideas?
There seems to be something wrong... When Plack is already running the
output should look as follows (as on my Koha demo installation with
instance "koha" and Plack running):
$ sudo koha-plack --enable koha
Plack already enabled for koha OPAC
Plack already enabled for koha Intranet
$ sudo koha-plack --start koha
Error: Plack already running for koha: failed!
$ sudo koha-plack --status koha
Plack running for koha:.
The following shows the instances with Plack enabled and the instances
with Plack disabled:
$ sudo koha-list --plack
koha
$ sudo koha-list --noplack
After enabling and starting Plack try restarting the Apache HTTP
Server,
according to some mailinglist threads it seems to have helped some in
the past. Thus:
$ sudo koha-plack --enable koha
$ sudo koha-plack --start koha
$ sudo systemctl restart apache2
And again: Have you checked the log files in directory
"/var/log/koha/instancename"? There should be various logfile names
starting with plack...
Best wishes: Michael
--
Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis
Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
T 0041 (0)61 261 55 61 · E m...@adminkuhn.ch
<mailto:m...@adminkuhn.ch> · W www.adminkuhn.ch <http://www.adminkuhn.ch>
> On Tue, Jan 28, 2025 at 4:32 PM Michael Kuhn <m...@adminkuhn.ch
<mailto:m...@adminkuhn.ch>
> <mailto:m...@adminkuhn.ch <mailto:m...@adminkuhn.ch>>> wrote:
>
> Hi Paul
>
> You wrote:
>
> > I am running an instance of Koha 23.11.10 on Debian 12.8
on a HyperV
> > VM. I have allocated 16gb of RAM and 16 virtual
processors. I have
> > not yet loaded all the data from another system we are
exporting
> from
> > and just have a few patrons entered. It takes about 12
seconds
> before
> > it displays the list of patrons. Any suggestions on what
to check?
> > When I look at the top command it shows app.pl <http://
app.pl> <http://app.pl <http://app.pl>>
> is taking 100% of the
> > CPU when searching. Other parts of Koha are running slow as
> well. Any
> > suggestions would be appreciated.
>
> Have you checked the log files in directory "/var/log/koha"?
>
> Have you set up Plack as described here?
>
> https://wiki.koha-community.org/wiki/Koha_on_Debian#Set_up_plack
<https://wiki.koha-community.org/wiki/Koha_on_Debian#Set_up_plack>
> <https://wiki.koha-community.org/wiki/
Koha_on_Debian#Set_up_plack <https://wiki.koha-community.org/wiki/
Koha_on_Debian#Set_up_plack>>
>
> Hope this helps.
>
> Best wishes: Michael
> --
> Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg.
Fachausweis
> Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
> T 0041 (0)61 261 55 61 · E m...@adminkuhn.ch
<mailto:m...@adminkuhn.ch>
> <mailto:m...@adminkuhn.ch <mailto:m...@adminkuhn.ch>> · W
www.adminkuhn.ch <http://www.adminkuhn.ch> <http://www.adminkuhn.ch
<http://www.adminkuhn.ch>>
> _______________________________________________
>
> Koha mailing list http://koha-community.org <http://koha-
community.org> <http://koha-community.org <http://koha-community.org>>
> Koha@lists.katipo.co.nz <mailto:Koha@lists.katipo.co.nz>
<mailto:Koha@lists.katipo.co.nz <mailto:Koha@lists.katipo.co.nz>>
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
<https://lists.katipo.co.nz/mailman/listinfo/koha>
> <https://lists.katipo.co.nz/mailman/listinfo/koha <https://
lists.katipo.co.nz/mailman/listinfo/koha>>
>
_______________________________________________
Koha mailing list http://koha-community.org
Koha@lists.katipo.co.nz
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha