Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,297,154
Community Members
 
Community Events
165
Community Groups

Atlassian Windows service not Starting Automatically

Hi Team,

Atlassian Windows service does not Start Automatically after the Server reboot.  Start-up is set as Automatic and Log ON is tested with both the local system account and domain account. 

Any other settings need to be enable to start the service automatically after the Server reboot?>

3 answers

  • Does the user running the service have the permissions that they need to start the service? --> Yes the account has ADMIN permissions
  • Are you using the correct version of Java?  Is the service pointed to the correct version? -->Yes we are using Java Development Kit 11
  • Are you running as a 32-bit application? - we are in 64 bitWS1.PNGWS.PNG
0 votes
Andy Heinzer Atlassian Team Jun 14, 2022

Might want to review my post over in https://community.atlassian.com/t5/Jira-Software-questions/Re-Re-Jira-Service-software-not-restarting-automatica/qaq-p/1626244/comment-id/125993#M125993 Granted that was for Jira Server, but I think it's a common enough situation to find yourself in.

TL:DR

If you are operating the database server on the same machine as an application like Confluence or Jira, then you need to make sure that the database is started and running BEFORE the other application such as Confluence or Jira is starting.  In windows this can be done by setting the SQL service to start automatically, and then choosing a delayed automatic start for any SQL dependent application.

0 votes
Brant Schroeder Community Leader Jun 14, 2022

@syalamarthi It could be a number of items causing the issue.  Here are a few things to check:

  • Does the user running the service have the permissions that they need to start the service?
  • Are you using the correct version of Java?  Is the service pointed to the correct version?
  • Are you running as a 32-bit application?

I would review the install docs and make sure your instance is set up correctly and then view their troubleshooting area at the bottom: https://confluence.atlassian.com/adminjiraserver/running-jira-applications-as-a-windows-service-938847902.html

Brant Schroeder Community Leader Jun 15, 2022

@syalamarthi as @Andy Heinzer mentioned you need to make sure that the DB is running before your service starts.  Can you start the service manually?

Our DB is in a different DB server, so no dependency on this Application Server restart.

Brant Schroeder Community Leader Jun 16, 2022

Are you able to start the service manually?  What are you seeing in the windows logs?  Are there any errors around the service?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
Community showcase
Published in Confluence

Confluence: Where work and wellness meet

Feeling overwhelmed by the demands of work and life? With a 25% increase in the prevalence of anxiety and depression worldwide during the pandemic, for most of us, it’s a resounding yes . 🙋‍♀️ ...

1,096 views 21 29
Read article

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