You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by David Jentes <da...@gmail.com> on 2021/07/29 19:52:34 UTC

Cannot login to default account

I can't log into the default account after setting up Tomcat and Guacd and
my MySQL database. I'm putting my guacamole.properties (in /etc/guacamole
and symlinked to /usr/share/tomcat8/.guacamole) below.

guacd-hostname: localhost
guacd-port: 4822

mysql-hostname: localhost
mysql-port: 3306
mysql-database: guacamole_db
mysql-username: guacamole_user
mysql-password: VerySecurePassword

I'm not gonna use that SQL password in production. I have other apps
(WordPress, etc.) accessing the server through Apache httpd on the same
system, so what I think is that it is not reading the config file correctly
or connecting to the database.

Re: Cannot login to default account

Posted by David Jentes <da...@gmail.com>.
I just realized I spelled extensions wrong when creating the folder. I have
renamed the folder. The JAR file is in there. Thanks for the help!

On Thu, Jul 29, 2021 at 4:06 PM Nick Couchman <vn...@apache.org> wrote:

> On Thu, Jul 29, 2021 at 5:03 PM David Jentes <da...@gmail.com>
> wrote:
>
>> I see no mention of JDBC or MySQL in the logs.
>>
>>
> In that case, the extension is probably not installed in the correct
> place, or is not readable by the Tomcat server. Did you create the
> /etc/guacamole/extensions folder, and put the guacamole-jdbc-mysql JAR file
> in that folder?
>
> -Nick
>
>>

Re: Cannot login to default account

Posted by Nick Couchman <vn...@apache.org>.
On Thu, Jul 29, 2021 at 5:03 PM David Jentes <da...@gmail.com>
wrote:

> I see no mention of JDBC or MySQL in the logs.
>
>
In that case, the extension is probably not installed in the correct place,
or is not readable by the Tomcat server. Did you create the
/etc/guacamole/extensions folder, and put the guacamole-jdbc-mysql JAR file
in that folder?

-Nick

>

Re: Cannot login to default account

Posted by David Jentes <da...@gmail.com>.
I see no mention of JDBC or MySQL in the logs.

On Thu, Jul 29, 2021 at 3:22 PM David Jentes <da...@gmail.com>
wrote:

> I'm still having issues after testing with the same thing, so I still need
> some help.
>
> On Thu, Jul 29, 2021 at 3:19 PM David Jentes <da...@gmail.com>
> wrote:
>
>> Turns out that I put the extension in the wrong folder. Thanks for the
>> help!
>>
>> On Thu, Jul 29, 2021 at 3:11 PM David Jentes <
>> daviddgtntpersonal@gmail.com> wrote:
>>
>>> I'm using 1.3.0, I'll remove the symlinks soon. I'll let you know after.
>>>
>>> On Thu, Jul 29, 2021 at 3:05 PM Nick Couchman <vn...@apache.org> wrote:
>>>
>>>> On Thu, Jul 29, 2021 at 3:52 PM David Jentes <
>>>> daviddgtntpersonal@gmail.com> wrote:
>>>>
>>>>> I can't log into the default account after setting up Tomcat and Guacd
>>>>> and my MySQL database. I'm putting my guacamole.properties (in
>>>>> /etc/guacamole and symlinked to /usr/share/tomcat8/.guacamole) below.
>>>>>
>>>>>
>>>> What version of Guacamole? Symlinks are not necessary on more recent
>>>> versions of Guacamole - /etc/guacamole is the default location and will be
>>>> checked, first.
>>>>
>>>>
>>>>> guacd-hostname: localhost
>>>>> guacd-port: 4822
>>>>>
>>>>> mysql-hostname: localhost
>>>>> mysql-port: 3306
>>>>> mysql-database: guacamole_db
>>>>> mysql-username: guacamole_user
>>>>> mysql-password: VerySecurePassword
>>>>>
>>>>> I'm not gonna use that SQL password in production. I have other apps
>>>>> (WordPress, etc.) accessing the server through Apache httpd on the same
>>>>> system, so what I think is that it is not reading the config file correctly
>>>>> or connecting to the database.
>>>>>
>>>>
>>>> Things to check:
>>>> 1) Does the Tomcat user have access to /etc/guacamole?
>>>> 2) What do the Tomcat logs (catalina.out, or the equivalent on whatever
>>>> system you're using) say? You should see messages about the MySQL extension
>>>> loading, or any errors if it's unable to load.
>>>> 3)  Verify you've completed all the steps - MySQL is running, you
>>>> imported both the schema file and the admin user file, the extension is
>>>> installed in /etc/guacamole/extensions, the MySQL JDBC driver is installed,
>>>> etc.
>>>>
>>>> -Nick
>>>>
>>>

