You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Asmodean Thor <as...@gmail.com> on 2021/09/14 14:08:24 UTC

Guacamole Errored Out

Hello!

I believe that it was after this command that my guacamole installation 
broke:

```

sudo apt install apache2 mariadb-server libapache2-mod-php7.4
sudo apt purge apache2 mariadb-server libapache2-mod-php7.4

```

I then tried to reinstall the apache2, thinking that guac might need it 
for some reason. But the service was conflicting with nginx and didn't 
start. Stopping nginx and starting apache2 does not solve guac error though.

I used the github guac-install script to install it, it uses My SQL. I 
am on ubuntu 20.04, using tomcat 9 for the front end.

The guacd service runs perfectly. Logs below.

Please let me know if you need more information, the error screenshot is 
attached.

I set a sub domain for the guacamole, using nginx. The conf looks like this:

```

server {

     listen 443 ssl http2;
     listen [::]:443 ssl http2;
     server_name guac.xxx.com;

     include /etc/nginx/ssl.conf;

     #proxy_set_header Authorization "";
     #auth_basic off;


     location / {
     proxy_pass http://127.0.0.1:8080/guacamole/;
     proxy_buffering off;
     proxy_http_version 1.1;
     proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
     proxy_set_header Upgrade $http_upgrade;
     proxy_set_header Connection $http_connection;
     access_log off;
     }

```

The guacd systemctl status:

```

● guacd.service - LSB: Guacamole proxy daemon
      Loaded: loaded (/etc/init.d/guacd; generated)
      Active: active (running) since Tue 2021-09-14 15:31:55 CEST; 34min ago
        Docs: man:systemd-sysv-generator(8)
     Process: 264599 ExecStart=/etc/init.d/guacd start (code=exited, 
status=0/SUCCESS)
       Tasks: 1 (limit: 4566)
      Memory: 8.4M
      CGroup: /system.slice/guacd.service
              └─264623 /usr/local/sbin/guacd -p /var/run/guacd.pid

Sep 14 15:31:55 caffine-num systemd[1]: Starting LSB: Guacamole proxy 
daemon...
Sep 14 15:31:55 caffine-num guacd[264621]: Guacamole proxy daemon 
(guacd) version 1.3.0 started
Sep 14 15:31:55 caffine-num guacd[264599]: Starting guacd:
Sep 14 15:31:55 caffine-num guacd[264621]: guacd[264621]: INFO:        
Guacamole proxy daemon (guacd) version 1.3.0 started
Sep 14 15:31:55 caffine-num guacd[264599]: SUCCESS
Sep 14 15:31:55 caffine-num guacd[264623]: Listening on host 127.0.0.1, 
port 4822
Sep 14 15:31:55 caffine-num systemd[1]: Started LSB: Guacamole proxy daemon

```


Re: Guacamole Errored Out

Posted by Mike Jumper <mi...@glyptodon.com>.
On Tue, Sep 14, 2021 at 7:08 AM Asmodean Thor <as...@gmail.com>
wrote:

> Hello!
>
> I believe that it was after this command that my guacamole installation
> broke:
>
> ```
> sudo apt install apache2 mariadb-server libapache2-mod-php7.4
> sudo apt purge apache2 mariadb-server libapache2-mod-php7.4
> ```
> ...
> The guacd service runs perfectly. Logs below.
>
> Please let me know if you need more information, the error screenshot is
> attached.
> ...


The screenshot originally attached shows a generic error from the Guacamole
webapp, not guacd. This would typically be due to some required service or
configuration option being missing/unavailable, such as the database server
being unreachable. Guacamole will log the details of the error that
occurred in the Tomcat logs.

What do you see in the Tomcat logs from Guacamole?

Michael Jumper
CEO, Lead Developer
Glyptodon Inc <https://glyp.to/>.