在我尝试安装 confluence 5.8.6 之后,
我主要遵循 https://confluence.atlassian.com/display/DOC/Installing+Confluence+on+Linux+from+Archive+File#InstallingConfluenceonLinuxfromArchiveFile-2.InstallJava 和 https://confluence.atlassian.com/display/DOC/Start+Confluence+Automatically+on+Linux 中的步骤
我使用 confluence
作为用户并在 . confluence-start.sh
中运行 /usr/local/confluence/current/bin/
几乎立即,我收到以下消息,我的用户帐户从 confluence
切换回 ubuntu
[email protected]:/usr/local/confluence/current/bin$ . start-confluence.sh
To run Confluence in the foreground, start the server with start-confluence.sh -fg
executing as current user
If you encounter issues starting up Confluence, please see the Installation guide at http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide
Server startup logs are located in /usr/local/confluence/current/logs/catalina.out
Using CATALINA_BASE: /usr/local/confluence/current
Using CATALINA_HOME: /usr/local/confluence/current
Using CATALINA_TMPDIR: /usr/local/confluence/current/temp
Using JRE_HOME: /usr/lib/jvm/java-7-openjdk-amd64
Using CLASSPATH: /usr/local/confluence/current/bin/bootstrap.jar:/usr/local/confluence/current/bin/tomcat-juli.jar
Using CATALINA_PID: /usr/local/confluence/current/work/catalina.pid
Tomcat started.
ubuntu@ip-xxx-xxx-xxx-xxx:~$ sudo su confluence
confluence@xxx-xxx-xxx-xxx:/home/ubuntu$ cd /usr/local/confluence
confluence@ip-xxx-xxx-xxx-xxx:/usr/local/confluence$ ls -la
然后我尝试了ip地址:8090。我什么也得不到。
请指教。
更新
我已经切换到 java 8. 同样的问题
confluence@ip-172-31-22-135:/usr/local/confluence/current/bin$ . start-confluence.sh
To run Confluence in the foreground, start the server with start-confluence.sh -fg
executing as current user
If you encounter issues starting up Confluence, please see the Installation guide at http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide
Server startup logs are located in /usr/local/confluence/current/logs/catalina.out
Using CATALINA_BASE: /usr/local/confluence/current
Using CATALINA_HOME: /usr/local/confluence/current
Using CATALINA_TMPDIR: /usr/local/confluence/current/temp
Using JRE_HOME: /usr/lib/jvm/java-8-oracle
Using CLASSPATH: /usr/local/confluence/current/bin/bootstrap.jar:/usr/local/confluence/current/bin/tomcat-juli.jar
Using CATALINA_PID: /usr/local/confluence/current/work/catalina.pid
Existing PID file found during start.
Removing/clearing stale PID file.
Tomcat started.
最佳答案
Confluence 5.8 需要 Java 8,而您使用的是 Java 7
使用 JRE_HOME:/usr/lib/jvm/java-7-openjdk-amd64
切换到 Java 8,它应该可以正常工作!
问候,
戈尔卡
关于ubuntu - 无法融合在 AWS EC2 Ubuntu 14.04 上运行,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/31605974/