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
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:
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
@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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi folks,
I still have this issue, can anybody help?
Thanks
Sue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.