D'oh.
So I did it again... same results:
root@guac:~#
root@guac:~# systemctl status guacd
? guacd.service - LSB: Guacamole proxy daemon
Loaded: loaded (/etc/init.d/guacd; generated)
Active: active (running) since Mon 2022-02-28 08:43:06 CST; 1min 12s ago
Docs: man:systemd-sysv-generator(8)
Process: 521 ExecStart=/etc/init.d/guacd start (code=exited, status=0/SUCCESS)
Tasks: 1 (limit: 4639)
Memory: 13.6M
CPU: 17ms
CGroup: /system.slice/guacd.service
+-593 /usr/local/sbin/guacd -p /var/run/guacd.pid
root@guac:~# systemctl status guacd
? guacd.service - LSB: Guacamole proxy daemon
Loaded: loaded (/etc/init.d/guacd; generated)
Active: active (running) since Mon 2022-02-28 08:43:06 CST; 1min 12s ago
Docs: man:systemd-sysv-generator(8)
Process: 521 ExecStart=/etc/init.d/guacd start (code=exited, status=0/SUCCESS)
Tasks: 1 (limit: 4639)
Memory: 13.6M
CPU: 17ms
CGroup: /system.slice/guacd.service
+-593 /usr/local/sbin/guacd -p /var/run/guacd.pid
Feb 28 08:43:06 guac systemd[1]: Starting LSB: Guacamole proxy daemon...
Feb 28 08:43:06 guac guacd[523]: Guacamole proxy daemon (guacd) version 1.4.0 started
Feb 28 08:43:06 guac guacd[521]: Starting guacd:
Feb 28 08:43:06 guac guacd[523]: guacd[523]: INFO: Guacamole proxy daemon (guacd) version 1.4.0 started
Feb 28 08:43:06 guac guacd[521]: SUCCESS
Feb 28 08:43:06 guac guacd[593]: Listening on host 127.0.0.1, port 4822
Feb 28 08:43:06 guac systemd[1]: Started LSB: Guacamole proxy daemon.
root@guac:~#
root@guac:~# systemctl stop guacd
root@guac:~#
root@guac:~# systemctl status guacd
? guacd.service - LSB: Guacamole proxy daemon
Loaded: loaded (/etc/init.d/guacd; generated)
Active: inactive (dead) since Mon 2022-02-28 08:44:27 CST; 3s ago
Docs: man:systemd-sysv-generator(8)
Process: 521 ExecStart=/etc/init.d/guacd start (code=exited, status=0/SUCCESS)
Process: 748 ExecStop=/etc/init.d/guacd stop (code=exited, status=0/SUCCESS)
CPU: 25ms
Feb 28 08:43:06 guac guacd[523]: Guacamole proxy daemon (guacd) version 1.4.0 started
Feb 28 08:43:06 guac guacd[521]: Starting guacd:
Feb 28 08:43:06 guac guacd[523]: guacd[523]: INFO: Guacamole proxy daemon (guacd) version 1.4.0 started
Feb 28 08:43:06 guac guacd[521]: SUCCESS
Feb 28 08:43:06 guac guacd[593]: Listening on host 127.0.0.1, port 4822
Feb 28 08:43:06 guac systemd[1]: Started LSB: Guacamole proxy daemon.
root@guac:~#
root@guac:~# systemctl stop guacd
root@guac:~#
root@guac:~# systemctl status guacd
? guacd.service - LSB: Guacamole proxy daemon
Loaded: loaded (/etc/init.d/guacd; generated)
Active: inactive (dead) since Mon 2022-02-28 08:44:27 CST; 3s ago
Docs: man:systemd-sysv-generator(8)
Process: 521 ExecStart=/etc/init.d/guacd start (code=exited, status=0/SUCCESS)
Process: 748 ExecStop=/etc/init.d/guacd stop (code=exited, status=0/SUCCESS)
CPU: 25ms
Feb 28 08:43:06 guac guacd[521]: Starting guacd:
Feb 28 08:43:06 guac guacd[523]: guacd[523]: INFO: Guacamole proxy daemon (guacd) version 1.4.0 started
Feb 28 08:43:06 guac guacd[521]: SUCCESS
Feb 28 08:43:06 guac guacd[593]: Listening on host 127.0.0.1, port 4822
Feb 28 08:43:06 guac systemd[1]: Started LSB: Guacamole proxy daemon.
Feb 28 08:44:27 guac systemd[1]: Stopping LSB: Guacamole proxy daemon...
Feb 28 08:44:27 guac guacd[748]: Stopping guacd: SUCCESS
Feb 28 08:44:27 guac systemd[1]: guacd.service: Succeeded.
Feb 28 08:44:27 guac systemd[1]: guacd.service: Unit process 593 (guacd) remains running after unit stopped.
Feb 28 08:44:27 guac systemd[1]: Stopped LSB: Guacamole proxy daemon.
root@guac:~#
root@guac:~#
root@guac:~# ss -alnp | grep guacd
root@guac:~#
root@guac:~#
root@guac:~#
root@guac:~# /usr/local/sbin/guacd -L debug -f
guacd[767]: INFO: Guacamole proxy daemon (guacd) version 1.4.0 started
guacd[767]: DEBUG: Successfully bound AF_INET socket to host 127.0.0.1, port 4822
guacd[767]: INFO: Listening on host 127.0.0.1, port 4822
^C
root@guac:~# tail -10 /var/log/syslog
Feb 28 08:43:57 guac systemd[1]: Started Session 1 of user theadmin.
Feb 28 08:43:57 guac systemd[1]: Started Session 3 of user theadmin.
Feb 28 08:44:27 guac systemd[1]: Stopping LSB: Guacamole proxy daemon...
Feb 28 08:44:27 guac guacd[748]: Stopping guacd: SUCCESS
Feb 28 08:44:27 guac systemd[1]: guacd.service: Succeeded.
Feb 28 08:44:27 guac systemd[1]: guacd.service: Unit process 593 (guacd) remains running after unit stopped.
Feb 28 08:44:27 guac systemd[1]: Stopped LSB: Guacamole proxy daemon.
Feb 28 08:45:08 guac guacd[767]: Guacamole proxy daemon (guacd) version 1.4.0 started
Feb 28 08:45:08 guac guacd[767]: Successfully bound AF_INET socket to host 127.0.0.1, port 4822
Feb 28 08:45:08 guac guacd[767]: Listening on host 127.0.0.1, port 4822
Feb 28 08:43:06 guac guacd[523]: guacd[523]: INFO: Guacamole proxy daemon (guacd) version 1.4.0 started
Feb 28 08:43:06 guac guacd[521]: SUCCESS
Feb 28 08:43:06 guac guacd[593]: Listening on host 127.0.0.1, port 4822
Feb 28 08:43:06 guac systemd[1]: Started LSB: Guacamole proxy daemon.
Feb 28 08:44:27 guac systemd[1]: Stopping LSB: Guacamole proxy daemon...
Feb 28 08:44:27 guac guacd[748]: Stopping guacd: SUCCESS
Feb 28 08:44:27 guac systemd[1]: guacd.service: Succeeded.
Feb 28 08:44:27 guac systemd[1]: guacd.service: Unit process 593 (guacd) remains running after unit stopped.
Feb 28 08:44:27 guac systemd[1]: Stopped LSB: Guacamole proxy daemon.
root@guac:~#
root@guac:~#
root@guac:~# ss -alnp | grep guacd
root@guac:~#
root@guac:~#
root@guac:~#
root@guac:~# /usr/local/sbin/guacd -L debug -f
guacd[767]: INFO: Guacamole proxy daemon (guacd) version 1.4.0 started
guacd[767]: DEBUG: Successfully bound AF_INET socket to host 127.0.0.1, port 4822
guacd[767]: INFO: Listening on host 127.0.0.1, port 4822
^C
root@guac:~# tail -10 /var/log/syslog
Feb 28 08:43:57 guac systemd[1]: Started Session 1 of user theadmin.
Feb 28 08:43:57 guac systemd[1]: Started Session 3 of user theadmin.
Feb 28 08:44:27 guac systemd[1]: Stopping LSB: Guacamole proxy daemon...
Feb 28 08:44:27 guac guacd[748]: Stopping guacd: SUCCESS
Feb 28 08:44:27 guac systemd[1]: guacd.service: Succeeded.
Feb 28 08:44:27 guac systemd[1]: guacd.service: Unit process 593 (guacd) remains running after unit stopped.
Feb 28 08:44:27 guac systemd[1]: Stopped LSB: Guacamole proxy daemon.
Feb 28 08:45:08 guac guacd[767]: Guacamole proxy daemon (guacd) version 1.4.0 started
Feb 28 08:45:08 guac guacd[767]: Successfully bound AF_INET socket to host 127.0.0.1, port 4822
Feb 28 08:45:08 guac guacd[767]: Listening on host 127.0.0.1, port 4822
root@guac:~#
root@guac:~# tail -10 /var/log/tomcat9/catalina.out
[2022-02-28 08:45:39] [info] 08:45:39.919 [http-nio-8080-exec-8] INFO o.a.d.a.l.e.ExtrasCodecFactoryUtil - MSG_06001_REGISTERED_EXTENDED_OP_FACTORY (1.3.6.1.4.1.1466.20037)
[2022-02-28 08:45:39] [info] 08:45:39.920 [http-nio-8080-exec-8] INFO o.a.d.a.l.e.ExtrasCodecFactoryUtil - MSG_06001_REGISTERED_EXTENDED_OP_FACTORY (1.3.6.1.1.21.1)
[2022-02-28 08:45:39] [info] 08:45:39.921 [http-nio-8080-exec-8] INFO o.a.d.a.l.e.ExtrasCodecFactoryUtil - MSG_06001_REGISTERED_EXTENDED_OP_FACTORY (1.3.6.1.4.1.18060.0.1.6)
[2022-02-28 08:45:39] [info] 08:45:39.921 [http-nio-8080-exec-8] INFO o.a.d.a.l.e.ExtrasCodecFactoryUtil - MSG_06001_REGISTERED_EXTENDED_OP_FACTORY (1.3.6.1.4.1.4203.1.11.3)
[2022-02-28 08:45:39] [info] 08:45:39.922 [http-nio-8080-exec-8] INFO o.a.d.a.l.e.ExtrasCodecFactoryUtil - MSG_06002_REGISTERED_INTERMEDIATE_FACTORY (1.3.6.1.4.1.4203.1.9.1.4)
[2022-02-28 08:45:40] [info] 08:45:40.080 [http-nio-8080-exec-8] INFO o.a.g.r.auth.AuthenticationService - User "guacadmin" successfully authenticated from 0:0:0:0:0:0:0:1.
[2022-02-28 08:45:50] [info] 08:45:50.014 [http-nio-8080-exec-5] WARN o.a.g.s.GuacamoleHTTPTunnelServlet - HTTP tunnel request rejected: No such tunnel.
[2022-02-28 08:45:59] [info] 08:45:59.476 [http-nio-8080-exec-8] WARN o.a.g.s.GuacamoleHTTPTunnelServlet - HTTP tunnel request rejected: No such tunnel.
[2022-02-28 08:46:00] [info] 08:46:00.086 [http-nio-8080-exec-3] ERROR o.a.g.s.GuacamoleHTTPTunnelServlet - HTTP tunnel request failed: Connection to guacd timed out.
[2022-02-28 08:46:09] [info] 08:46:09.524 [http-nio-8080-exec-7] ERROR o.a.g.s.GuacamoleHTTPTunnelServlet - HTTP tunnel request failed: Connection to guacd timed out.
root@guac:~#
root@guac:~# tail -10 /var/log/tomcat9/catalina.out
[2022-02-28 08:45:39] [info] 08:45:39.919 [http-nio-8080-exec-8] INFO o.a.d.a.l.e.ExtrasCodecFactoryUtil - MSG_06001_REGISTERED_EXTENDED_OP_FACTORY (1.3.6.1.4.1.1466.20037)
[2022-02-28 08:45:39] [info] 08:45:39.920 [http-nio-8080-exec-8] INFO o.a.d.a.l.e.ExtrasCodecFactoryUtil - MSG_06001_REGISTERED_EXTENDED_OP_FACTORY (1.3.6.1.1.21.1)
[2022-02-28 08:45:39] [info] 08:45:39.921 [http-nio-8080-exec-8] INFO o.a.d.a.l.e.ExtrasCodecFactoryUtil - MSG_06001_REGISTERED_EXTENDED_OP_FACTORY (1.3.6.1.4.1.18060.0.1.6)
[2022-02-28 08:45:39] [info] 08:45:39.921 [http-nio-8080-exec-8] INFO o.a.d.a.l.e.ExtrasCodecFactoryUtil - MSG_06001_REGISTERED_EXTENDED_OP_FACTORY (1.3.6.1.4.1.4203.1.11.3)
[2022-02-28 08:45:39] [info] 08:45:39.922 [http-nio-8080-exec-8] INFO o.a.d.a.l.e.ExtrasCodecFactoryUtil - MSG_06002_REGISTERED_INTERMEDIATE_FACTORY (1.3.6.1.4.1.4203.1.9.1.4)
[2022-02-28 08:45:40] [info] 08:45:40.080 [http-nio-8080-exec-8] INFO o.a.g.r.auth.AuthenticationService - User "guacadmin" successfully authenticated from 0:0:0:0:0:0:0:1.
[2022-02-28 08:45:50] [info] 08:45:50.014 [http-nio-8080-exec-5] WARN o.a.g.s.GuacamoleHTTPTunnelServlet - HTTP tunnel request rejected: No such tunnel.
[2022-02-28 08:45:59] [info] 08:45:59.476 [http-nio-8080-exec-8] WARN o.a.g.s.GuacamoleHTTPTunnelServlet - HTTP tunnel request rejected: No such tunnel.
[2022-02-28 08:46:00] [info] 08:46:00.086 [http-nio-8080-exec-3] ERROR o.a.g.s.GuacamoleHTTPTunnelServlet - HTTP tunnel request failed: Connection to guacd timed out.
[2022-02-28 08:46:09] [info] 08:46:09.524 [http-nio-8080-exec-7] ERROR o.a.g.s.GuacamoleHTTPTunnelServlet - HTTP tunnel request failed: Connection to guacd timed out.
root@guac:~#
Sent: Monday, February 28, 2022 at 8:30 AM
From: "Nick Couchman" <[email protected]>
To: [email protected]
Subject: Re: Problems with GuacamoleHTTPTunnelServlet
From: "Nick Couchman" <[email protected]>
To: [email protected]
Subject: Re: Problems with GuacamoleHTTPTunnelServlet
On Mon, Feb 28, 2022 at 9:02 AM Jim Rx <[email protected]> wrote:
Nick,Sorry for the delayed reply, We had ice storms and it kept me from work.So I'm not really any further.I killed guacd (systemctl stop guacd), and then, as root, from the /etc/init.d directory, ran ./guacd start -L debug -f
No, this won't work - you'll want the path to the actual guacd binary, not the init script. The path to the binary can be found in the init script, but it's different from the script. May be something like /usr/local/sbin/guacd or /usr/sbin/guacd, something like that.
-Nick
