Confluence Installation on CentOS 7
Asked by Jacob Woffenden:

HI all,

I am currently trying to install Confluence 6.0.2 on a CentOS 7 VM (running on OpenStack)

Details:

OS: CentOS Linux release 7.2.1511 (Core)

CPU: 2vCPU

RAM: 4GB

PostgreSQL: PostgreSQL 9.2.15

Installing via the x64 .bin file with defaults, once started, Confluence is not accessible from another machine.

So far, I've tried:

Disabling firewalld

Adding `-`[Djava.net](http://Djava.net)`.preferIPv4Stack=true` to setenv.sh

Increasing -Xmx to 2048m

Confirming I can telnet from another host

I get the following from catalina,out when I restart via init.d

```
01-Dec-2016 00:05:52.929 WARNING [main] org.apache.catalina.startup.SetAllPropertiesRule.begin [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'debug' to '0' did not find a matching property.01-Dec-2016 00:05:52.947 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine} Setting property 'debug' to '0' did not find a matching property.01-Dec-2016 00:05:52.951 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine/Host} Setting property 'debug' to '0' did not find a matching property.01-Dec-2016 00:05:52.977 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.01-Dec-2016 00:25:36.363 INFO [main] org.apache.catalina.core.StandardServer.await A valid shutdown command was received via the shutdown port. Stopping the Server instance.01-Dec-2016 00:25:36.364 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8090"]01-Dec-2016 00:25:36.416 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service Tomcat-Standalone01-Dec-2016 00:25:36.421 INFO [localhost-startStop-4] org.apache.catalina.core.ApplicationContext.log Destroying Spring FrameworkServlet 'dispatcher'00:25:36 [localhost-startStop-4] AnnotationConfigWebApplicationContext[INFO] - Closing WebApplicationContext for namespace 'dispatcher-servlet': startup date [Thu Dec 01 00:25:20 GMT 2016]; root of context hierarchy01-Dec-2016 00:25:36.625 WARNING [localhost-startStop-3] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] registered the JDBC driver [org.h2.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.01-Dec-2016 00:25:36.631 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8090"]01-Dec-2016 00:25:36.714 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-8090"]01-Dec-2016 00:25:37.679 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server} Setting property 'debug' to '0' did not find a matching property.01-Dec-2016 00:25:37.728 WARNING [main] org.apache.catalina.startup.SetAllPropertiesRule.begin [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'debug' to '0' did not find a matching property.01-Dec-2016 00:25:37.736 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine} Setting property 'debug' to '0' did not find a matching property.01-Dec-2016 00:25:37.740 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine/Host} Setting property 'debug' to '0' did not find a matching property.01-Dec-2016 00:25:37.766 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.01-Dec-2016 00:25:38.113 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8090"]01-Dec-2016 00:25:38.126 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read01-Dec-2016 00:25:38.128 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 518 ms01-Dec-2016 00:25:38.135 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Tomcat-Standalone01-Dec-2016 00:25:38.135 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.362016-12-01 00:25:47,031 INFO [localhost-startStop-1] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 6.0.2 [build 7101 based on commit hash 4f8ce896bdf903a209ab02696e335acf844f5c2c]
```


Answers:
author: Nic Brough -Adaptavist-
body: Two things to check

1. Can you get to it locally? On the CentOS machine. If you don't have a gui, then just try a simple wget of the default base url and see if the html you get looks like a login or setup screen
2. What does the application log say? Files in \<confluence-home\>/log


Tags: centos

confluence-administration