Install successfully,but no way to connect

xin qiu September 20, 2019

 

your browser.
Confluence 7.0.1 can be accessed at http://localhost:8090
Finishing installation ...


[root@VM_0_16_centos qiuxin]# curl http://localhost:8090
curl: (7) Failed connect to localhost:8090; Connection refused

9 answers

0 votes
xin qiu September 23, 2019

Thank you!

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 23, 2019

Ah good, yes, you need to run this on a machine which has enough memory to hold the operating system plus the maximum heap size you set for both confluence and synchrony (if you want the collaborative editing)

0 votes
xin qiu September 23, 2019

Finally got the result from the log,  the memory of virtual machine is NOT enough.  

0 votes
xin qiu September 23, 2019

[root@VM_0_16_centos bin]# cat /opt/atlassian/confluence/logs/catalina.out
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000c0000000, 1073741824, 0) failed; error='Cannot allocate memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 1073741824 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /tmp/hs_err_pid5650.log
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000c0000000, 1073741824, 0) failed; error='Cannot allocate memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 1073741824 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /tmp/hs_err_pid6063.log
[root@VM_0_16_centos bin]#

0 votes
xin qiu September 23, 2019

[root@VM_0_16_centos bin]# pwd
/opt/atlassian/confluence/bin

[root@VM_0_16_centos bin]# ./start-confluence.sh

To run Confluence in the foreground, start the server with start-confluence.sh -fg
executing using dedicated user: confluence
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 /opt/atlassian/confluence/logs/catalina.out
---------------------------------------------------------------------------
Using Java: /opt/atlassian/confluence/jre//bin/java
2019-09-23 17:33:49,296 INFO [main] [atlassian.confluence.bootstrap.SynchronyProxyWatchdog] A Context element for ${confluence.context.path}/synchrony-proxy is found in /opt/atlassian/confluence/conf/server.xml. No further action is required
---------------------------------------------------------------------------
Using CATALINA_BASE: /opt/atlassian/confluence
Using CATALINA_HOME: /opt/atlassian/confluence
Using CATALINA_TMPDIR: /opt/atlassian/confluence/temp
Using JRE_HOME: /opt/atlassian/confluence/jre/
Using CLASSPATH: /opt/atlassian/confluence/bin/bootstrap.jar:/opt/atlassian/confluence/bin/tomcat-juli.jar
Using CATALINA_PID: /opt/atlassian/confluence/work/catalina.pid
Existing PID file found during start.
Removing/clearing stale PID file.
Tomcat started.
[root@VM_0_16_centos bin]#

0 votes
xin qiu September 23, 2019

In term of the install path, I completely use the default setting in the process of installation.    The details are itemized below:

Select the folder where you would like Confluence 7.0.1 to be installed,
then click Next.
Where should Confluence 7.0.1 be installed?
[/opt/atlassian/confluence]


Default location for Confluence data
[/var/atlassian/application-data/confluence]

0 votes
xin qiu September 23, 2019

Hi Nic,

Thanks for your response.

Why do we need to look for "java"?  Bin Installation does not require Java installation, right?   Jave does NOT exist in my virtual machine.

[root@VM_0_16_centos ~]# ps -ef|grep java
root 11973 11835 0 17:03 pts/0 00:00:00 grep --color=auto java
[root@VM_0_16_centos ~]#

Best,

Robert 

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 20, 2019

That probably does mean it is not running.  I usually look for "java" though, in case you have not used "confluence" in the path name.

Go to the <install>/bin directory and try running ./start-confluence.sh - that should start it, or give you an error to work with

0 votes
xin qiu September 20, 2019

[root@VM_0_16_centos qiuxin]# netstat -an |grep 8090
[root@VM_0_16_centos qiuxin]# ps -ef|grep conflu

The confluence is not well run ?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events