Forums

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

HTTP 404 error found

DST team July 26, 2018

I have installed JIRA Software 7.11.1 in Ubuntu 16.04, AWS instance successfully. 

Able to ping and telnet the ec2-x-x-x-x.ap-south-1.compute.amazonaws.com from my local machine but unable to access the web page of it.

I have double checked the server.xml file and everything has provided as it is require.

I request you to help me to fix this issue. Thanks in advance.

6 answers

0 votes
DST team July 30, 2018

Hi Alexis,

I have added the parameter "address=ipaddress" in server.xml under stock connector as it help me to fix the issue.

Thanks for your support.

 

Regards,

Panneer S

0 votes
DST team July 30, 2018

Hi Alexis,

Sure, I will update you once it is done

 

Regards,

Panneer S

0 votes
DST team July 30, 2018

Hi Alexis,

 

PFA, the link for the atlassian-jira.log in below

https://s3.ap-south-1.amazonaws.com/jiraserverlogs/atlassian-jira.log

 

Regards,

Panneer S

Alexis Robert
Community Champion
July 30, 2018

Hi, 

 

I can actually see an error in the logs, though very generic (null pointer exception).

Could you try starting Jira, on another server maybe, with the standard server.xml file ? It would help narrowing down the error cause.

 

Alexis

0 votes
DST team July 28, 2018

Hi Alexis,

 

Sorry for the late reply. Please find attached the s3 link for Atlassian logs in below

 

https://s3.ap-south-1.amazonaws.com/jiraserverlogs/Atlassian+Logs.rar

Alexis Robert
Community Champion
July 30, 2018

Hi, 

 

these are garbage collection logs and not very useful for your issue. I'm looking for the application logs that should be named "atlassian-jira.log", if you can find those (they should be in the JIRA_HOME/log/ directory) and attach team it'd be great.

 

Alexis

0 votes
DST team July 26, 2018

Greeting Alexis, 

Thanks for your reply.

A small update - I have changed the custom port for controller i.e. 8081.

Yes, I have enabled the port number in Security Group, AWS still I was facing the same issue.

Alexis Robert
Community Champion
July 26, 2018

Can you check a few things:

 

  • on your AWS server, that the JIRA process is running: "ps -ef | grep java"
  • from your computer, that you can reach the AWS server on port 8081: "telnet ec2-x-x-x-x.ap-south-1.compute.amazonaws.com 8081"
  • can you check the JIRA logs for any errors, they will be located in the <JIRA_HOME>/log

 

Thanks, 

 

Alexis

DST team July 26, 2018

Hi Alexis,

 

I hereby attached the result of each steps:

1. 

root@JIRAServer:/home/ubuntu# ps -ef | grep java

jenkins   1549     1  0 Jul26 ?        00:00:00 /usr/bin/daemon --name=jenkins -                                                                                        -inherit --env=JENKINS_HOME=/var/lib/jenkins --output=/var/log/jenkins/jenkins.l                                                                                        og --pidfile=/var/run/jenkins/jenkins.pid -- /usr/bin/java -Djava.awt.headless=t                                                                                        rue -jar /usr/share/jenkins/jenkins.war --webroot=/var/cache/jenkins/war --httpP                                                                                        ort=8080

jenkins   1553  1549  0 Jul26 ?        00:01:27 /usr/bin/java -Djava.awt.headles                                                                                        s=true -jar /usr/share/jenkins/jenkins.war --webroot=/var/cache/jenkins/war --ht                                                                                        tpPort=8080

jira      1569     1  0 Jul26 ?        00:01:32 /opt/atlassian/jira/jre//bin/jav                                                                                        a -Djava.util.logging.config.file=/opt/atlassian/jira/conf/logging.properties -                                                                                         java.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Xms384m -Xmx768                                                                                        m -Djava.awt.headless=true -Datlassian.standalone=JIRA -Dorg.apache.jasper.runti                                                                                        me.BodyContentImpl.LIMIT_BUFFER=true -Dmail.mime.decodeparameters=true -Dorg.dom                                                                                        4j.factory=com.atlassian.core.xml.InterningDocumentFactory -XX:-OmitStackTraceIn                                                                                        FastThrow -Datlassian.plugins.startup.options= -Djdk.tls.ephemeralDHKeySize=2048                                                                                         -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Xloggc:/opt/atla                                                                                        ssian/jira/logs/atlassian-jira-gc-%t.log -XX:+UseGCLogFileRotation -XX:NumberOfG                                                                                        CLogFiles=5 -XX:GCLogFileSize=20M -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX                                                                                        :+PrintGCTimeStamps -XX:+PrintGCCause -Dignore.endorsed.dirs= -classpath /opt/at                                                                                        lassian/jira/bin/bootstrap.jar:/opt/atlassian/jira/bin/tomcat-juli.jar -Dcatalin                                                                                        a.base=/opt/atlassian/jira -Dcatalina.home=/opt/atlassian/jira -Djava.io.tmpdir=                                                                                        /opt/atlassian/jira/temp org.apache.catalina.startup.Bootstrap start

root      7740  7728  0 03:46 pts/2    00:00:00 grep --color=auto java

 

 

2. Please find attached the link for telnet output screenshot in below 
https://s3.ap-south-1.amazonaws.com/jiraserverlogs/Telnet+result+of+Jira+Server.JPG

 

3. Pls confirm, which *.log file do you require accordingly will provide the link

Alexis Robert
Community Champion
July 26, 2018

Hi @DST team

 

can you attach the log file atlassian-jira.log located in your JIRA_HOME directory ?

 

Thanks, 

 

Alexis

0 votes
Alexis Robert
Community Champion
July 26, 2018

Hello @DST team

 

since you're using AWS, can you make sure that your security scheme allows for port 8080 (used by Jira) to be accessed from outside ?

 

You should then be able to access Jira using a URL like this: ec2-x-x-x-x.ap-south-1.compute.amazonaws.com:8080

 

Let me know if this helps, 

 

--Alexis

Suggest an answer

Log in or Sign up to answer