Jump to content
mstdmstdd

How to install Jira on my Ubuntu 18 server under Digital Ocean ?

Recommended Posts

Hello
I want to install Jira on my Ubuntu 18 server under Digital Ocean. 
I googled and found this article:
https://www.digitalocean.com/community/questions/using-and-installing-jira

I tried to install by step by step and was successfull:

Launching JIRA ...
Installation of JIRA 6.2.4 is complete
Your installation of JIRA 6.2.4 is now ready and can be accessed via your
browser.
JIRA 6.2.4 can be accessed at http://localhost:8080
Finishing installation ...
root@nsn-do-lamp:/var/www/html# /opt/atlassian/jira/bin/start-jira.sh

To run JIRA in the foreground, start the server with start-jira.sh -fg
executing using dedicated user: jira
                .....
        ...https://www.digitalocean.com/community/questions/using-and-installing-jira
      Atlassian JIRA
      Version : 6.2.4
                  
Detecting JVM PermGen support...
PermGen switch is supported. Setting to 384m

If you encounter issues starting or stopping JIRA, please see the Troubleshooting guide at http://confluence.atlassian.com/display/JIRA/Installation+Troubleshooting+Guide


Server startup logs are located in /opt/atlassian/jira/logs/catalina.out
Using CATALINA_BASE:   /opt/atlassian/jira
Using CATALINA_HOME:   /opt/atlassian/jira
Using CATALINA_TMPDIR: /opt/atlassian/jira/temp
Using JRE_HOME:        /opt/atlassian/jira/jre/
Using CLASSPATH:       /opt/atlassian/jira/bin/bootstrap.jar:/opt/atlassian/jira/bin/tomcat-juli.jar
Using CATALINA_PID:    /opt/atlassian/jira/work/catalina.pid
Existing PID file found during start.
Removing/clearing stale PID file.
root@nsn-do-lamp:/var/www/html#  start-jira.sh -fg
start-jira.sh: command not found
root@nsn-do-lamp:/var/www/html# /opt/atlassian/jira/bin/start-jira.sh -fg
executing using dedicated user: jira
        ...                .....
      Version : 6.2.4
                  
Detecting JVM PermGen support...
PermGen switch is supported. Setting to 384m

If you encounter issues starting or stopping JIRA, please see the Troubleshooting guide at http://confluence.atlassian.com/display/JIRA/Installation+Troubleshooting+Guide


Server startup logs are located in /opt/atlassian/jira/logs/catalina.out
Using CATALINA_BASE:   /opt/atlassian/jira
Using CATALINA_HOME:   /opt/atlassian/jira
Using CATALINA_TMPDIR: /opt/atlassian/jira/temp
Using JRE_HOME:        /opt/atlassian/jira/jre/
Using CLASSPATH:       /opt/atlassian/jira/bin/bootstrap.jar:/opt/atlassian/jira/bin/tomcat-juli.jar
Using CATALINA_PID:    /opt/atlassian/jira/work/catalina.pid
Oct 31, 2018 4:03:21 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Oct 31, 2018 4:03:22 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Oct 31, 2018 4:03:22 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1677 ms
Oct 31, 2018 4:03:22 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Oct 31, 2018 4:03:22 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.47
Killed

My droplet ip is 138.68.107.4, so In browser I run 

http://138.68.107.4:8080/


is it correct?
But in browser I got message :

This site can’t be reached 138.68.107.4 refused to connect.
Try:

Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED

Can you advice some help here? Any logs ?
On my Digital Ocean I have apache installed, but I did not install any Java apps.

Can it be that mentioned 8080 port in used by some other soft(like apache 2) or by some other Digital Ocean soft?

The mentioned article was rather old, can you advice which version have I to use or some tutorial ?

Thanks!

Share this post


Link to post
Share on other sites

Did you see that "Killed" earlier? Does it sound suspicious? Any idea what happened to cause it?

What does the -fg option to start-jira.sh do? Should you be using it?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.