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?
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.
Any help will be greatly appreciated! Been struggling to get this up and running....
SK
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
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It works thanks guys! Getting another error now but I think I'll create another question for it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.