Forums

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

Unable to access JIRA application

Kartheek Vennapaneni August 15, 2019

I have installed jira.core on linux server as service but after finishing installation i'm unable to access it via url . There are no errors in logs files as well 

 

Can anyone help me .

 

Thanks

Karthik

2 answers

0 votes
Joaquin Fernández Morales
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.
August 16, 2019

Hi,  

   1) Check if your jira service is running:

          ps -ef | grep jira

      1.1) If isn't so you have starting problem, must to review altassian-jira.log because it could have very diverse problems,  apps problems,  database connections .. etc ..

     1.2) if service is running and you continue having problems with your access , maybe port 8080 is not free 

Kartheek Vennapaneni August 16, 2019

HI Fernandez,

 

I have executed 

ps -ef| grep jira command . got below output 

i guess it is running .

 

root 11110 11079 0 10:26 pts/1 00:00:00 grep --color=auto jira

 

2) Port 8080 is opened and it is in listening mode.

0 votes
DPKJ
Community Champion
August 15, 2019

Have you check if port 8080 is open and accessible?

You can run command like, this to test.

nc -z jira_host_ip 8080
Kartheek Vennapaneni August 16, 2019

I have checked port is opened .

DPKJ
Community Champion
August 16, 2019

Have you check if Jira is only running on that port? Other services have tendency to use port 8080 to use.

Have you check for status of service?

And as suggested by @Joaquin Fernández Morales  check if Jira process is running?

# ps -eaf | grep java 
Kartheek Vennapaneni August 16, 2019

Hi DPK,

 

How to check 8080 port status . I mean how many applications are using 8080

 I have tried your command 

# ps -eaf | grep java

 got below output

 

root 11148 11079 0 10:43 pts/1 00:00:00 grep --color=auto java

DPKJ
Community Champion
August 16, 2019

Output tells you that Jira is not running.

DPKJ
Community Champion
August 16, 2019

Check your log files.

Also try to start service again and see log

# /etc/init.d/jira start
Karthik Vennapaneni August 16, 2019

Hi DPK,

 

As per you suggestion i have restarted the service and after executing 

ps -ef| grep jira.

 

[root@jprconfappuat bin]# ps -ef|grep jira
jira 11333 1 33 11:33 ? 00:00:23 /opt/atlassian/jira/jre//bin/java -Djava.util.logging.config.file=/opt/atlassian/jira/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Xms384m -Xmx2048m -XX:InitialCodeCacheSize=32m -XX:ReservedCodeCacheSize=512m -Djava.awt.headless=true -Datlassian.standalone=JIRA -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dmail.mime.decodeparameters=true -Dorg.dom4j.factory=com.atlassian.core.xml.InterningDocumentFactory -XX:-OmitStackTraceInFastThrow -Djava.locale.providers=COMPAT -Datlassian.plugins.startup.options= -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 -Xloggc:/opt/atlassian/jira/logs/atlassian-jira-gc-%t.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=20M -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+PrintGCCause -Dignore.endorsed.dirs= -classpath /opt/atlassian/jira/bin/bootstrap.jar:/opt/atlassian/jira/bin/tomcat-juli.jar -Dcatalina.base=/opt/atlassian/jira -Dcatalina.home=/opt/atlassian/jira -Djava.io.tmpdir=/opt/atlassian/jira/temp org.apache.catalina.startup.Bootstrap start
root 11430 11079 0 11:35 pts/1 00:00:00 grep --color=auto jira

I have checked logs one warning is there .

