You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@guacamole.apache.org by "Nick Couchman (JIRA)" <ji...@apache.org> on 2019/07/29 03:51:00 UTC
[jira] [Closed] (GUACAMOLE-856) Struggling with guacamole
installation for many many times
[ https://issues.apache.org/jira/browse/GUACAMOLE-856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick Couchman closed GUACAMOLE-856.
-----------------------------------
Resolution: Invalid
Please start your request for help on the mailing list:
http://guacamole.apache.org/support/
> Struggling with guacamole installation for many many times
> ----------------------------------------------------------
>
> Key: GUACAMOLE-856
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-856
> Project: Guacamole
> Issue Type: Test
> Components: guacamole
> Affects Versions: 1.0.0
> Reporter: SecurityRules
> Priority: Major
>
> Hello,
>
> I seen guacamole for the first time at another company, and I I was amazed of how beautiful this product is.
>
> I have been struggling to get it to work on my personal lab for quite a while, I tried different guides, but never got guacamole to work past the "HTTP Status 404 - Not Found" when accessing [http://192.168.159.138:8080/guacamole]
>
> Can you please examine my case and guide my on the direction to get it to work, I have included the terminal history for how I installed it, nit planning to use ldap, or mysql initially, just the basic config on the user-mappings.xml, here is the log:
>
> sudo apt-get update
> sudo apt-get upgrade
> 101 apt-get install guacamole-tomcat (installs tons of packages)
> Downloaded guacamole client 1.0.0.war and renamed it to guacamole.war
> 119 sudo cp guacamole.war /var/lib/tomcat8/webapps
> 121 sudo cp guacamole.war /usr/share/tomcat8
> 122 sudo cp guacamole.war /usr/share/tomcat8/webapps
> sudo cp guacamole.war /var/lib/guacamole/guacamole.war
> 132 /etc/init.d/guacd start
> 133 /etc/init.d/tomcat8 restart
> 139 sudo mkdir /usr/share/tomcat8/.guacamole
> 141 sudo cp -s /etc/guacamole/guacamole.properties /usr/share/tomcat8/.guacamole
> 142 sudo service tomcat8 restart
> 143 sudo service guacd restart
> 146 service tomcat8 status
> 147 service guacd status
> 161 sudo systemctl daemon-reload
> 162 sudo service tomcat restart && sudo service guacd restart
> 163 sudo service tomcat8 restart && sudo service guacd restart
> also added "guacamole.home=/etc/guacamole" yo /var/lib/tomcat8/conf/catalina.properties
> and authorized local account login to user-mappings.xml
> Those are logs located at /var/log/tomcat8
>
> 192.168.17.1 - - [28/Jul/2019:20:06:53 -0700] "GET / HTTP/1.1" 200 1896 (that was the root default index page - works fine)
> 192.168.17.1 - - [28/Jul/2019:20:06:53 -0700] "GET /favicon.ico HTTP/1.1" 404 1094
> 192.168.17.1 - - [28/Jul/2019:20:06:59 -0700] "GET /guacamole HTTP/1.1" 404 1092
> 192.168.17.1 - - [28/Jul/2019:20:07:03 -0700] "GET /guacamole HTTP/1.1" 404 1092
> 192.168.17.1 - - [28/Jul/2019:20:07:03 -0700] "GET /guacamole HTTP/1.1" 404 1092
> 192.168.17.1 - - [28/Jul/2019:20:07:04 -0700] "GET /guacamole HTTP/1.1" 404 1092
> 192.168.159.1 - - [28/Jul/2019:20:12:59 -0700] "GET /guacamole HTTP/1.1" 404 1092
> 192.168.159.1 - - [28/Jul/2019:20:12:59 -0700] "GET /favicon.ico HTTP/1.1" 404 1094
>
> catalina.out log
> 27-Jul-2019 16:46:51.734 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration descriptor [/etc/tomcat8/Catalina/localhost/guacamole.xml]
> 27-Jul-2019 16:46:51.735 SEVERE [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Error deploying configuration descriptor [/etc/tomcat8/Catalina/localhost/guacamole.xml]
> java.io.FileNotFoundException: /etc/tomcat8/Catalina/localhost/guacamole.xml (No such file or directory)
>
> 27-Jul-2019 16:46:58.426 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration descriptor [/etc/tomcat8/Catalina/localhost/guacamole.xml]
> 27-Jul-2019 16:46:58.873 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start:
> org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/guacamole]]
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
> at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
> at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:624)
> at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1834)
> at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> at java.base/java.lang.Thread.run(Thread.java:834)
> Caused by: java.lang.NullPointerException
> at org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.java:373)
> at org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java:191)
> at org.apache.catalina.startup.ContextConfig.processJarsForWebFragments(ContextConfig.java:1898)
> at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1120)
> at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:769)
> at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:299)
> at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
> at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5134)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> ... 10 more
> 27-Jul-2019 16:46:58.876 SEVERE [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Error deploying configuration descriptor [/etc/tomcat8/Catalina/localhost/guacamole.xml]
> java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/guacamole]]
> 27-Jul-2019 16:46:58.876 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of configuration descriptor [/etc/tomcat8/Catalina/localhost/guacamole.xml] has finished in [451] ms
> 27-Jul-2019 16:46:58.877 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/var/lib/tomcat8/webapps/ROOT]
> 27-Jul-2019 16:50:36.611 SEVERE [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Error deploying configuration descriptor [/etc/tomcat8/Catalina/localhost/guacamole.xml]
> java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/guacamole]]
> 28-Jul-2019 20:03:28.204 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration descriptor [/etc/tomcat8/Catalina/localhost/guacamole.xml]
> 28-Jul-2019 20:03:29.440 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start:
> org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/guacamole]]
>
>
> Tested on Ubuntu 18.04 on Vmware environment.
>
>
>
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)