无法在AWS EC2 Ubuntu 14.04上运行

时间:2015-07-24 08:44:05

标签: ubuntu amazon-ec2 confluence

我尝试安装汇流5.8.6后,

我主要关注https://confluence.atlassian.com/display/DOC/Installing+Confluence+on+Linux+from+Archive+File#InstallingConfluenceonLinuxfromArchiveFile-2.InstallJavahttps://confluence.atlassian.com/display/DOC/Start+Confluence+Automatically+on+Linux

中的步骤

我使用09:49:34.386 4;**IDC-200.0**;CA 13:07:39.987 87;T22.8,BT2;LI;VLT12.7;**IDC-** 13:07:39.995 **42.0**;CAP240.0/ 作为用户,并在confluence

中运行. confluence-start.sh

几乎立即,我收到以下消息,我的用户帐户已从/usr/local/confluence/current/bin/切换回confluence

ubuntu

然后我尝试了ip地址:8090。我一无所获。

请告知。

更新

我已切换到java 8.同样的问题

confluence@ip-xxx.xxx.xxx.xxx:/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

2 个答案:

答案 0 :(得分:2)

Confluence 5.8需要Java 8,而您正在使用Java 7

使用JRE_HOME:/ usr / lib / jvm / java-7-openjdk-amd64

切换到Java 8,它应该可以正常工作!

此致 戈尔卡

答案 1 :(得分:0)

您是否在EC2实例上启用了端口?

转到安全组,单击“操作”->“入站规则”,然后添加8090端口。