[Koha] Trying to figure out if I have Plack running right
Doug Dearden
dearden at sarsf.org
Wed Nov 6 13:00:40 NZDT 2019
Hey Michael,
OK, this is weird.
(Instance is named main)
koha at SAR144Linux:~$ sudo koha-plack --enable main
Plack not enabled for main OPAC
Plack not enabled for main Intranet
koha at SAR144Linux:~$ sudo koha-plack --disable main
Plack already disabled for main OPAC
Plack already disabled for main Intranet
koha at SAR144Linux:~$ sudo koha-plack --enable main
Plack not enabled for main OPAC
Plack not enabled for main Intranet
koha at SAR144Linux:~$ sudo koha-plack --start main
[FAIL] Error: Plack already running for main: failed!
If it is disabled, and refuses to enable, how can it already be running?
Hmmmm.
Doug
-----Original Message-----
From: Koha [mailto:koha-bounces at lists.katipo.co.nz] On Behalf Of Michael Kuhn
Sent: Tuesday, November 5, 2019 3:39 PM
To: koha at lists.katipo.co.nz
Subject: Re: [Koha] Trying to figure out if I have Plack running right
Hi Doug
> 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
I'm not sure what commands you really executed, but if your Koha
instance is called "abc" (for example) the commands would be:
1. First enable Plack:
sudo koha-plack --enable abc
2. Only then you can start Plack:
sudo koha-plack -start abc
See also:
https://wiki.koha-community.org/wiki/Commands_provided_by_the_Debian_packages#Plack-related
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 mik at adminkuhn.ch · W www.adminkuhn.ch
_______________________________________________
Koha mailing list http://koha-community.org
Koha at lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha
More information about the Koha
mailing list