confluence install
Asked by Hsu Yao Chang:

Dear Sir,

Is possible to install confluence by CentOS operation system ? (We planed install confluence and database by using CentOS ) Is there guidance of installing procedure?

Thank you.


Answers:
author: Luiz Maia
body: Hello there,

Yes, it is possible. We have general steps to install Confluence on Linux. This should be basically the same on CentOS since it's a Linux based OS.

Please follow [these instructions](https://confluence.atlassian.com/display/DOC/Installing+Confluence+on+Linux) for the installation process, and let us know should you have any questions.

Thank you!

Kind regards,

Luiz Maia  
Atlassian Support


author: Hsu Yao Chang
body: We also found some information as shown as below:

```
25-Jul-2015 10:29:36.672 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server} Setting property 'debug' to '0' did not find a matching property.25-Jul-2015 10:29:36.860 WARNING [main] org.apache.catalina.startup.SetAllPropertiesRule.begin [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'debug' to '0' did not find a matching property.25-Jul-2015 10:29:36.890 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine} Setting property 'debug' to '0' did not find a matching property.25-Jul-2015 10:29:36.907 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.25-Jul-2015 10:29:37.011 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.25-Jul-2015 10:29:37.856 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8090"]25-Jul-2015 10:29:37.902 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read25-Jul-2015 10:29:37.914 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1382 ms25-Jul-2015 10:29:37.935 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Tomcat-Standalone25-Jul-2015 10:29:37.935 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.2325-Jul-2015 10:30:29.431 SEVERE [Standalone-startStop-1] org.apache.catalina.startup.HostConfig.start Unable to create directory for deployment: /opt/atlassian/confluence/conf/Standalone/localhost25-Jul-2015 10:30:29.436 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8090"]25-Jul-2015 10:30:29.450 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 51536 ms25-Jul-2015 10:51:05.946 INFO [Thread-15] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8090"]25-Jul-2015 10:51:05.958 INFO [Thread-15] org.apache.catalina.core.StandardService.stopInternal Stopping service Tomcat-Standalone25-Jul-2015 10:51:06.106 WARNING [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] registered the JDBC driver [org.hsqldb.jdbc.JDBCDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.25-Jul-2015 10:51:06.107 WARNING [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] registered the JDBC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.25-Jul-2015 10:51:06.108 WARNING [localhost-startStop-2] 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.25-Jul-2015 10:51:06.117 INFO [Thread-15] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8090"]25-Jul-2015 10:51:06.131 INFO [Thread-15] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-8090"]
```

How can we install JDBC driver at CentOS server?Thank you.

comments: author: Nic Brough -Adaptavist-
body: It's already installed. The problem you have here is that the user you are installing confluence on can't read/write the directories you are trying to install it in.


author: Hsu Yao Chang
body: But we use root account to install confluence. How can we solve the permission issue ? Thank you.


author: Nic Brough -Adaptavist-
body: You need to correct the permissions. The installer will have set them correctly for the user you should be running them as if you ran it as root, so you need undo whatever changes you made to permissions after you installed it.


author: Hsu Yao Chang
body: Thank you for your reply.

It can install confluence, but it appear blank screen at the setting procedure.

confluence3.jpg

After check log of /opt/atlassian/confluence/logs/catalina.2015-07-25.log, we found information as shown as below : (maybe the key point is : **com.atlassian.confluence.tenant.VacantException: Confluence is vacant, a call to tenanted \[public abstract net.sf.hibernate.connection.ConnectionProvider net.sf.hibernate.engine.SessionFactoryImplementor.getConnectionProvider()\] is not allowed.** ) What happened to my confluence ? Thank you.

```
25-Jul-2015 12:57:13.057 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Tomcat-Standalone25-Jul-2015 12:57:13.057 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.2325-Jul-2015 12:57:43.588 SEVERE [Standalone-startStop-1] org.apache.catalina.startup.HostConfig.start Unable to create directory for deployment: /opt/atlassian/confluence/conf/Standalone/localhost25-Jul-2015 12:57:43.593 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8090"]25-Jul-2015 12:57:43.607 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 30566 ms25-Jul-2015 13:01:23.319 SEVERE [http-nio-8090-exec-3] org.apache.catalina.core.StandardHostValve.custom Exception Processing ErrorPage[errorCode=500, location=/500page.jsp] org.apache.jasper.JasperException: com.atlassian.confluence.tenant.VacantException: Confluence is vacant, a call to tenanted [public abstract net.sf.hibernate.connection.ConnectionProvider net.sf.hibernate.engine.SessionFactoryImplementor.getConnectionProvider()] is not allowed.	at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:555)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:471)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.atlassian.confluence.web.filter.DebugFilter.doFilter(DebugFilter.java:50)	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:71)	at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129)	at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77)	at com.atlassian.confluence.util.profiling.ProfilingSiteMeshFilter.doFilter(ProfilingSiteMeshFilter.java:46)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:71)	at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:88)	at com.atlassian.confluence.web.filter.ConfluenceSecurityFilter.doFilter(ConfluenceSecurityFilter.java:27)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:148)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:71)	at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:71)	at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.atlassian.confluence.web.filter.DebugFilter.doFilter(DebugFilter.java:50)	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721)	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:468)	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391)	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318)	at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:439)	at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:305)	at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:399)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1521)	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1478)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)	at java.lang.Thread.run(Thread.java:745)
```

[](https://community.atlassian.com/t5/Confluence-questions/confluence-install/qaq-p/52431?attachment-id=6828){#link_118829ebccf1d9}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/8845/1/confluence3.jpg){#display_118829ebccf1d9_0}

comments: author: Nic Brough -Adaptavist-
body: That's an unusual error and not one that really points us at anything specific, although it does suggest that the database is incorrectly configured. Is this happening while confluence is starting, or does it only happen when you start trying to reach it with the browser?Are there other errors in the log?Also, could you check atlassian-confluence.log for any errors as well? (It's in confluence-home/log )


author: Hsu Yao Chang
body: But after run command : chmod a+x atlassian-confluence-X.Y.bin, it run complete . But when I run ./ or .\\ to execute the bin file , it failed. ( I Use Centos6) How can I solve the problem ? Thank you.

execute confluence.jpg  
[](https://community.atlassian.com/t5/Confluence-questions/confluence-install/qaq-p/52431?attachment-id=10395){#link_118829f827401e}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/8844/1/execute%20confluence.jpg){#display_118829f827401e_0}

comments: author: Nic Brough -Adaptavist-
body: The ./ has a space after it - that won't work. It's "./program-to-run" not "./ program-to-run"


author: Hsu Yao Chang
body: How about restore database from original postgresql database to new database?

Thank you.

comments: author: Nic Brough -Adaptavist-
body: I'm not sure what the question means, but you can rebuild a Confluence system from a database backup.


author: Mike Rathwell
body: Basically anywhere you can run Java you can run Confluence. I've had it on a variety of OS over the time I've run our instance here (currently Windows 2012 R2, 4vCPU and 6GB RAM with PostgreSQL - very very fast)


author: Nic Brough -Adaptavist-
body: Yes, CentOS is a supported operating system for Atlassian stuff.


Tags: confluence-administration