Apr 16 14:33:29 sazg-nethserver server: Apr 16, 2020 2:33:29 PM org.apache.catalina.startup.TldConfig execute
Apr 16 14:33:29 sazg-nethserver server: INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Apr 16 14:33:29 sazg-nethserver server: Apr 16, 2020 2:33:29 PM org.apache.catalina.startup.HostConfig deployDirectory
Apr 16 14:33:29 sazg-nethserver server: INFO: Deployment of web application directory /var/lib/tomcat/webapps/manager has finished in 226 ms
Apr 16 14:33:29 sazg-nethserver server: Apr 16, 2020 2:33:29 PM org.apache.coyote.AbstractProtocol start
Apr 16 14:33:29 sazg-nethserver server: INFO: Starting ProtocolHandler [“http-bio-8080”]
Apr 16 14:33:29 sazg-nethserver server: Apr 16, 2020 2:33:29 PM org.apache.coyote.AbstractProtocol start
Apr 16 14:33:29 sazg-nethserver server: INFO: Starting ProtocolHandler [“ajp-bio-8009”]
Apr 16 14:33:29 sazg-nethserver server: Apr 16, 2020 2:33:29 PM org.apache.catalina.startup.Catalina start
Apr 16 14:33:29 sazg-nethserver server: INFO: Server startup in 4514 ms
Apr 16 14:33:32 sazg-nethserver systemd: Started Session c15 of user root.
Apr 16 14:33:34 sazg-nethserver systemd: Started Session c16 of user root.
Apr 16 14:33:37 sazg-nethserver systemd: Started Session c17 of user root.
Apr 16 14:33:40 sazg-nethserver systemd: Started Session c18 of user root.
Apr 16 14:33:50 sazg-nethserver sshd[8752]: Failed password for root from 92.222.92.114 port 54948 ssh2
Apr 16 14:33:50 sazg-nethserver sshd[8752]: Received disconnect from 92.222.92.114 port 54948:11: Bye Bye [preauth]
Apr 16 14:33:50 sazg-nethserver sshd[8752]: Disconnected from 92.222.92.114 port 54948 [preauth]
Apr 16 14:33:50 sazg-nethserver server: 14:33:50.824 [http-bio-8080-exec-4] WARN o.a.g.e.AuthenticationProviderFacade - The “mysql” authentication provider has encountered an internal error which will halt the authentication process. If this is unexpected or you are the developer of this authentication provider, you may wish to enable debug-level logging. If this is expected and you wish to ignore such failures in the future, please set “skip-if-unavailable: mysql” within your guacamole.properties.
Apr 16 14:33:50 sazg-nethserver server: 14:33:50.824 [http-bio-8080-exec-4] ERROR o.a.g.rest.RESTExceptionMapper - Unexpected internal error:
Apr 16 14:33:50 sazg-nethserver server: ### Error querying database. Cause: java.sql.SQLException: Access denied for user ‘guacamole’@‘localhost’ (using password: YES)
Apr 16 14:33:50 sazg-nethserver server: ### The error may exist in org/apache/guacamole/auth/jdbc/user/UserMapper.xml
Apr 16 14:33:50 sazg-nethserver server: ### The error may involve org.apache.guacamole.auth.jdbc.user.UserMapper.selectOne
Apr 16 14:33:50 sazg-nethserver server: ### The error occurred while executing a query
Apr 16 14:33:50 sazg-nethserver server: ### Cause: java.sql.SQLException: Access denied for user ‘guacamole’@‘localhost’ (using password: YES)
Logging to MySQL with the guacamole user works:
[root@sazg-nethserver ~]# mysql -u guacamole -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 75
Server version: 5.5.64-MariaDB MariaDB Server
OK, i’ve reset the MySQL password as per command above.
Also restarted with:
systemctl restart tomcat guacd
but this still appears in the log:
Apr 16 15:05:41 sazg-nethserver server: Apr 16, 2020 3:05:41 PM org.apache.catalina.startup.HostConfig deployDirectory
Apr 16 15:05:41 sazg-nethserver server: INFO: Deploying web application directory /var/lib/tomcat/webapps/manager
Apr 16 15:05:41 sazg-nethserver server: Apr 16, 2020 3:05:41 PM org.apache.catalina.startup.TldConfig execute
Apr 16 15:05:41 sazg-nethserver server: INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Apr 16 15:05:41 sazg-nethserver server: Apr 16, 2020 3:05:41 PM org.apache.catalina.startup.HostConfig deployDirectory
Apr 16 15:05:41 sazg-nethserver server: INFO: Deployment of web application directory /var/lib/tomcat/webapps/manager has finished in 170 ms
Apr 16 15:05:41 sazg-nethserver server: Apr 16, 2020 3:05:41 PM org.apache.coyote.AbstractProtocol start
Apr 16 15:05:41 sazg-nethserver server: INFO: Starting ProtocolHandler [“http-bio-8080”]
Apr 16 15:05:41 sazg-nethserver server: Apr 16, 2020 3:05:41 PM org.apache.coyote.AbstractProtocol start
Apr 16 15:05:41 sazg-nethserver server: INFO: Starting ProtocolHandler [“ajp-bio-8009”]
Apr 16 15:05:41 sazg-nethserver server: Apr 16, 2020 3:05:41 PM org.apache.catalina.startup.Catalina start
Apr 16 15:05:41 sazg-nethserver server: INFO: Server startup in 4737 ms
Apr 16 15:05:47 sazg-nethserver server: 15:05:47.940 [http-bio-8080-exec-1] WARN o.a.g.e.AuthenticationProviderFacade - The “mysql” authentication provider has encountered an internal error which will halt the authentication process. If this is unexpected or you are the developer of this authentication provider, you may wish to enable debug-level logging. If this is expected and you wish to ignore such failures in the future, please set “skip-if-unavailable: mysql” within your guacamole.properties.
Apr 16 15:05:47 sazg-nethserver server: 15:05:47.940 [http-bio-8080-exec-1] ERROR o.a.g.rest.RESTExceptionMapper - Unexpected internal error:
Apr 16 15:05:47 sazg-nethserver server: ### Error querying database. Cause: java.sql.SQLException: Access denied for user ‘guacamole’@‘localhost’ (using password: YES)
Apr 16 15:05:47 sazg-nethserver server: ### The error may exist in org/apache/guacamole/auth/jdbc/user/UserMapper.xml
Apr 16 15:05:47 sazg-nethserver server: ### The error may involve org.apache.guacamole.auth.jdbc.user.UserMapper.selectOne
Apr 16 15:05:47 sazg-nethserver server: ### The error occurred while executing a query
Apr 16 15:05:47 sazg-nethserver server: ### Cause: java.sql.SQLException: Access denied for user ‘guacamole’@‘localhost’ (using password: YES)
Apr 16 15:07:09 sazg-nethserver systemd: Started Session c432 of user root.
The smartest way for custom templates is to create new fragments instead of copying.
That’s not always possible so you have to copy a fragment.
Then you forget about it and the next update hits you, this was a typical example.
Glad it works now.
my ldap server is different from the one where guacamole is installed on, even though the nethserver instance is paired to it.
Do i need to change any parameters or what, i still am not able to login with Ldap users.
I also sometimes forget to “clean up” after testing - especially if no immediate negative effects are noticed. That was a test for Guacamole 1.1 at the time.
I realized the template after the custom-template changed the file when i did a signal-event nethserver-guacamole-update
Then I started looking and found the “forgotten” template…
Issues with the new support for user groups were identified following the 1.0.0 release which resulted in permissions not taking effect if granted via user groups from different authentication extensions. These issues have now been fixed. User group permissions should be inherited as expected, regardless of whether user group membership is dictated by a different extension than the permissions granted to that group.
Not sure what logs you’d like me to pull from. Oddly enough this looks similar to a problem I had with NethServer’s reverse proxy working with web sockets properly.