plack proxy error after upgradiing to 19.11.06
Hi We have noticed slow koha since last update of koha Koha 19.11.06.000 MySQL version: mysql Ver 14.14 Distrib 5.7.30, for Linux (x86_64) using EditLine wrapper Apache version: Server version: Apache/2.4.29 (Ubuntu) Memcached: Servers: 127.0.0.1:11211 | Namespace: koha_library | Status: running. | Config read from: koha-conf.xml We had plack enabled and got the following "proxy and http:proxy" errors in both opac and intranet. OPAC LOG [Wed Jun 03 20:04:26.188386 2020] [proxy_http:error] [pid 1143] [client 192.99.15.33:49042] AH01114: HTTP: failed to make connection to backend: httpd-UDS [Wed Jun 03 20:04:29.451533 2020] [proxy:error] [pid 1277] (2)No such file or directory: AH02454: HTTP: attempt to connect to Unix domain socket /var/run/koha/biblioteca/plack.sock (localhost) failed [Wed Jun 03 20:04:29.451702 2020] [proxy_http:error] [pid 1277] [client 192.99.4.163:50956] AH01114: HTTP: failed to make connection to backend: httpd-UDS INTRANET LOG [Wed Jun 03 14:01:52.979917 2020] [proxy_http:error] [pid 21411] (70007)The timeout specified has expired: [client 190.117.85.98:2394] AH01102: error reading status line from remote server httpd-UDS:0 [Wed Jun 03 14:01:52.980074 2020] [proxy:error] [pid 21411] [client 190.117.85.98:2394] AH00898: Error reading from remote server returned by /index.html [Wed Jun 03 14:38:50.699866 2020] [proxy_http:error] [pid 21456] (70007)The timeout specified has expired: [client 190.117.85.98:63292] AH01102: error reading status line from remote server httpd-UDS:0 [Wed Jun 03 14:38:50.699968 2020] [proxy:error] [pid 21456] [client 190.117.85.98:63292] AH00898: Error reading from remote server returned by /cgi-bin/koha/mainpage.pl [Wed Jun 03 14:45:22.372009 2020] [proxy_http:error] [pid 21463] (70007)The timeout specified has expired: [client 190.117.85.98:41654] AH01102: error reading status line from remote server httpd-UDS:0 PLACK-ERRROR no mapping found at position 126 in Contexto jurídico. -- Antecedentes históricos. -- Creación del Consejo Nacional de la Cultura -- El decreto presidencial n.º 1791 -- Leyes y decretos especiales para ámbitos culturales específicos -- Convenios internacionales -- Legislación estadal -- Ordenanzas municipales. at /usr/share/perl5/MARC/Charset.pm line 384. Use of uninitialized value in join or string at /usr/share/perl5/MARC/Field.pm line 696. XSLT_Handler: compilation error: file /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slim2OPACDetail.xsl element text xsltParseTemplateContent: xslt:text content problem compilation error: file /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slim2OPACDetail.xsl element text xsltParseTemplateContent: xslt:text content problem compilation error: file /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slim2OPACDetail.xsl element text xsltParseTemplateContent: xslt:text content problem compilation error: file /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slim2OPACDetail.xsl element text xsltParseTemplateContent: xslt:text content problem at /usr/share/koha/lib/Koha/XSLT_Handler.pm line 343. Use of uninitialized value in subroutine entry at /usr/share/koha/lib/Koha/Plugins/Base.pm line 182. Argument " " isn't numeric in numeric eq (==) at /usr/share/koha/lib/C4/Ris.pm line 441. Use of uninitialized value in numeric ne (!=) at /usr/share/koha/lib/C4/Ris.pm line 833. Use of uninitialized value in numeric ne (!=) at /usr/share/koha/lib/C4/Ris.pm line 833. Argument " " isn't numeric in numeric eq (==) at /usr/share/koha/lib/C4/Ris.pm line 441. Use of uninitialized value in numeric ne (!=) at /usr/share/koha/lib/C4/Ris.pm line 833. Use of uninitialized value in numeric ne (!=) at /usr/share/koha/lib/C4/Ris.pm line 833. Use of uninitialized value in numeric ne (!=) at /usr/share/koha/lib/C4/Ris.pm line 833. Argument " " isn't numeric in numeric eq (==) at /usr/share/koha/lib/C4/Ris.pm line 441. Use of uninitialized value in numeric ne (!=) at /usr/share/koha/lib/C4/Ris.pm line 833. PLACK LOG 178.150.14.250 - - [03/Jun/2020:20:13:28 -0500] "GET /opac/ opac-export.pl?op=export&bib=147376&format=mods HTTP/1.1" 200 1853 "-" "Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)" 192.99.15.33 - - [03/Jun/2020:20:13:28 -0500] "GET /opac/ opac-export.pl?op=export&bib=229351&format=marcstd HTTP/1.1" 200 873 "-" "Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)" 178.150.14.250 - - [03/Jun/2020:20:13:29 -0500] "GET /opac/ opac-export.pl?op=export&bib=147376&format=ris HTTP/1.1" 200 301 "-" "Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)" 178.150.14.250 - - [03/Jun/2020:20:13:31 -0500] "GET /opac/ opac-export.pl?op=export&bib=147376&format=utf8 HTTP/1.1" 200 971 "-" "Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)" 192.99.10.170 - - [03/Jun/2020:20:13:32 -0500] "GET /opac/ opac-export.pl?op=export&bib=229249&format=marc8 HTTP/1.1" 200 1184 "-" "Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)" 178.150.14.250 - - [03/Jun/2020:20:13:33 -0500] "GET /opac/ opac-export.pl?op=export&bib=147547&format=bibtex HTTP/1.1" 200 234 "-" "Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)" As per https://wiki.koha-community.org/wiki/Starting_in_Catalyst_Koha_team We disabled plack and restart apache and proxy errors stopped. What can be the cause? If we reenable plack, proxy error start again. Regards, Alvaro |----------------------------------------------------------------------------------------| Stay safe / Cuídate/ Reste sécurisé *7* Switch off as you go / Apaga lo que no usas / Débranchez au fur et à mesure. *q *Recycle always / Recicla siempre / Recyclez toujours P Print only if absolutely necessary / Imprime solo si es necesario / Imprimez seulement si nécessaire
Hi Alvaro, Can you confirm you tried the following cmds: koha-plack --enable INSTANCE koha-plack --start INSTANCE service apache2 restart Regards, Jonathan Le jeu. 4 juin 2020 à 03:32, Alvaro Cornejo <cornejo.alvaro@gmail.com> a écrit :
Hi
We have noticed slow koha since last update of koha
Koha 19.11.06.000 MySQL version: mysql Ver 14.14 Distrib 5.7.30, for Linux (x86_64) using EditLine wrapper Apache version: Server version: Apache/2.4.29 (Ubuntu) Memcached: Servers: 127.0.0.1:11211 | Namespace: koha_library | Status: running. | Config read from: koha-conf.xml
We had plack enabled and got the following "proxy and http:proxy" errors in both opac and intranet.
OPAC LOG [Wed Jun 03 20:04:26.188386 2020] [proxy_http:error] [pid 1143] [client 192.99.15.33:49042] AH01114: HTTP: failed to make connection to backend: httpd-UDS [Wed Jun 03 20:04:29.451533 2020] [proxy:error] [pid 1277] (2)No such file or directory: AH02454: HTTP: attempt to connect to Unix domain socket /var/run/koha/biblioteca/plack.sock (localhost) failed [Wed Jun 03 20:04:29.451702 2020] [proxy_http:error] [pid 1277] [client 192.99.4.163:50956] AH01114: HTTP: failed to make connection to backend: httpd-UDS
INTRANET LOG [Wed Jun 03 14:01:52.979917 2020] [proxy_http:error] [pid 21411] (70007)The timeout specified has expired: [client 190.117.85.98:2394] AH01102: error reading status line from remote server httpd-UDS:0 [Wed Jun 03 14:01:52.980074 2020] [proxy:error] [pid 21411] [client 190.117.85.98:2394] AH00898: Error reading from remote server returned by /index.html [Wed Jun 03 14:38:50.699866 2020] [proxy_http:error] [pid 21456] (70007)The timeout specified has expired: [client 190.117.85.98:63292] AH01102: error reading status line from remote server httpd-UDS:0 [Wed Jun 03 14:38:50.699968 2020] [proxy:error] [pid 21456] [client 190.117.85.98:63292] AH00898: Error reading from remote server returned by /cgi-bin/koha/mainpage.pl [Wed Jun 03 14:45:22.372009 2020] [proxy_http:error] [pid 21463] (70007)The timeout specified has expired: [client 190.117.85.98:41654] AH01102: error reading status line from remote server httpd-UDS:0
PLACK-ERRROR no mapping found at position 126 in Contexto jurídico. -- Antecedentes históricos. -- Creación del Consejo Nacional de la Cultura -- El decreto presidencial n.º 1791 -- Leyes y decretos especiales para ámbitos culturales específicos -- Convenios internacionales -- Legislación estadal -- Ordenanzas municipales. at /usr/share/perl5/MARC/Charset.pm line 384. Use of uninitialized value in join or string at /usr/share/perl5/MARC/Field.pm line 696. XSLT_Handler: compilation error: file /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slim2OPACDetail.xsl element text xsltParseTemplateContent: xslt:text content problem compilation error: file /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slim2OPACDetail.xsl element text xsltParseTemplateContent: xslt:text content problem compilation error: file /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slim2OPACDetail.xsl element text xsltParseTemplateContent: xslt:text content problem compilation error: file /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slim2OPACDetail.xsl element text xsltParseTemplateContent: xslt:text content problem at /usr/share/koha/lib/Koha/XSLT_Handler.pm line 343. Use of uninitialized value in subroutine entry at /usr/share/koha/lib/Koha/Plugins/Base.pm line 182. Argument " " isn't numeric in numeric eq (==) at /usr/share/koha/lib/C4/Ris.pm line 441. Use of uninitialized value in numeric ne (!=) at /usr/share/koha/lib/C4/Ris.pm line 833. Use of uninitialized value in numeric ne (!=) at /usr/share/koha/lib/C4/Ris.pm line 833. Argument " " isn't numeric in numeric eq (==) at /usr/share/koha/lib/C4/Ris.pm line 441. Use of uninitialized value in numeric ne (!=) at /usr/share/koha/lib/C4/Ris.pm line 833. Use of uninitialized value in numeric ne (!=) at /usr/share/koha/lib/C4/Ris.pm line 833. Use of uninitialized value in numeric ne (!=) at /usr/share/koha/lib/C4/Ris.pm line 833. Argument " " isn't numeric in numeric eq (==) at /usr/share/koha/lib/C4/Ris.pm line 441. Use of uninitialized value in numeric ne (!=) at /usr/share/koha/lib/C4/Ris.pm line 833.
PLACK LOG 178.150.14.250 - - [03/Jun/2020:20:13:28 -0500] "GET /opac/ opac-export.pl?op=export&bib=147376&format=mods HTTP/1.1" 200 1853 "-" "Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)" 192.99.15.33 - - [03/Jun/2020:20:13:28 -0500] "GET /opac/ opac-export.pl?op=export&bib=229351&format=marcstd HTTP/1.1" 200 873 "-" "Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)" 178.150.14.250 - - [03/Jun/2020:20:13:29 -0500] "GET /opac/ opac-export.pl?op=export&bib=147376&format=ris HTTP/1.1" 200 301 "-" "Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)" 178.150.14.250 - - [03/Jun/2020:20:13:31 -0500] "GET /opac/ opac-export.pl?op=export&bib=147376&format=utf8 HTTP/1.1" 200 971 "-" "Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)" 192.99.10.170 - - [03/Jun/2020:20:13:32 -0500] "GET /opac/ opac-export.pl?op=export&bib=229249&format=marc8 HTTP/1.1" 200 1184 "-" "Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)" 178.150.14.250 - - [03/Jun/2020:20:13:33 -0500] "GET /opac/ opac-export.pl?op=export&bib=147547&format=bibtex HTTP/1.1" 200 234 "-" "Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)"
As per https://wiki.koha-community.org/wiki/Starting_in_Catalyst_Koha_team We disabled plack and restart apache
and proxy errors stopped.
What can be the cause?
If we reenable plack, proxy error start again.
Regards,
Alvaro
|----------------------------------------------------------------------------------------| Stay safe / Cuídate/ Reste sécurisé *7* Switch off as you go / Apaga lo que no usas / Débranchez au fur et à mesure. *q *Recycle always / Recicla siempre / Recyclez toujours P Print only if absolutely necessary / Imprime solo si es necesario / Imprimez seulement si nécessaire _______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
Hi Jonathan, Restarting plack solved the issue. Thanks & stay safe!! Alvaro |----------------------------------------------------------------------------------------| Stay safe / Cuídate/ Reste sécurisé *7* Switch off as you go / Apaga lo que no usas / Débranchez au fur et à mesure. *q *Recycle always / Recicla siempre / Recyclez toujours P Print only if absolutely necessary / Imprime solo si es necesario / Imprimez seulement si nécessaire Le jeu. 4 juin 2020 à 04:02, Jonathan Druart < jonathan.druart@bugs.koha-community.org> a écrit :
Hi Alvaro,
Can you confirm you tried the following cmds: koha-plack --enable INSTANCE koha-plack --start INSTANCE service apache2 restart
Regards, Jonathan
Le jeu. 4 juin 2020 à 03:32, Alvaro Cornejo <cornejo.alvaro@gmail.com> a écrit :
Hi
We have noticed slow koha since last update of koha
Koha 19.11.06.000 MySQL version: mysql Ver 14.14 Distrib 5.7.30, for Linux (x86_64) using EditLine wrapper Apache version: Server version: Apache/2.4.29 (Ubuntu) Memcached: Servers: 127.0.0.1:11211 | Namespace: koha_library | Status: running. | Config read from: koha-conf.xml
We had plack enabled and got the following "proxy and http:proxy" errors
in
both opac and intranet.
OPAC LOG [Wed Jun 03 20:04:26.188386 2020] [proxy_http:error] [pid 1143] [client 192.99.15.33:49042] AH01114: HTTP: failed to make connection to backend: httpd-UDS [Wed Jun 03 20:04:29.451533 2020] [proxy:error] [pid 1277] (2)No such file or directory: AH02454: HTTP: attempt to connect to Unix domain socket /var/run/koha/biblioteca/plack.sock (localhost) failed [Wed Jun 03 20:04:29.451702 2020] [proxy_http:error] [pid 1277] [client 192.99.4.163:50956] AH01114: HTTP: failed to make connection to backend: httpd-UDS
INTRANET LOG [Wed Jun 03 14:01:52.979917 2020] [proxy_http:error] [pid 21411] (70007)The timeout specified has expired: [client 190.117.85.98:2394] AH01102: error reading status line from remote server httpd-UDS:0 [Wed Jun 03 14:01:52.980074 2020] [proxy:error] [pid 21411] [client 190.117.85.98:2394] AH00898: Error reading from remote server returned by /index.html [Wed Jun 03 14:38:50.699866 2020] [proxy_http:error] [pid 21456] (70007)The timeout specified has expired: [client 190.117.85.98:63292] AH01102: error reading status line from remote server httpd-UDS:0 [Wed Jun 03 14:38:50.699968 2020] [proxy:error] [pid 21456] [client 190.117.85.98:63292] AH00898: Error reading from remote server returned by /cgi-bin/koha/mainpage.pl [Wed Jun 03 14:45:22.372009 2020] [proxy_http:error] [pid 21463] (70007)The timeout specified has expired: [client 190.117.85.98:41654] AH01102: error reading status line from remote server httpd-UDS:0
PLACK-ERRROR no mapping found at position 126 in Contexto jurídico. -- Antecedentes históricos. -- Creación del Consejo Nacional de la Cultura -- El decreto presidencial n.º 1791 -- Leyes y decretos especiales para ámbitos culturales específicos -- Convenios internacionales -- Legislación estadal -- Ordenanzas municipales. at /usr/share/perl5/MARC/Charset.pm line 384. Use of uninitialized value in join or string at /usr/share/perl5/MARC/Field.pm line 696. XSLT_Handler: compilation error: file
/usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slim2OPACDetail.xsl
element text xsltParseTemplateContent: xslt:text content problem compilation error: file
/usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slim2OPACDetail.xsl
element text xsltParseTemplateContent: xslt:text content problem compilation error: file
/usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slim2OPACDetail.xsl
element text xsltParseTemplateContent: xslt:text content problem compilation error: file
/usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/fr-FR/xslt/MARC21slim2OPACDetail.xsl
element text xsltParseTemplateContent: xslt:text content problem at /usr/share/koha/lib/Koha/XSLT_Handler.pm line 343. Use of uninitialized value in subroutine entry at /usr/share/koha/lib/Koha/Plugins/Base.pm line 182. Argument " " isn't numeric in numeric eq (==) at /usr/share/koha/lib/C4/Ris.pm line 441. Use of uninitialized value in numeric ne (!=) at /usr/share/koha/lib/C4/Ris.pm line 833. Use of uninitialized value in numeric ne (!=) at /usr/share/koha/lib/C4/Ris.pm line 833. Argument " " isn't numeric in numeric eq (==) at /usr/share/koha/lib/C4/Ris.pm line 441. Use of uninitialized value in numeric ne (!=) at /usr/share/koha/lib/C4/Ris.pm line 833. Use of uninitialized value in numeric ne (!=) at /usr/share/koha/lib/C4/Ris.pm line 833. Use of uninitialized value in numeric ne (!=) at /usr/share/koha/lib/C4/Ris.pm line 833. Argument " " isn't numeric in numeric eq (==) at /usr/share/koha/lib/C4/Ris.pm line 441. Use of uninitialized value in numeric ne (!=) at /usr/share/koha/lib/C4/Ris.pm line 833.
PLACK LOG 178.150.14.250 - - [03/Jun/2020:20:13:28 -0500] "GET /opac/ opac-export.pl?op=export&bib=147376&format=mods HTTP/1.1" 200 1853 "-" "Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)" 192.99.15.33 - - [03/Jun/2020:20:13:28 -0500] "GET /opac/ opac-export.pl?op=export&bib=229351&format=marcstd HTTP/1.1" 200 873 "-" "Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)" 178.150.14.250 - - [03/Jun/2020:20:13:29 -0500] "GET /opac/ opac-export.pl?op=export&bib=147376&format=ris HTTP/1.1" 200 301 "-" "Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)" 178.150.14.250 - - [03/Jun/2020:20:13:31 -0500] "GET /opac/ opac-export.pl?op=export&bib=147376&format=utf8 HTTP/1.1" 200 971 "-" "Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)" 192.99.10.170 - - [03/Jun/2020:20:13:32 -0500] "GET /opac/ opac-export.pl?op=export&bib=229249&format=marc8 HTTP/1.1" 200 1184 "-" "Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)" 178.150.14.250 - - [03/Jun/2020:20:13:33 -0500] "GET /opac/ opac-export.pl?op=export&bib=147547&format=bibtex HTTP/1.1" 200 234 "-" "Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)"
As per https://wiki.koha-community.org/wiki/Starting_in_Catalyst_Koha_team We disabled plack and restart apache
and proxy errors stopped.
What can be the cause?
If we reenable plack, proxy error start again.
Regards,
Alvaro
|----------------------------------------------------------------------------------------|
Stay safe / Cuídate/ Reste sécurisé *7* Switch off as you go / Apaga lo que no usas / Débranchez au fur et à mesure. *q *Recycle always / Recicla siempre / Recyclez toujours P Print only if absolutely necessary / Imprime solo si es necesario / Imprimez seulement si nécessaire _______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
participants (2)
-
Alvaro Cornejo -
Jonathan Druart