On Tuesday, February 8, 2022, 03:47:46 PM GMT+1, Nick Couchman 
<[email protected]> wrote: 

>> I'm trying to set up guacamole with mariadb + ldap + totp.
>> # ls /etc/guacamole/lib/
>> mariadb-java-client-3.0.3.jar
>
> This is likely a permissions issue - the user who is running Tomcat probably 
> doesn't have access

Thanks, Nick.
I had to chown tomcat:tomcat the Catalina TMPDIR.

Now, the files unpack, but I get an error with the driver:

[http-nio-8080-exec-1] DEBUG o.a.i.t.jdbc.JdbcTransaction - Opening JDBC 
Connection
[http-nio-8080-exec-1] DEBUG o.a.g.a.j.DynamicallyAuthenticatedDataSource - 
Creating new database connection for pool.
[http-nio-8080-exec-1] WARN  o.a.g.e.AuthenticationProviderFacade - The "mysql" 
authentication provider has encountered an internal error which will halt the 
authentication process. [...]
[http-nio-8080-exec-1] ERROR o.a.g.rest.RESTExceptionMapper - Unexpected 
internal error:
### Error querying database.  Cause: java.sql.SQLException: No suitable driver 
found for jdbc:mysql://localhost:3306/guac_db

Is there a way to test this on the command line?

# lsof -i -P -n | grep 3306
mysqld     16051    mysql   21u  IPv4     46590      0t0  TCP 127.0.0.1:3306 
(LISTEN)

Thanks,

Vieri

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to