16-Aug-2019 07:48:41.731 SEVERE [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [ROOT] created a ThreadLocal with key of type [webwork.action.ActionContext$1] (value [webwork.action.ActionContext$1@19c36847]) and a value of type [webwork.action.ActionContext] (value [webwork.action.ActionContext@52da582a]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak. 16-Aug-2019 07:48:41.740 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8080"]

DPKJ
Community Champion
August 16, 2019

Now your service is running, check logs now and also try to access it.

Karthik Vennapaneni August 16, 2019

Tried accessing it but it is not coming 

. I have one query which log file should i check to know about the application status?

can you give me the path and file name?

DPKJ
Community Champion
August 16, 2019

Check inside this directory,

/var/atlassian/application-data/jira/log

This is <JIRA_HOME>/log

Karthik Vennapaneni August 16, 2019

There are two files inside log folder .

atllassian-jira - there is basic information available

This is output from atllasian-jira-security.log file

 

2019-08-01 07:46:57,988 http-nio-8080-exec-2 anonymous 466x2x1 - 10.78.25.60 /secure/SetupMode!default.jspa HttpSession created [10423t6]
2019-08-01 08:35:53,701 http-nio-8080-exec-4 anonymous 515x4x1 - 10.78.25.60 /secure/SetupMode!default.jspa HttpSession created [1qz6h5r]
2019-08-01 12:47:39,822 ContainerBackgroundProcessor[StandardEngine[Catalina]] HttpSession [10423t6] destroyed for 'anonymous'
2019-08-01 13:36:40,276 ContainerBackgroundProcessor[StandardEngine[Catalina]] HttpSession [1qz6h5r] destroyed for 'anonymous'

DPKJ
Community Champion
August 16, 2019
  • Check logs folder inside your jira installasion directory, specially 'catalina.out' file.
  • Check your server.xml file conf directory, that you are not running Jira on any context path.
  • Try to access http://localhost:8080 from your server using something like wget or lynx/w3m (terminal based browsers).
Karthik Vennapaneni August 16, 2019

Hi DPK,

 

I'm getting one warning in 'catalina.out' file

01-Aug-2019 07:27:33.781 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/home/op_tig/application/atlassian-jira-core-8.3.0-x64.bin.214935.dir/user::/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib]

This is output of wget 

 

wget http://localhost:8080
--2019-08-16 12:19:56-- http://localhost:8080/
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:8080... connected.
HTTP request sent, awaiting response... 302
Location: /secure/SetupMode!default.jspa [following]
--2019-08-16 12:19:56-- http://localhost:8080/secure/SetupMode!default.jspa
Reusing existing connection to [localhost]:8080.
HTTP request sent, awaiting response... 200
Length: unspecified [text/html]
Saving to: ‘index.html’

[ <=> ] 72,328 --.-K/s in 0.05s

2019-08-16 12:19:58 (1.34 MB/s) - ‘index.html’ saved [72328]

Karthik Vennapaneni August 16, 2019

Hello DPK,

 

I have checked same problem report by other user as well, but there is no solution in that blog

 

Please look at this post.

https://community.atlassian.com/t5/Jira-questions/jira-not-working-on-fresh-install/qaq-p/325080

 

Thanks

DPKJ
Community Champion
August 16, 2019

As per `wget` output your Jira service is working fine and is accessible through `localhost`.

If you have GUI access to server, you can install using localhost:8080 as url.

If you don't have such access try to access Jira on '<Jira-Host-Public-IP>:8080', also try to ping '<Jira-host-public-ip>', and if ping works but Jira url is not accessible via browser, your port in not open. Open 8080 on server, and try again.

There seems to be no problem with Jira installation here.

Karthik Vennapaneni August 16, 2019

I have checked ping command is working fine and telnet command as well

My server ip : 10.78.25.60 

telnet 10.78.25.60 8080
Trying 10.78.25.60...
Connected to 10.78.25.60.
Escape character is '^]'.

I wondering why this application is not opening from my browser

DPKJ
Community Champion
August 16, 2019

Try this,

$ nc -zv 10.78.25.60 8080

If above works, and only your browser is not able to access, check that you are not using any proxy in browser.

Karthik Vennapaneni August 16, 2019

okay DPK,

 

First i will check with my internal team . I guess it is port issue from my browser to server 

 

Thanks alot for your time and support 

Suggest an answer

Log in or Sign up to answer