JIRA service not starting properly after server reboot

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

JIRA service not starting properly after server reboot

forums-5
We have a problem with our JIRA standard edition server 3.12.3. It was working OK when we first set it up. I believe the problem started about a month or two ago after some Microsoft SQL 2005 patches were applied.

What happens is after a reboot of the server, JIRA doesn't respond to entering the web address on any PC including the server. If I check the running services from administrative tools it says the JIRA service is started. But if I stop the service using the programs menu shortcut and then start it again, JIRA starts responding to web requests.

Its as if the JIRA server software starts in a unusable state because some other service isn't ready when it starts at Windows startup. Can anyone provide me with some suggestions as to what might be the reason and how to fix it?

Thanks
--
Post by tpa_it - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=28270
_______________________________________________
Jira-user mailing list
[hidden email]
To unsubscribe or change your options visit this page:
http://lists.atlassian.com/mailman/listinfo/jira-user
Reply | Threaded
Open this post in threaded view
|

Re: JIRA service not starting properly after server reboot

forums-5
Same problem here. The log reports: +There was a SQL exception checking for database driver correctness. Skipping.+ and in that same line: +Connection refused+. In my case it is most likely that the database service is not available yet. The service startup order in Windows is controlled by service dependencies. But the JIRA service has no dependencies (at least not our 3.12.3), but then I found they can be set manually: http://www.atlassian.com/software/jira/docs/latest/runasservice.html, topic +Specifying the startup order of multiple services+. After doing this, you should be able to seer the dependency rules in the service properties screen, on the dependencies tab.

Hope this is as helpfull for you as it was for me.
--
Post by jwdraijer - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=28270
_______________________________________________
Jira-user mailing list
[hidden email]
To unsubscribe or change your options visit this page:
http://lists.atlassian.com/mailman/listinfo/jira-user
Reply | Threaded
Open this post in threaded view
|

Re: JIRA service not starting properly after server reboot

zeroquaranta
In reply to this post by forums-5
The problem is likely due to the fact that both the db SQL and JIRA are configured as service and they get run in the wrong order.
In my case I have
JIRA 3.13.4 EE running on SLES11 64bit
going under /etc/rc.d/rc5.d I see

   ...
   S01jira
   ...
   S07mysql

I simply solved the problem by modifying the run order of jira in order to run after mysql is launched

   #mv S01jira S20jira

Hope it helps.


forums-5 wrote
We have a problem with our JIRA standard edition server 3.12.3. It was working OK when we first set it up. I believe the problem started about a month or two ago after some Microsoft SQL 2005 patches were applied.

What happens is after a reboot of the server, JIRA doesn't respond to entering the web address on any PC including the server. If I check the running services from administrative tools it says the JIRA service is started. But if I stop the service using the programs menu shortcut and then start it again, JIRA starts responding to web requests.

Its as if the JIRA server software starts in a unusable state because some other service isn't ready when it starts at Windows startup. Can anyone provide me with some suggestions as to what might be the reason and how to fix it?

Thanks
--
Post by tpa_it - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=28270
_______________________________________________
Jira-user mailing list
Jira-user@lists.atlassian.com
To unsubscribe or change your options visit this page:
http://lists.atlassian.com/mailman/listinfo/jira-user