It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

unable to start jira after ubuntu server reboot

previously it was working, when I reboot the server after it was not working

 

root@ubuntu-s-1vcpu-2gb-blr1-01:~# systemctl status jira
● jira.service - Atlassian Jira
Loaded: loaded (/etc/systemd/system/jira.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2019-09-11 13:32:14 IST; 49s ago
Process: 1668 ExecStart=/opt/atlassian/jira/bin/start-jira.sh (code=exited, status=0/SUCCESS)
Main PID: 1712 (code=exited, status=1/FAILURE)

Sep 11 13:32:13 ubuntu-s-1vcpu-2gb-blr1-01 start-jira.sh[1668]: [1B blob data]
Sep 11 13:32:13 ubuntu-s-1vcpu-2gb-blr1-01 start-jira.sh[1668]: Atlassian Jira
Sep 11 13:32:13 ubuntu-s-1vcpu-2gb-blr1-01 start-jira.sh[1668]: Version : 8.3.1
Sep 11 13:32:13 ubuntu-s-1vcpu-2gb-blr1-01 start-jira.sh[1668]: [19B blob data]
Sep 11 13:32:13 ubuntu-s-1vcpu-2gb-blr1-01 start-jira.sh[1668]: If you encounter issues starting or stopping JIRA, please see the Troubleshooting guide at https://docs.atlassian.com/jira/jadm-docs-
Sep 11 13:32:13 ubuntu-s-1vcpu-2gb-blr1-01 start-jira.sh[1668]: Server startup logs are located in /opt/atlassian/jira/logs/catalina.out
Sep 11 13:32:13 ubuntu-s-1vcpu-2gb-blr1-01 start-jira.sh[1668]: Tomcat started.
Sep 11 13:32:13 ubuntu-s-1vcpu-2gb-blr1-01 systemd[1]: Started Atlassian Jira.
Sep 11 13:32:14 ubuntu-s-1vcpu-2gb-blr1-01 systemd[1]: jira.service: Main process exited, code=exited, status=1/FAILURE
Sep 11 13:32:14 ubuntu-s-1vcpu-2gb-blr1-01 systemd[1]: jira.service: Failed with result 'exit-code'.
lines 1-16/16 (END)

1 answer

Vinod,

You can check the complete logs in /opt/atlassian/jira/logs/catalina.out or atlassian-jira.log inside jira home directory. Probably, the logs will tell you the reason for unable to start jira..

 

-Shankar

Hello Shankar,

 

I was unable to trace out the issue, please have a look into the logs and help us,

09-Aug-2019 11:48:38.160 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.5.40
09-Aug-2019 11:48:38.165 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Apr 10 2019 14:31:19 UTC
09-Aug-2019 11:48:38.165 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.5.40.0
09-Aug-2019 11:48:38.166 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux
09-Aug-2019 11:48:38.166 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 4.15.0-52-generic
09-Aug-2019 11:48:38.166 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
09-Aug-2019 11:48:38.167 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: /opt/atlassian/jira/jre
09-Aug-2019 11:48:38.167 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_202-b08
09-Aug-2019 11:48:38.167 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
09-Aug-2019 11:48:38.171 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: /opt/atlassian/jira
09-Aug-2019 11:48:38.172 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: /opt/atlassian/jira
09-Aug-2019 11:48:38.175 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/opt/atlassian/jira/conf/logging.properties
09-Aug-2019 11:48:38.175 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
09-Aug-2019 11:48:38.176 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms384m
09-Aug-2019 11:48:38.176 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx2048m
09-Aug-2019 11:48:38.177 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:InitialCodeCacheSize=32m
09-Aug-2019 11:48:38.177 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:ReservedCodeCacheSize=512m
09-Aug-2019 11:48:38.177 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.awt.headless=true
09-Aug-2019 11:48:38.178 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Datlassian.standalone=JIRA
09-Aug-2019 11:48:38.178 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true
09-Aug-2019 11:48:38.179 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dmail.mime.decodeparameters=true
09-Aug-2019 11:48:38.179 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.dom4j.factory=com.atlassian.core.xml.InterningDocumentFactory
09-Aug-2019 11:48:38.180 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:-OmitStackTraceInFastThrow
09-Aug-2019 11:48:38.180 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.locale.providers=COMPAT
09-Aug-2019 11:48:38.180 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Datlassian.plugins.startup.options=
09-Aug-2019 11:48:38.180 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
09-Aug-2019 11:48:38.181 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
09-Aug-2019 11:48:38.186 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
09-Aug-2019 11:48:38.191 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xloggc:/opt/atlassian/jira/logs/atlassian-jira-gc-%t.log
09-Aug-2019 11:48:38.192 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+UseGCLogFileRotation
09-Aug-2019 11:48:38.193 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:NumberOfGCLogFiles=5
09-Aug-2019 11:48:38.196 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:GCLogFileSize=20M
09-Aug-2019 11:48:38.196 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+PrintGCDetails
09-Aug-2019 11:48:38.196 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+PrintGCDateStamps
09-Aug-2019 11:48:38.197 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+PrintGCTimeStamps
09-Aug-2019 11:48:38.198 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+PrintGCCause
09-Aug-2019 11:48:38.198 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
09-Aug-2019 11:48:38.199 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/opt/atlassian/jira
09-Aug-2019 11:48:38.199 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/opt/atlassian/jira
09-Aug-2019 11:48:38.201 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/opt/atlassian/jira/temp
09-Aug-2019 11:48:38.201 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environm$
09-Aug-2019 11:48:38.412 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
09-Aug-2019 11:48:38.461 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1490 ms
09-Aug-2019 11:48:38.493 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
09-Aug-2019 11:48:38.493 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.40
09-Aug-2019 11:48:38.537 SEVERE [Catalina-startStop-1] org.apache.catalina.startup.HostConfig.beforeStart Unable to create directory for deployment: [/opt/atlassian/jira/conf/Catalina/localhost]
2019-08-09 11:48:48,269 localhost-startStop-1 INFO [c.a.jira.startup.JiraHomeStartupCheck] The jira.home directory '/var/atlassian/application-data/jira' is validated and locked for exclusive$

09-Aug-2019 11:48:38.160 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.5.40
09-Aug-2019 11:48:38.165 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Apr 10 2019 14:31:19 UTC
09-Aug-2019 11:48:38.165 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.5.40.0
09-Aug-2019 11:48:38.166 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux
09-Aug-2019 11:48:38.166 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 4.15.0-52-generic
09-Aug-2019 11:48:38.166 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
09-Aug-2019 11:48:38.167 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: /opt/atlassian/jira/jre
09-Aug-2019 11:48:38.167 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_202-b08
09-Aug-2019 11:48:38.167 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
09-Aug-2019 11:48:38.171 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: /opt/atlassian/jira
09-Aug-2019 11:48:38.172 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: /opt/atlassian/jira
09-Aug-2019 11:48:38.175 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/opt/atlassian/jira/conf/logging.properties
09-Aug-2019 11:48:38.175 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
09-Aug-2019 11:48:38.176 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms384m
09-Aug-2019 11:48:38.176 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx2048m
09-Aug-2019 11:48:38.177 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:InitialCodeCacheSize=32m
09-Aug-2019 11:48:38.177 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:ReservedCodeCacheSize=512m
09-Aug-2019 11:48:38.177 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.awt.headless=true
09-Aug-2019 11:48:38.178 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Datlassian.standalone=JIRA
09-Aug-2019 11:48:38.178 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true
09-Aug-2019 11:48:38.179 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dmail.mime.decodeparameters=true
09-Aug-2019 11:48:38.179 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.dom4j.factory=com.atlassian.core.xml.InterningDocumentFactory
09-Aug-2019 11:48:38.180 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:-OmitStackTraceInFastThrow
09-Aug-2019 11:48:38.180 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.locale.providers=COMPAT
09-Aug-2019 11:48:38.180 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Datlassian.plugins.startup.options=
09-Aug-2019 11:48:38.180 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
09-Aug-2019 11:48:38.181 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
09-Aug-2019 11:48:38.186 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
09-Aug-2019 11:48:38.191 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xloggc:/opt/atlassian/jira/logs/atlassian-jira-gc-%t.log
09-Aug-2019 11:48:38.192 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+UseGCLogFileRotation
09-Aug-2019 11:48:38.193 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:NumberOfGCLogFiles=5
09-Aug-2019 11:48:38.196 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:GCLogFileSize=20M
09-Aug-2019 11:48:38.196 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+PrintGCDetails
09-Aug-2019 11:48:38.196 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+PrintGCDateStamps
09-Aug-2019 11:48:38.197 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+PrintGCTimeStamps
09-Aug-2019 11:48:38.198 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+PrintGCCause
09-Aug-2019 11:48:38.198 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
09-Aug-2019 11:48:38.199 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/opt/atlassian/jira
09-Aug-2019 11:48:38.199 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/opt/atlassian/jira
09-Aug-2019 11:48:38.201 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/opt/atlassian/jira/temp
09-Aug-2019 11:48:38.201 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environm$
09-Aug-2019 11:48:38.412 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
09-Aug-2019 11:48:38.461 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1490 ms
09-Aug-2019 11:48:38.493 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
09-Aug-2019 11:48:38.493 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.40
09-Aug-2019 11:48:38.537 SEVERE [Catalina-startStop-1] org.apache.catalina.startup.HostConfig.beforeStart Unable to create directory for deployment: [/opt/atlassian/jira/conf/Catalina/localhost]
2019-08-09 11:48:48,269 localhost-startStop-1 INFO [c.a.jira.startup.JiraHomeStartupCheck] The jira.home directory '/var/atlassian/application-data/jira' is validated and locked for exclusive$

 

Do you have the full logs? The logs appears to be okay except for one below,

 SEVERE [Catalina-startStop-1] org.apache.catalina.startup.HostConfig.beforeStart Unable to create directory for deployment: [/opt/atlassian/jira/conf/Catalina/localhost]

 

You can find this KB article on how to fix it,

https://confluence.atlassian.com/jirakb/jira-throws-severe-message-during-startup-due-to-unable-to-create-directory-for-deployment-389781040.html

followed the document, still same issue, no luck

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

342 views 1 3
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you