MysticRyuujin / guac-install

Script for installing Guacamole on Ubuntu
986 stars 271 forks source link

Fresh Install - error #122

Open mike-isinc opened 4 years ago

mike-isinc commented 4 years ago

I just completed a fresh install on Ubuntu 18.04, everything went smooth, but upon opening the site, i receive the following error:

ERROR An error has occurred and this action cannot be completed. If the problem persists, please notify your system administrator or check your system logs.

Any ideas?

chevcheli0s commented 4 years ago

Debian 10 - same error solution for debian 10 (for ubuntu try to use previous version like in this examle): sudo nano /etc/apt/sources to incl stretch repo (deb http://deb.debian.org/debian/ stretch main) sudo apt update apt-get install libmysql-java libfreerdp-dev sudo ln -sf /usr/share/java/mysql-connector-java.jar /etc/guacamole/lib/ sudo nano /etc/apt/sources to remove stretch repo (deb http://deb.debian.org/debian/ stretch main) sudo systemctl restart guacd sudo systemctl restart tomcat9

g0tmi1k commented 4 years ago

Could be a few reasons why... Check:

tail -f /var/log/messages /var/log/syslog /var/log/tomcat9/*.out /var/log/mysql/*.log

The reason why I had it was before of ~ https://issues.apache.org/jira/browse/GUACAMOLE-760

g0tmi1k commented 4 years ago

Could you try again with https://github.com/MysticRyuujin/guac-install/pull/123 now merged in?

r1bnc commented 4 years ago

edit, somehow after some reboots it worked. Could be related to my problematic /etc/hosts file

guiltykeyboard commented 4 years ago

This step of the install is what I believe is causing this for me. @g0tmi1k has a link above that shows some ideas on how to fix it. Probably related to the time zone not being properly set. Perhaps @MysticRyuujin could take a look at this?

`Restarting MySQL service & enable at boot... OK Synchronizing state of mysql.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable mysql

Setting timezone as America/New_York ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) File contains parsing errors: <???>