You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Rytis <ry...@mke.lt> on 2022/10/29 14:49:43 UTC

Guacamole can't connect to anything, no errors

  Hello,
I am stuck for awhile with Guacamole - I have installed it using this
guide: https://idroot.us/install-apache-guacamole-debian-11/ (using Orange
Pi, Debian 11 (arm64)).

Guacamole application works well and I can login to it, but I can't connect
to any server (does not matter - ssh, rdp, application provides instant "An
internal error has occurred within the Guacamole server, and the connection
has been terminated. If the problem persists, please notify your system
administrator, or check your system logs.").

/var/log/syslog provides no guacd, tomcat9 errors or anything else related
to this.

I am quite stuck here. Is there any other way to identify a problem?

Thank you,


-- 
Best regards
Rytis S

Re: Guacamole can't connect to anything, no errors

Posted by Rytis <ry...@mke.lt>.
Thank you, Michael -
forceing guacd to listen on 127.0.0.1 actually worked!

On Sat, 29 Oct 2022 at 19:00, Michael Jumper <mj...@apache.org> wrote:

> Look around to see if you can find your Tomcat logs. The location of the
> Tomcat logs varies by how Tomcat was installed and by who created the
> Tomcat package. There should definitely be an error in the logs that
> corresponds to the error you're seeing in the UI. Common locations would be
> within the systemd journal (accessed via journalctl) or "catalina.out"
> beneath a directory within /var/log, such as /var/log/tomcat or
> /var/log/tomcat/9 or similar.
>
> I suspect that your system may have configured the "localhost" name such
> that guacd is binding to IPv6 localhost, while the Guacamole webapp is
> attempting to connect to IPv4 localhost. If this is the case, you can force
> guacd to listen on 127.0.0.1 by editing /etc/guacamole/guacd.conf, creating
> the file first if necessary:
>
> [server]
> bind_host = 127.0.0.1
>
> See:
> https://guacamole.apache.org/doc/gug/configuring-guacamole.html?highlight=bind_host#configuring-guacd
>
> - Mike
>
>
> On Sat, Oct 29, 2022 at 8:05 AM Rytis <ry...@mke.lt> wrote:
>
>> Hi Nick,
>> thank you for quick response.
>>
>> guacd is running
>> root@orangepi:/var/log# systemctl status guacd
>> ● guacd.service - Guacamole Server
>>      Loaded: loaded (/etc/systemd/system/guacd.service; enabled; vendor
>> preset: enabled)
>>      Active: active (running) since Sat 2022-10-29 14:38:00 UTC; 25min ago
>>        Docs: man:guacd(8)
>>    Main PID: 5948 (guacd)
>>       Tasks: 1 (limit: 4603)
>>      Memory: 9.8M
>>         CPU: 45ms
>>      CGroup: /system.slice/guacd.service
>>              └─5948 /usr/local/sbin/guacd -f
>>
>> 2022-10-29, št, 18:00 Nick Couchman <vn...@apache.org> rašė:
>>
>>> On Sat, Oct 29, 2022 at 10:50 AM Rytis <ry...@mke.lt> wrote:
>>> >
>>> >   Hello,
>>> > I am stuck for awhile with Guacamole - I have installed it using this
>>> guide: https://idroot.us/install-apache-guacamole-debian-11/ (using
>>> Orange Pi, Debian 11 (arm64)).
>>> >
>>> > Guacamole application works well and I can login to it, but I can't
>>> connect to any server (does not matter - ssh, rdp, application provides
>>> instant "An internal error has occurred within the Guacamole server, and
>>> the connection has been terminated. If the problem persists, please notify
>>> your system administrator, or check your system logs.").
>>> >
>>> > /var/log/syslog provides no guacd, tomcat9 errors or anything else
>>> related to this.
>>>
>>> Is guacd running? I'm unfamiliar with that install guide you
>>> mentioned, but have you started the guacd service, either using
>>> systemctl, an init script, or by running the guacd binary directly?
>>>
>>> -Nick
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
>>> For additional commands, e-mail: user-help@guacamole.apache.org
>>>
>>>
>>
>> --
>> Best regards
>> Rytis Savickis
>>
>> Phone number: +370 629 57720
>>
>

-- 
Best regards
Rytis Sa

Re: Guacamole can't connect to anything, no errors

Posted by Michael Jumper <mj...@apache.org>.
Look around to see if you can find your Tomcat logs. The location of the
Tomcat logs varies by how Tomcat was installed and by who created the
Tomcat package. There should definitely be an error in the logs that
corresponds to the error you're seeing in the UI. Common locations would be
within the systemd journal (accessed via journalctl) or "catalina.out"
beneath a directory within /var/log, such as /var/log/tomcat or
/var/log/tomcat/9 or similar.

I suspect that your system may have configured the "localhost" name such
that guacd is binding to IPv6 localhost, while the Guacamole webapp is
attempting to connect to IPv4 localhost. If this is the case, you can force
guacd to listen on 127.0.0.1 by editing /etc/guacamole/guacd.conf, creating
the file first if necessary:

[server]
bind_host = 127.0.0.1

See:
https://guacamole.apache.org/doc/gug/configuring-guacamole.html?highlight=bind_host#configuring-guacd

- Mike


On Sat, Oct 29, 2022 at 8:05 AM Rytis <ry...@mke.lt> wrote:

> Hi Nick,
> thank you for quick response.
>
> guacd is running
> root@orangepi:/var/log# systemctl status guacd
> ● guacd.service - Guacamole Server
>      Loaded: loaded (/etc/systemd/system/guacd.service; enabled; vendor
> preset: enabled)
>      Active: active (running) since Sat 2022-10-29 14:38:00 UTC; 25min ago
>        Docs: man:guacd(8)
>    Main PID: 5948 (guacd)
>       Tasks: 1 (limit: 4603)
>      Memory: 9.8M
>         CPU: 45ms
>      CGroup: /system.slice/guacd.service
>              └─5948 /usr/local/sbin/guacd -f
>
> 2022-10-29, št, 18:00 Nick Couchman <vn...@apache.org> rašė:
>
>> On Sat, Oct 29, 2022 at 10:50 AM Rytis <ry...@mke.lt> wrote:
>> >
>> >   Hello,
>> > I am stuck for awhile with Guacamole - I have installed it using this
>> guide: https://idroot.us/install-apache-guacamole-debian-11/ (using
>> Orange Pi, Debian 11 (arm64)).
>> >
>> > Guacamole application works well and I can login to it, but I can't
>> connect to any server (does not matter - ssh, rdp, application provides
>> instant "An internal error has occurred within the Guacamole server, and
>> the connection has been terminated. If the problem persists, please notify
>> your system administrator, or check your system logs.").
>> >
>> > /var/log/syslog provides no guacd, tomcat9 errors or anything else
>> related to this.
>>
>> Is guacd running? I'm unfamiliar with that install guide you
>> mentioned, but have you started the guacd service, either using
>> systemctl, an init script, or by running the guacd binary directly?
>>
>> -Nick
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
>> For additional commands, e-mail: user-help@guacamole.apache.org
>>
>>
>
> --
> Best regards
> Rytis Savickis
>
> Phone number: +370 629 57720
>

Re: Guacamole can't connect to anything, no errors

Posted by Rytis <ry...@mke.lt>.
Hi Nick,
thank you for quick response.

guacd is running
root@orangepi:/var/log# systemctl status guacd
● guacd.service - Guacamole Server
     Loaded: loaded (/etc/systemd/system/guacd.service; enabled; vendor
preset: enabled)
     Active: active (running) since Sat 2022-10-29 14:38:00 UTC; 25min ago
       Docs: man:guacd(8)
   Main PID: 5948 (guacd)
      Tasks: 1 (limit: 4603)
     Memory: 9.8M
        CPU: 45ms
     CGroup: /system.slice/guacd.service
             └─5948 /usr/local/sbin/guacd -f

2022-10-29, št, 18:00 Nick Couchman <vn...@apache.org> rašė:

> On Sat, Oct 29, 2022 at 10:50 AM Rytis <ry...@mke.lt> wrote:
> >
> >   Hello,
> > I am stuck for awhile with Guacamole - I have installed it using this
> guide: https://idroot.us/install-apache-guacamole-debian-11/ (using
> Orange Pi, Debian 11 (arm64)).
> >
> > Guacamole application works well and I can login to it, but I can't
> connect to any server (does not matter - ssh, rdp, application provides
> instant "An internal error has occurred within the Guacamole server, and
> the connection has been terminated. If the problem persists, please notify
> your system administrator, or check your system logs.").
> >
> > /var/log/syslog provides no guacd, tomcat9 errors or anything else
> related to this.
>
> Is guacd running? I'm unfamiliar with that install guide you
> mentioned, but have you started the guacd service, either using
> systemctl, an init script, or by running the guacd binary directly?
>
> -Nick
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
> For additional commands, e-mail: user-help@guacamole.apache.org
>
>

-- 
Best regards
Rytis Savickis

Phone number: +370 629 57720

Re: Guacamole can't connect to anything, no errors

Posted by Nick Couchman <vn...@apache.org>.
On Sat, Oct 29, 2022 at 10:50 AM Rytis <ry...@mke.lt> wrote:
>
>   Hello,
> I am stuck for awhile with Guacamole - I have installed it using this guide: https://idroot.us/install-apache-guacamole-debian-11/ (using Orange Pi, Debian 11 (arm64)).
>
> Guacamole application works well and I can login to it, but I can't connect to any server (does not matter - ssh, rdp, application provides instant "An internal error has occurred within the Guacamole server, and the connection has been terminated. If the problem persists, please notify your system administrator, or check your system logs.").
>
> /var/log/syslog provides no guacd, tomcat9 errors or anything else related to this.

Is guacd running? I'm unfamiliar with that install guide you
mentioned, but have you started the guacd service, either using
systemctl, an init script, or by running the guacd binary directly?

-Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Guacamole can't connect to anything, no errors

Posted by Andrew Sedlak <as...@glux.com.au>.
Check to see if the guacd service is actually running.

I had a similar issue with a new installation very recently.

Kind regards,
Andrew Sedlak

On 30/10/2022 1:49 am, Rytis wrote:
>   Hello,
> I am stuck for awhile with Guacamole - I have installed it using this 
> guide: https://idroot.us/install-apache-guacamole-debian-11/ (using 
> Orange Pi, Debian 11 (arm64)).
>
> Guacamole application works well and I can login to it, but I can't 
> connect to any server (does not matter - ssh, rdp, application 
> provides instant "An internal error has occurred within the Guacamole 
> server, and the connection has been terminated. If the problem 
> persists, please notify your system administrator, or check your 
> system logs.").
>
> /var/log/syslog provides no guacd, tomcat9 errors or anything else 
> related to this.
>
> I am quite stuck here. Is there any other way to identify a problem?
>
> Thank you,
>
>
> -- 
> Best regards
> Rytis S