Forums

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

Oracle cold backup, JIRA Service does not stop properly

Sue Bridges August 10, 2021

Hi,

JIRA 8.13.3 with Oracle 12c.

I take a cold Oracle backup every weekend fine via batch file run as as Administrator.  I stop the JIRA Service before the Oracle one, but sometimes net stop does not stop it properly.  The message is the helpful "The Atlassian Jira service could not be stopped.".  This means that the JIRA Service does not start properly after the backup, which of course means that JIRA is not available.  Stop and Start service in Windows Services GUI sorts it.

How can I troubleshoot this? 

Don't suppose there is a way of making net stop do it's job reliably?

Many thanks

Sue

2 answers

1 accepted

0 votes
Answer accepted
A_ Deuschlinger September 30, 2021

Hi,

 

I got the same or similar issue after upgraded Jira to version 8.18.2 (using a MS-SQL DB).

 

This is what happens:

2021-09-30 18_34_54-Window.png

But in fact the windows service for Jira is shutting down.

It just takes some time.


[2021-09-30 16:14:22] [info] [ 7952] Stopping service...
[2021-09-30 16:14:47] [info] [ 7952] Service stop thread completed.
[2021-09-30 16:15:47] [info] [ 6940] Run service finished.
[2021-09-30 16:15:47] [info] [ 6940] Apache Commons Daemon procrun finished.
[2021-09-30 16:16:37] [info] [ 1868] Apache Commons Daemon procrun (1.2.4.0 64-bit) started.
[2021-09-30 16:16:37] [info] [ 1868] Running Service 'JIRASoftware12...'...

[2021-09-30 16:16:37] [info] [ 992] Starting service...
[2021-09-30 16:16:38] [info] [ 992] Service started in 1157 milliseconds.


 

Does anyone know any solution?

 

Thank you!

Alex

A_ Deuschlinger September 30, 2021

@Sue Bridges Because I noticed, that the service is shutting down altough the message is telling that it is not I just added a delay in a first step.

 

and in a 2nd step I added a loop to check if the service has stopped before I start it again.

 

The following page was helping a lot: https://serverfault.com/questions/25081/how-do-i-restart-a-windows-service-from-a-script

 

Hope this helps for you too.

Sue Bridges October 4, 2021

I had put a pause in the file, which had previously worked (10 seconds) as I had suspected the same with the Service.  However, I have upped it to 60 which worked this weekend.  Good tip about the sc query (I should have thought of that) so popped that to check stopped and started in for my log file.  If it plays up when I next upgrade I will add a loop in.  I see there is 8.19.n already!

JIRA gets weightier with each release (we don't have many plugins even).

 

Thanks!

Sue

0 votes
Sue Bridges September 23, 2021

Hi folks,

I still have this issue, can anybody help?

Thanks

Sue

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events