[Koha] Trying to figure out if I have Plack running right
Tomas Cohen Arazi
tomascohen at gmail.com
Thu Nov 7 07:48:08 NZDT 2019
This is weird, did you install the koha-common package on Debian, or did a
manual install using perl Makefile.PL?
Your files should include:
Include /etc/koha/apache-shared-opac-plack.conf
and
Include /etc/koha/apache-shared-intranet-plack.conf
respectively.
El mié., 6 nov. 2019 a las 13:51, Doug Dearden (<dearden at sarsf.org>)
escribió:
> Hey Jonathan,
>
> That command returns this:
> Include /etc/koha/apache-shared.conf
> # Include /etc/koha/apache-shared-disable.conf
> Include /etc/koha/apache-shared-opac.conf
> # Include /etc/koha/apache-shared.conf
> # Include /etc/koha/apache-shared-disable.conf
> # Include /etc/koha/apache-shared-intranet.conf
>
> I have two other conf files that I ran this against, so:
>
> koha at SAR144Linux:/$ sudo grep Include
> /etc/apache2/sites-available/mainintra.conf
> Include /etc/koha/apache-shared.conf
> # Include /etc/koha/apache-shared-disable.conf
> Include /etc/koha/apache-shared-intranet.conf
>
> koha at SAR144Linux:/$ sudo grep Include
> /etc/apache2/sites-available/main-le-ssl.conf
> Include /etc/koha/apache-shared.conf
> # Include /etc/koha/apache-shared-disable.conf
> Include /etc/koha/apache-shared-opac.conf
> #Include /etc/letsencrypt/options-ssl-apache.conf
> # Include /etc/koha/apache-shared.conf
> # Include /etc/koha/apache-shared-disable.conf
> # Include /etc/koha/apache-shared-intranet.conf
> koha at SAR144Linux:/$
>
> main.conf listens on port 80, and redirects / to port 443 so all
> connections are encrypted
> main-le-ssl.conf listens on port 443, opac only . This is the public
> facing OPAC at https://library.sarsf.org
> mainintra.conf listens on port 8080, only available on the internal network
>
> Thanks,
>
> Doug
>
> -----Original Message-----
> From: Jonathan Druart [mailto:jonathan.druart at bugs.koha-community.org]
> Sent: Wednesday, November 6, 2019 1:48 AM
> To: Doug Dearden <dearden at sarsf.org>
> Cc: mik at adminkuhn.ch; koha at lists.katipo.co.nz
> Subject: Re: [Koha] Trying to figure out if I have Plack running right
>
> Hi Doug,
>
> The koha-plack --enable command did not work.
> Can you post the result of the following command:
> $ sudo grep Include /etc/apache2/sites-available/main.conf
>
> Regards,
> Jonathan
>
> Le mer. 6 nov. 2019 à 01:00, Doug Dearden <dearden at sarsf.org> a écrit :
> >
> > 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
> > _______________________________________________
> > Koha mailing list http://koha-community.org
> > Koha at lists.katipo.co.nz
> > https://lists.katipo.co.nz/mailman/listinfo/koha
>
> _______________________________________________
> Koha mailing list http://koha-community.org
> Koha at lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha
>
--
Tomás Cohen Arazi
Theke Solutions (http://theke.io)
✆ +54 9351 3513384
GPG: B2F3C15F
More information about the Koha
mailing list