I restarted tomcat and guac, and this is the only thing in 
/var/log/tomcat/Catalina.2023-07-28.log:

28-Jul-2023 08:27:59.167 INFO [Thread-3] 
org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler 
["http-nio-8080"]
28-Jul-2023 08:27:59.172 INFO [Thread-3] 
org.apache.catalina.core.StandardService.stopInternal Stopping service 
[Catalina]
28-Jul-2023 08:27:59.174 INFO [Thread-3] 
org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler 
["http-nio-8080"]
28-Jul-2023 08:27:59.178 INFO [Thread-3] 
org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler 
["http-nio-8080"]
28-Jul-2023 08:27:59.549 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Server version name:   
Apache Tomcat/9.0.62
28-Jul-2023 08:27:59.551 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Server built:          
Feb 16 2023 16:29:33 UTC
28-Jul-2023 08:27:59.551 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Server version number: 
9.0.62.0
28-Jul-2023 08:27:59.551 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log OS Name:               
Linux
28-Jul-2023 08:27:59.551 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log OS Version:            
4.18.0-477.15.1.el8_8.x86_64
28-Jul-2023 08:27:59.551 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Architecture:          
amd64
28-Jul-2023 08:27:59.551 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Java Home:             
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.382.b05-2.el8.x86_64/jre
28-Jul-2023 08:27:59.552 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           
1.8.0_382-b05
28-Jul-2023 08:27:59.552 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            
Red Hat, Inc.
28-Jul-2023 08:27:59.552 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         
/usr/share/tomcat
28-Jul-2023 08:27:59.552 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         
/usr/share/tomcat
28-Jul-2023 08:27:59.553 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Djavax.sql.DataSource.Factory=org.apache.commons.dbcp.BasicDataSourceFactory
28-Jul-2023 08:27:59.554 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Dcatalina.base=/usr/share/tomcat
28-Jul-2023 08:27:59.554 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Dcatalina.home=/usr/share/tomcat
28-Jul-2023 08:27:59.554 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Djava.endorsed.dirs=
28-Jul-2023 08:27:59.554 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Djava.io.tmpdir=/var/cache/tomcat/temp
28-Jul-2023 08:27:59.554 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Djava.util.logging.config.file=/usr/share/tomcat/conf/logging.properties
28-Jul-2023 08:27:59.554 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
28-Jul-2023 08:27:59.572 INFO [main] 
org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache 
Tomcat Native library [1.2.35] using APR version [1.6.3].
28-Jul-2023 08:27:59.572 INFO [main] 
org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: 
IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [true].
28-Jul-2023 08:27:59.572 INFO [main] 
org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL 
configuration: useAprConnector [false], useOpenSSL [true]
28-Jul-2023 08:27:59.574 INFO [main] 
org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL 
successfully initialized [OpenSSL 1.1.1k  FIPS 25 Mar 2021]
28-Jul-2023 08:27:59.858 INFO [main] org.apache.coyote.AbstractProtocol.init 
Initializing ProtocolHandler ["http-nio-8080"]
28-Jul-2023 08:27:59.872 INFO [main] org.apache.catalina.startup.Catalina.load 
Server initialization in [448] milliseconds
28-Jul-2023 08:27:59.893 INFO [main] 
org.apache.catalina.core.StandardService.startInternal Starting service 
[Catalina]
28-Jul-2023 08:27:59.893 INFO [main] 
org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: 
[Apache Tomcat/9.0.62]
28-Jul-2023 08:27:59.902 INFO [main] org.apache.coyote.AbstractProtocol.start 
Starting ProtocolHandler ["http-nio-8080"]
28-Jul-2023 08:27:59.914 INFO [main] org.apache.catalina.startup.Catalina.start 
Server startup in [41] milliseconds

That data is also in /var/log/messages.  I don't see anything to indicate that 
the WAR file was or was not loaded successfully.

Thanks,
Harry

-----Original Message-----
From: Nick Couchman <vn...@apache.org> 
Sent: Friday, July 28, 2023 8:20 AM
To: user@guacamole.apache.org
Subject: Re: Issue with new test installation

On Fri, Jul 28, 2023 at 8:13 AM Devine, Harry (FAA) 
<harry.dev...@faa.gov.invalid> wrote:
>
> I just stopped Apache and opened up port 8080 on the OS firewall, and I still 
> get the same error.  I restarted guacd and tomcat too, and still the same.  I 
> read online that you get that error when a default page can't be found (like 
> index.html, index.php, etc.).  I install Guacamole using an Ansible playbook 
> via a role we found on galaxy.ansible.com, so is it possible that something 
> is missing?  For reference, here's the /etc/guacamole directory on the server:
>
> [r...@test-access.tc.secure-ose.faa.gov /etc/guacamole]#tree .
> ├── extensions
> │   ├── guacamole-auth-jdbc-mysql-1.5.2.jar
> │   ├── guacamole-auth-ldap-1.5.2.jar
> │   └── tsose.jar
> ├── guacamole.properties
> ├── guacamole.war
> └── lib
>
> 2 directories, 5 files
>
> And here's /var/lib/tomcat/webapps:
>
> [r...@test-access.tc.secure-ose.faa.gov /var/lib/tomcat/webapps]#ll 
> total 0 lrwxrwxrwx. 1 root root 28 Jul 27 14:41 guacamole.war -> 
> /etc/guacamole/guacamole.war

The fact that you only see the WAR file, and do not see a matching directory 
called "guacamole" means that the WAR isn't being deployed for some reason. 
You'll need to check your Tomcat logs to see if there's a reason that the WAR 
isn't getting deployed - maybe the user running Tomcat doesn't have access to 
/etc/guacamole and can't actually read the WAR, maybe the user running Tomcat 
doesn't have write access to /var/lib/tomcat/webapps and cannot write the 
directory to deploy it, or maybe the Tomcat that is running doesn't actually 
use that directory and is pointed somewhere else? Several possibilities...the 
logs should help you.

-Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org

Reply via email to