Menu

guacamole 0.9.8 cannot connect to any connection

Help
purpletoad
2015-12-13
2015-12-13
  • purpletoad

    purpletoad - 2015-12-13

    fresh installtion of guacamole 0.9.8 on ubuntu server 14.04.3 lts
    get mysql auth, guacd 0.8.3-1

    the installtion and configuration went smoothly with no issue, but when connect to any created connection get error

    "Connection Error

    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."

    syslog as below

    Dec 13 11:09:11 ubuntu cron[826]: (CRON) INFO (pidfile fd = 3)
    Dec 13 11:09:11 ubuntu cron[860]: (CRON) STARTUP (fork ok)
    Dec 13 11:09:11 ubuntu acpid: starting up with netlink and the input layer
    Dec 13 11:09:12 ubuntu cron[860]: (CRON) INFO (Running @reboot jobs)
    Dec 13 11:09:12 ubuntu acpid: 1 rule loaded
    Dec 13 11:09:12 ubuntu acpid: waiting for events: event logging is off
    Dec 13 11:09:15 ubuntu /etc/mysql/debian-start[988]: Upgrading MySQL tables if necessary.
    Dec 13 11:09:16 ubuntu /etc/mysql/debian-start[992]: /usr/bin/mysql_upgrade: the '--basedir' option is always ignored
    Dec 13 11:09:16 ubuntu /etc/mysql/debian-start[992]: Looking for 'mysql' as: /usr/bin/mysql
    Dec 13 11:09:16 ubuntu /etc/mysql/debian-start[992]: Looking for 'mysqlcheck' as: /usr/bin/mysqlcheck
    Dec 13 11:09:16 ubuntu /etc/mysql/debian-start[992]: This installation of MySQL is already upgraded to 5.5.46, use --force if you still need to run mysql_upgrade
    Dec 13 11:09:16 ubuntu /etc/mysql/debian-start[1006]: Checking for insecure root accounts.
    Dec 13 11:09:16 ubuntu /etc/mysql/debian-start[1011]: Triggering myisam-recover for all MyISAM tables
    Dec 13 11:09:18 ubuntu guacd[1183]: Guacamole proxy daemon (guacd) version 0.8.3
    Dec 13 11:09:18 ubuntu guacd[1183]: Unable to bind socket to host ::1, port 4822: Address family not supported by protocol
    Dec 13 11:09:18 ubuntu guacd[1183]: Successfully bound socket to host 127.0.0.1, port 4822
    Dec 13 11:09:18 ubuntu guacd[1183]: Exiting and passing control to PID 1184
    Dec 13 11:09:18 ubuntu guacd[1184]: Exiting and passing control to PID 1185
    Dec 13 11:09:18 ubuntu guacd[1185]: Listening on host 127.0.0.1, port 4822
    Dec 13 11:09:18 ubuntu ntpdate[702]: step time server 91.189.94.4 offset -0.312256 sec
    Dec 13 11:09:24 ubuntu kernel: [ 22.668505] init: plymouth-upstart-bridge main process ended, respawning
    Dec 13 11:09:32 ubuntu ntpdate[1365]: adjust time server 91.189.94.4 offset 0.000133 sec
    Dec 13 11:11:13 ubuntu guacd[1469]: Protocol "ssh" selected
    Dec 13 11:11:13 ubuntu kernel: [ 130.766718] show_signal_msg: 33 callbacks suppressed
    Dec 13 11:11:13 ubuntu kernel: [ 130.766723] guacd[1469]: segfault at 400 ip 0000000000000400 sp 00007ffdee355608 error 14 in guacd[400000+5000]
    Dec 13 11:11:14 ubuntu guacd[1472]: Protocol "ssh" selected
    Dec 13 11:11:14 ubuntu kernel: [ 131.860596] guacd[1472]: segfault at 400 ip 0000000000000400 sp 00007ffdee355608 error 14 in guacd[400000+5000]
    Dec 13 11:17:01 ubuntu CRON[1533]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
    Dec 13 11:20:34 ubuntu guacd[1543]: Protocol "ssh" selected
    Dec 13 11:20:34 ubuntu kernel: [ 691.943122] guacd[1543]: segfault at 400 ip 0000000000000400 sp 00007ffdee355608 error 14 in guacd[400000+5000]
    Dec 13 11:20:35 ubuntu guacd[1545]: Protocol "ssh" selected
    Dec 13 11:20:35 ubuntu kernel: [ 692.138892] guacd[1545]: segfault at 400 ip 0000000000000400 sp 00007ffdee355608 error 14 in guacd[400000+5000]
    Dec 13 11:20:57 ubuntu guacd[1548]: Protocol "ssh" selected
    Dec 13 11:20:57 ubuntu kernel: [ 714.844467] guacd[1548]: segfault at 400 ip 0000000000000400 sp 00007ffdee355608 error 14 in guacd[400000+5000]
    Dec 13 11:20:57 ubuntu guacd[1550]: Protocol "ssh" selected
    Dec 13 11:20:58 ubuntu kernel: [ 715.036386] guacd[1550]: segfault at 400 ip 0000000000000400 sp 00007ffdee355608 error 14 in guacd[400000+5000]

     
  • purpletoad

    purpletoad - 2015-12-13

    Dec 13 11:25:56 ubuntu guacd[1563]: Protocol "rdp" selected
    Dec 13 11:25:56 ubuntu kernel: [ 1013.208695] guacd[1563]: segfault at 400 ip 0000000000000400 sp 00007ffdee3555f8 error 14 in guacd[400000+5000]
    Dec 13 11:25:56 ubuntu guacd[1565]: Protocol "rdp" selected
    Dec 13 11:25:56 ubuntu kernel: [ 1013.425673] guacd[1565]: segfault at 400 ip 0000000000000400 sp 00007ffdee3555f8 error 14 in guacd[400000+5000]

     
  • purpletoad

    purpletoad - 2015-12-13

    feel like a guacd fault, but not sure where to start the trouble shooting

     
  • olegkrutov

    olegkrutov - 2015-12-13

    Is this ok to use guacd 0.8.3 and guacamole.war 0.9.8? Didn't you try to make fresh version of guacd? Here is a doc that I used successfully Guacamole with MySQL on Ubuntu -- good description how to make recent guacd on ubuntu. The only issue is that guacd is run as root that is insecure -- but one need to mess with /etc/init.d/guacd and that problem can be solved.

     

    Last edit: olegkrutov 2015-12-13
  • Michael Jumper

    Michael Jumper - 2015-12-13

    Thanks, olegkrutov - that's exactly correct.

    purpletoad, as a Guacamole dev I can tell you that you absolutely cannot mix 0.8.3 with 0.9.8. Build guacamole-server from source and all should be good.

    IMPORTANT: If you installed the guacd / libguac / libguac-client-* packages from Ubuntu's repositories (which I assume you did as you say "0.8.3-1"), please be sure to remove them. The last thing you would want is a 0.9.8 guacd to load protocol plugins built for 0.8.3 - that will very definitely segfault. They are not binary compatible.

     
  • purpletoad

    purpletoad - 2015-12-13

    Thanks olegkrutov and Michael, that explaind well, I removed guacd 0.8.3-1, no more guacd error in syslog, but still not working, in olegkrutov's instruction, it using tomecat 8 and ubuntu 15.04(systemd), but my 14.04 is still running upstart, will try reinstall again without upgrade to see how's go

     
  • Michael Jumper

    Michael Jumper - 2015-12-13

    What do you mean by "without upgrade"?

     
  • purpletoad

    purpletoad - 2015-12-13

    upgrade my ubuntu to 15.04 and tomcat8 as I'm still running tomcat7 at the moment

     
  • purpletoad

    purpletoad - 2015-12-13

    Thanks guys, it's all working good using olegkrutov's instruction but on ubuntu14.04.3 with tomcat 7, install guacamole 0.9.8 with mysql auth

     
  • purpletoad

    purpletoad - 2015-12-13

    if anyone still have problem install 0.9.8 in ubuntu 14.04.3 on tomcat 7, please refer to the instruction here