Re: Cannot login to default account

Posted by David Jentes <da...@gmail.com>.
I'm still having issues after testing with the same thing, so I still need
some help.

On Thu, Jul 29, 2021 at 3:19 PM David Jentes <da...@gmail.com>
wrote:

> Turns out that I put the extension in the wrong folder. Thanks for the
> help!
>
> On Thu, Jul 29, 2021 at 3:11 PM David Jentes <da...@gmail.com>
> wrote:
>
>> I'm using 1.3.0, I'll remove the symlinks soon. I'll let you know after.
>>
>> On Thu, Jul 29, 2021 at 3:05 PM Nick Couchman <vn...@apache.org> wrote:
>>
>>> On Thu, Jul 29, 2021 at 3:52 PM David Jentes <
>>> daviddgtntpersonal@gmail.com> wrote:
>>>
>>>> I can't log into the default account after setting up Tomcat and Guacd
>>>> and my MySQL database. I'm putting my guacamole.properties (in
>>>> /etc/guacamole and symlinked to /usr/share/tomcat8/.guacamole) below.
>>>>
>>>>
>>> What version of Guacamole? Symlinks are not necessary on more recent
>>> versions of Guacamole - /etc/guacamole is the default location and will be
>>> checked, first.
>>>
>>>
>>>> guacd-hostname: localhost
>>>> guacd-port: 4822
>>>>
>>>> mysql-hostname: localhost
>>>> mysql-port: 3306
>>>> mysql-database: guacamole_db
>>>> mysql-username: guacamole_user
>>>> mysql-password: VerySecurePassword
>>>>
>>>> I'm not gonna use that SQL password in production. I have other apps
>>>> (WordPress, etc.) accessing the server through Apache httpd on the same
>>>> system, so what I think is that it is not reading the config file correctly
>>>> or connecting to the database.
>>>>
>>>
>>> Things to check:
>>> 1) Does the Tomcat user have access to /etc/guacamole?
>>> 2) What do the Tomcat logs (catalina.out, or the equivalent on whatever
>>> system you're using) say? You should see messages about the MySQL extension
>>> loading, or any errors if it's unable to load.
>>> 3)  Verify you've completed all the steps - MySQL is running, you
>>> imported both the schema file and the admin user file, the extension is
>>> installed in /etc/guacamole/extensions, the MySQL JDBC driver is installed,
>>> etc.
>>>
>>> -Nick
>>>
>>

Re: Cannot login to default account

Posted by David Jentes <da...@gmail.com>.
Turns out that I put the extension in the wrong folder. Thanks for the help!

On Thu, Jul 29, 2021 at 3:11 PM David Jentes <da...@gmail.com>
wrote:

> I'm using 1.3.0, I'll remove the symlinks soon. I'll let you know after.
>
> On Thu, Jul 29, 2021 at 3:05 PM Nick Couchman <vn...@apache.org> wrote:
>
>> On Thu, Jul 29, 2021 at 3:52 PM David Jentes <
>> daviddgtntpersonal@gmail.com> wrote:
>>
>>> I can't log into the default account after setting up Tomcat and Guacd
>>> and my MySQL database. I'm putting my guacamole.properties (in
>>> /etc/guacamole and symlinked to /usr/share/tomcat8/.guacamole) below.
>>>
>>>
>> What version of Guacamole? Symlinks are not necessary on more recent
>> versions of Guacamole - /etc/guacamole is the default location and will be
>> checked, first.
>>
>>
>>> guacd-hostname: localhost
>>> guacd-port: 4822
>>>
>>> mysql-hostname: localhost
>>> mysql-port: 3306
>>> mysql-database: guacamole_db
>>> mysql-username: guacamole_user
>>> mysql-password: VerySecurePassword
>>>
>>> I'm not gonna use that SQL password in production. I have other apps
>>> (WordPress, etc.) accessing the server through Apache httpd on the same
>>> system, so what I think is that it is not reading the config file correctly
>>> or connecting to the database.
>>>
>>
>> Things to check:
>> 1) Does the Tomcat user have access to /etc/guacamole?
>> 2) What do the Tomcat logs (catalina.out, or the equivalent on whatever
>> system you're using) say? You should see messages about the MySQL extension
>> loading, or any errors if it's unable to load.
>> 3)  Verify you've completed all the steps - MySQL is running, you
>> imported both the schema file and the admin user file, the extension is
>> installed in /etc/guacamole/extensions, the MySQL JDBC driver is installed,
>> etc.
>>
>> -Nick
>>
>

