JIRA startup failed

Hemant Kalra November 5, 2018

Dear Team,

 

We are facing issue at JIRA startup. 

 

JIRA.jpg

Does anybody faced this issue and help us to resolve it.

3 answers

1 accepted

1 vote
Answer accepted
Steven F Behnke
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.
November 6, 2018

It 'appears' to be stopping at the following lines:

2018-11-06 11:36:23,829 JIRA-Bootstrap WARN [c.a.jira.health.HealthChecks] Your memory allocation pool settings need attention
2018-11-06 11:36:23,829 JIRA-Bootstrap WARN [c.a.jira.health.HealthChecks] JIRA runs in a Java virtual machine (JVM), and this JVM is allocated an amount of memory to enable JIRA to run. These amounts can be manually configured.
- The initial memory allocation pool (-Xms) is recommended to be at least 384m.

So -- It's possible this is an error that is either blocking you or slowing down startup. To be clear: The initial memory allocation pool (-Xms) is recommended to be at least 384m.

It's clear from the printed JVM arguments that you have set the settings to 256m.

image.png

The defaults for Jira are a minimum of 384m. Please restore the default settings, at least, and adding more if you have numerous or large plugins installed. The default settings:

JVM_MINIMUM_MEMORY="384m"
JVM_MAXIMUM_MEMORY="768m"
Hemant Kalra November 6, 2018

Hi Steven,

 

I have increased that to 768 as min and 1536 as maximum but it is not working.

Steven F Behnke
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.
November 6, 2018

Okay, that's too bad but that was just a guess. Next, can you tell us how how the database is configured?

The following lines would print next if all was well -- 

2018-11-06 01:20:59,822 JIRA-Bootstrap INFO [c.a.j.config.database.SystemDatabaseConfigurationLoader] Reading database configuration from /var/atlassian/application-data/jira/dbconfig.xml
2018-11-06 01:21:00,144 JIRA-Bootstrap INFO [c.a.jira.startup.JiraStartupLogger] Running JIRA startup checks.
2018-11-06 01:21:00,144 JIRA-Bootstrap INFO [c.a.jira.startup.JiraStartupLogger] JIRA pre-database startup checks completed successfully.
2018-11-06 01:21:00,393 JIRA-Bootstrap INFO [o.o.c.entity.jdbc.DatabaseUtil] Database Product Name is Microsoft SQL Server

However, your logs seem to terminate after Running JIRA startup checks

It would also be nice to see where the logs terminate now, if you could post an updated logs.

Hemant Kalra November 6, 2018

HI Steven, It worked.  This was DB issue.

 

Thanks.

Like Tom Lister likes this
Steven F Behnke
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.
November 6, 2018

Excellent, that's wonderful news. Good luck and I hope all is well.

Venkata Sure April 4, 2021

hi @Steven F Behnke am also facing same error

Find the below log am getting below error while loading the JIRA

please find the Catiline log details as below kindly suggest

 

04-Apr-2021 13:11:34.939 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
04-Apr-2021 13:11:34.954 SEVERE [main] org.apache.catalina.core.StandardService.startInternal Failed to start connector [Connector[HTTP/1.1-8080]]
org.apache.catalina.LifecycleException: Failed to start component [Connector[HTTP/1.1-8080]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:440)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:793)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.startup.Catalina.start(Catalina.java:681)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:353)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:493)
Caused by: org.apache.catalina.LifecycleException: Protocol handler start failed
at org.apache.catalina.connector.Connector.startInternal(Connector.java:1020)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 11 more
Caused by: java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:433)
at sun.nio.ch.Net.bind(Net.java:425)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:210)
at org.apache.tomcat.util.net.AbstractEndpoint.start(AbstractEndpoint.java:1150)
at org.apache.coyote.AbstractProtocol.start(AbstractProtocol.java:591)
at org.apache.catalina.connector.Connector.startInternal(Connector.java:1018)
... 12 more

04-Apr-2021 13:11:34.954 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 13033 ms

0 votes
Steven F Behnke
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.
November 5, 2018

Please post the logs via a tool like https://pastebin.com/ and provide a link here so that we may assist. If you cannot provide the logs or return answers like 'did not find anything in logs' we cannot help you here.

Redact any sensitive information

Hemant Kalra November 5, 2018

Hello Steven,

 

PFA.

 

https://pastebin.com/BD1UAJb7

Tom Lister
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 6, 2018

Hi

your logs show a number of starts. Is that happening itself or are you restarting the service to try again?

Hemant Kalra November 6, 2018

Hi Tom,

 

I am restarting the same.

Tom Lister
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 6, 2018

Are those the complete logs? It’s unusual for there to be no errors or further info in the logs.

Hemant Kalra November 6, 2018

Yes, They are complete logs. I don't have any other logs.

 

~Hemant

0 votes
Alexey Matveev
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.
November 5, 2018

Hello,

What is the issue? It means that Jira is loading. If it keeps loading forever, then you should check logs (atlassian-jira.log).

Hemant Kalra November 5, 2018

 did not find anything in logs

Hemant Kalra November 5, 2018

Yes.... JIRA is loading forever..

Suggest an answer

Log in or Sign up to answer