On Tue, Feb 8, 2022 at 9:37 AM Vieri <[email protected]> wrote:

> Hi,
>
> I'm trying to set up guacamole with mariadb + ldap + totp.
>
> # ls /etc/guacamole/extensions/
> branding.jar    guacamole-auth-jdbc-mysql-1.4.0.jar
> guacamole-auth-totp-1.4.0.jar
> customurls.jar  guacamole-auth-ldap-1.1.0.jar
>
> # ls /etc/guacamole/lib/
> mariadb-java-client-3.0.3.jar
>
> [localhost-startStop-1] DEBUG o.a.g.extension.ExtensionModule - Reading
> extension: "guacamole-auth-ldap-1.1.0.jar"
> [localhost-startStop-1] DEBUG o.a.g.extension.ExtensionModule - Reading
> extension: "guacamole-auth-jdbc-mysql-1.4.0.jar"
> [localhost-startStop-1] ERROR o.a.g.extension.ExtensionModule - Extension
> "guacamole-auth-jdbc-mysql-1.4.0.jar" could not be loaded: Temporary
> directory for libraries bundled with extension
> "/etc/guacamole/extensions/guacamole-auth-jdbc-mysql-1.4.0.jar" could not
> be created.
> [localhost-startStop-1] DEBUG o.a.g.extension.ExtensionModule - Unable to
> load extension.
> org.apache.guacamole.GuacamoleServerException: Temporary directory for
> libraries bundled with extension
> "/etc/guacamole/extensions/guacamole-auth-jdbc-mysql-1.4.0.jar" could not
> be created.
>
> What does "Temporary directory for libraries bundled with extension" mean?
> I don't see a "lib" within the JDBC MySQL jar file.
>
>
This is likely a permissions issue - the user who is running Tomcat
probably doesn't have access to unpack the files that it needs to in order
to load the extension. Make sure that the user running Tomcat has the
required privileges. Unfortunately I can't really be more specific than
this - where those folders are depends on how you've installed Tomcat and
possible reconfiguration of it, so you'll need to track down what temp
folder Tomcat might be trying to use and make sure ownership and
permissions are correct.

-NIck

Reply via email to