Re: Cannot login to default account

Posted by David Jentes <da...@gmail.com>.
I'm using 1.3.0, I'll remove the symlinks soon. I'll let you know after.

On Thu, Jul 29, 2021 at 3:05 PM Nick Couchman <vn...@apache.org> wrote:

> On Thu, Jul 29, 2021 at 3:52 PM David Jentes <da...@gmail.com>
> wrote:
>
>> I can't log into the default account after setting up Tomcat and Guacd
>> and my MySQL database. I'm putting my guacamole.properties (in
>> /etc/guacamole and symlinked to /usr/share/tomcat8/.guacamole) below.
>>
>>
> What version of Guacamole? Symlinks are not necessary on more recent
> versions of Guacamole - /etc/guacamole is the default location and will be
> checked, first.
>
>
>> guacd-hostname: localhost
>> guacd-port: 4822
>>
>> mysql-hostname: localhost
>> mysql-port: 3306
>> mysql-database: guacamole_db
>> mysql-username: guacamole_user
>> mysql-password: VerySecurePassword
>>
>> I'm not gonna use that SQL password in production. I have other apps
>> (WordPress, etc.) accessing the server through Apache httpd on the same
>> system, so what I think is that it is not reading the config file correctly
>> or connecting to the database.
>>
>
> Things to check:
> 1) Does the Tomcat user have access to /etc/guacamole?
> 2) What do the Tomcat logs (catalina.out, or the equivalent on whatever
> system you're using) say? You should see messages about the MySQL extension
> loading, or any errors if it's unable to load.
> 3)  Verify you've completed all the steps - MySQL is running, you imported
> both the schema file and the admin user file, the extension is installed in
> /etc/guacamole/extensions, the MySQL JDBC driver is installed, etc.
>
> -Nick
>

Re: Cannot login to default account

Posted by Nick Couchman <vn...@apache.org>.
On Thu, Jul 29, 2021 at 3:52 PM David Jentes <da...@gmail.com>
wrote:

> I can't log into the default account after setting up Tomcat and Guacd and
> my MySQL database. I'm putting my guacamole.properties (in /etc/guacamole
> and symlinked to /usr/share/tomcat8/.guacamole) below.
>
>
What version of Guacamole? Symlinks are not necessary on more recent
versions of Guacamole - /etc/guacamole is the default location and will be
checked, first.


> guacd-hostname: localhost
> guacd-port: 4822
>
> mysql-hostname: localhost
> mysql-port: 3306
> mysql-database: guacamole_db
> mysql-username: guacamole_user
> mysql-password: VerySecurePassword
>
> I'm not gonna use that SQL password in production. I have other apps
> (WordPress, etc.) accessing the server through Apache httpd on the same
> system, so what I think is that it is not reading the config file correctly
> or connecting to the database.
>

Things to check:
1) Does the Tomcat user have access to /etc/guacamole?
2) What do the Tomcat logs (catalina.out, or the equivalent on whatever
system you're using) say? You should see messages about the MySQL extension
loading, or any errors if it's unable to load.
3)  Verify you've completed all the steps - MySQL is running, you imported
both the schema file and the admin user file, the extension is installed in
/etc/guacamole/extensions, the MySQL JDBC driver is installed, etc.

-Nick