Failed to start JIRA windows service

Ray Lee September 3, 2019

Hi Support,

I follow https://confluence.atlassian.com/adminjiraserver/running-jira-applications-as-a-windows-service-938847902.html steps to install JIRA in service mode under windows 2008 R2. I see there is a service Atlassian JIRA 8.3.1 installed

 

But when I start it, it cannot be started, from event log, it states

The Atlassian JIRA service terminated with service-specific error Incorrect function..

Event ID : 7024

Is there any log to show what it is happening ? 

Thanks,

 

image.pngimage.png

2 answers

0 votes
Ray Lee September 3, 2019

Hi Krister,

I tried to use "start-jira.bat" or "start-jira.bat /fg" and tomcat starts up, 

when i access console with "http://localhost:8080", it pops up a error page and states

Setup: We can't locate your JIRA home directory

Which folder I should point this JIRA home to ? Any existing folder is ok ? 

Thanks,

Ray

Krister Broman _Advania_
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.
September 3, 2019
Krister Broman _Advania_
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.
September 3, 2019

And no the jira home folder is a very specific one that was created when you installed the software. 

As stated before the most common one on a windows machine is C:\Program Files\Atlassian\Application Data\JIRA which is the default, but you may have changed this. 

Ray Lee September 3, 2019


Yes, I see that if I install JIRA with .exe installation, it will ask for the JIRA home folder path during installation steps. But I start the JIRA with ZIP manually mode, so I think I need to specify it myself

But would you advise why I cannot locate any error "jira home" in the log files ?

(either with windows service mode or manual start mode)

Any way to turn on details debug mode so that it can log more details in case system fails to start up?

Thanks

Ray

Krister Broman _Advania_
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.
September 4, 2019

You will get more than enough details in the log as is for this specific type of issue. Check the correct log which should be somewhere here: 

[Directory from zip] \Application Data\JIRA\log\atlassian-jira.log

To change your home folder, try the Jira application configuration tool first

https://confluence.atlassian.com/adminjiraserver/using-the-jira-application-configuration-tool-938847894.html

0 votes
Krister Broman _Advania_
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.
September 3, 2019

The most common issue with that error is that it cannot start java due to an update or something similar. I would start by checking the JAVA_HOME variable. 

Alternatvely try to start Jira manually with the batch file, that should also display the information a bit better for you. 

You can find the jira log files in JIRA home directory (on windows usually "C:\Program Files\Atlassian\Application Data\JIRA") /Logs/

For a good list on important directories and files : https://confluence.atlassian.com/adminjiraserver073/important-directories-and-files-861253886.html

Suggest an answer

Log in or Sign up to answer