guacamole-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wouterve <woutervanee...@avr.be>
Subject Re: Performance issues guacamole 0.9.13
Date Mon, 18 Dec 2017 07:35:28 GMT
I'm getting closer to the solution for my problem, still no luck tough. Here
is what I've done.

With command 
> systemctl status apache2.service 

 I got the following output:

>  apache2.service - LSB: Apache2 web server
>    Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
>   Drop-In: /lib/systemd/system/apache2.service.d
>            └─apache2-systemd.conf
>    Active: failed (Result: exit-code) since Fre 2017-12-15 15:09:43 CET;
> 13s ago
>      Docs: man:systemd-sysv-generator(8)
>   Process: 9780 ExecStop=/etc/init.d/apache2 stop (code=exited,
> status=0/SUCCESS
>   Process: 9827 ExecStart=/etc/init.d/apache2 start (code=exited,
> status=1/FAILU
> 
> Dez 15 15:09:43 AVR-22 apache2[9827]:  * The apache2 configtest failed.
> Dez 15 15:09:43 AVR-22 apache2[9827]: Output of config test was:
> Dez 15 15:09:43 AVR-22 apache2[9827]: AH00526: Syntax error on line 227 of
> /etc/
> Dez 15 15:09:43 AVR-22 apache2[9827]: Invalid command 'ProxyPass', perhaps
> missp
> Dez 15 15:09:43 AVR-22 apache2[9827]: Action 'configtest' failed.
> Dez 15 15:09:43 AVR-22 apache2[9827]: The Apache error log may have more
> informa
> Dez 15 15:09:43 AVR-22 systemd[1]: apache2.service: Control process
> exited, code
> Dez 15 15:09:43 AVR-22 systemd[1]: Failed to start LSB: Apache2 web
> server.
> Dez 15 15:09:43 AVR-22 systemd[1]: apache2.service: Unit entered failed
> state.
> Dez 15 15:09:43 AVR-22 systemd[1]: apache2.service: Failed with result
> 'exit-cod
> lines 1-19/19 (END)...skipping...
> ● apache2.service - LSB: Apache2 web server
>    Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
>   Drop-In: /lib/systemd/system/apache2.service.d
>            └─apache2-systemd.conf
>    Active: failed (Result: exit-code) since Fre 2017-12-15 15:09:43 CET;
> 13s ago
>      Docs: man:systemd-sysv-generator(8)
>   Process: 9780 ExecStop=/etc/init.d/apache2 stop (code=exited,
> status=0/SUCCESS)
>   Process: 9827 ExecStart=/etc/init.d/apache2 start (code=exited,
> status=1/FAILURE)
> 
> Dez 15 15:09:43 AVR-22 apache2[9827]:  * The apache2 configtest failed.
> Dez 15 15:09:43 AVR-22 apache2[9827]: Output of config test was:
> Dez 15 15:09:43 AVR-22 apache2[9827]: AH00526: Syntax error on line 227 of
> /etc/apache2/apache2.conf:
> Dez 15 15:09:43 AVR-22 apache2[9827]: Invalid command 'ProxyPass', perhaps
> misspelled or defined by a module not included in the server configuration
> Dez 15 15:09:43 AVR-22 apache2[9827]: Action 'configtest' failed.
> Dez 15 15:09:43 AVR-22 apache2[9827]: The Apache error log may have more
> information.
> Dez 15 15:09:43 AVR-22 systemd[1]: apache2.service: Control process
> exited, code=exited status=1
> Dez 15 15:09:43 AVR-22 systemd[1]: Failed to start LSB: Apache2 web
> server.
> Dez 15 15:09:43 AVR-22 systemd[1]: apache2.service: Unit entered failed
> state.
> Dez 15 15:09:43 AVR-22 systemd[1]: apache2.service: Failed with result
> 'exit-code'.

So I needed to to enable proxypass module in apache with the following
commands:

> sudo a2enmod proxy
> sudo a2enmod proxy_http
> sudo a2enmod proxy_connect
> sudo systemctl restart apache2
> sudo systemctl reload apache2
> sudo service apache2 restart

(not sure about the last one)

Output now from 
> systemctl status apache2.service 

 I got the following output:

> apache2.service - LSB: Apache2 web server
>    Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
>   Drop-In: /lib/systemd/system/apache2.service.d
>            └─apache2-systemd.conf
>    Active: active (running) since Mon 2017-12-18 07:40:13 CET; 12min ago
>      Docs: man:systemd-sysv-generator(8)
>   Process: 2097 ExecReload=/etc/init.d/apache2 reload (code=exited,
> status=0/SUC
>   Process: 1240 ExecStart=/etc/init.d/apache2 start (code=exited,
> status=0/SUCCE
>    CGroup: /system.slice/apache2.service
>            ├─1398 /usr/sbin/apache2 -k start
>            ├─2116 /usr/sbin/apache2 -k start
>            └─2117 /usr/sbin/apache2 -k start
> 
> Dez 18 07:40:07 AVR-22 systemd[1]: Starting LSB: Apache2 web server...
> Dez 18 07:40:07 AVR-22 apache2[1240]:  * Starting Apache httpd web server
> apache
> Dez 18 07:40:11 AVR-22 apache2[1240]: AH00558: apache2: Could not reliably
> deter
> Dez 18 07:40:13 AVR-22 apache2[1240]:  *
> Dez 18 07:40:13 AVR-22 systemd[1]: Started LSB: Apache2 web server.
> Dez 18 07:44:54 AVR-22 systemd[1]: Reloading LSB: Apache2 web server.
> Dez 18 07:44:54 AVR-22 apache2[2097]:  * Reloading Apache httpd web server
> apach
> Dez 18 07:44:54 AVR-22 apache2[2097]:  *
> Dez 18 07:44:54 AVR-22 systemd[1]: Reloaded LSB: Apache2 web server.

So everything seems to be running well. Even tough when I connect to
guacamole, catalina.out still reads:


> 07:54:31.692 [http-bio-8080-exec-8] WARN 
> o.a.g.s.GuacamoleHTTPTunnelServlet - HTTP tunnel request rejected: Cannot
> connect. Connection already in use by this user.
> 07:54:33.618 [http-bio-8080-exec-9] INFO 
> o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from
> connection "1". Duration: 17039 milliseconds
> 07:54:33.712 [http-bio-8080-exec-9] ERROR
> o.a.g.s.GuacamoleHTTPTunnelServlet - HTTP tunnel request failed:
> Connection to guacd timed out.
> 07:55:03.102 [http-bio-8080-exec-3] INFO 
> o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to
> connection "1".
> 07:55:03.109 [http-bio-8080-exec-3] INFO 
> o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from
> connection "1". Duration: 6 milliseconds
> 07:55:03.235 [http-bio-8080-exec-8] INFO 
> o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to
> connection "1".
> 07:55:03.236 [http-bio-8080-exec-8] INFO 
> o.a.g.t.h.RestrictedGuacamoleHTTPTunnelServlet - Using HTTP tunnel (not
> WebSocket). Performance may be sub-optimal.

So still a missing link, but what could this be?

kr,

wouter



--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

Mime
View raw message