Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Confluence server does not seem to start after installation on Ubuntu

Sing Kwan Ng May 19, 2018

Hi,

Been trying to get confluence server working on an Ubuntu VM (17.10) running on Google cloud compute. I followed the instructions here: https://confluence.atlassian.com/doc/installing-confluence-on-linux-143556824.html and installation showed no errors. However, I tried to connect (through SSH on my local) to http://localhost:8090 but there was a connection error. Tried checking netstat, and it seems its not running if not it should show up for port 8090?

 

image.png

Not to sure what to do now. I did another check as described by running this command  = ps -ef | grep confluence and it does not seem to be running. Also tried restarting it again by running sudo /etc/init.d/confluence start and again no errors but still confluence doesn't seem to be live.

image.png

Any help will be greatly appreciated! Been struggling to get this up and running....

SK

1 answer

0 votes
Daniel Eads {unmonitored account}
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.
May 20, 2018

Thanks for including screenshots! Very useful for seeing what's going on.

Can you take a look at the application log file? It's getting so far as starting so at least the init script is pointing at the right place. The application log will hold more information about why it's not staying up.

According to your screenshot, this should be at /opt/atlassian/confluence/logs/catalina.out - this will just grab the last few lines of the file:

sudo tail -n 15 /opt/atlassian/confluence/logs/catalina.out
Sing Kwan Ng May 20, 2018

Thanks btw for helping out! Here is the results:

# 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_pid28240.log
Java HotSpot(TM) 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_pid28337.log
Java HotSpot(TM) 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_pid28473.log

I would assume it means not enough memory for JRE? 

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.
May 20, 2018

You're right, the message "There is insufficient memory " means exactly what it says.

Reduce the memory limit to something that fits inside the physical memory you have on the machine, remembering to leave space for the operating system as well

Like Max Nagel likes this
Sing Kwan Ng May 20, 2018

It works thanks guys! Getting another error now but I think I'll create another question for it. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events