The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

JIRA startup failed, JIRA has been locked.

Ken Stewart
January 29, 2014

After our tech created a new first service desk to view as a customer (ANON). Jira crashed and will not start. I checked for a lock file with no success. I am unable to get Jira to start and the service stops.

I have tried restarting Jira, the jira service, stop and start from prog directory, shutdown and startup bundled jre (Error below extracted from doss box), Restarted the server.

I do not know how to do a clean restart or anything for JIRA. Jira has been running for over a year on windows server 2008 r2. I have recently added Agile and service desk. This is why he was creating a new test service desk.

This error is in the jre startup

******************************************

JIRA startup failed, JIRA has been locked.

******************************************

Jan 30, 2014 12:12:57 PM org.apache.catalina.valves.AccessLogValve open

SEVERE: Failed to open access log file [C:\Program Files\Atlassian\JIRA\logs\acc

ess_log.2014-01-30]

java.io.FileNotFoundException: C:\Program Files\Atlassian\JIRA\logs\access_log.2

014-01-30 (Access is denied)

3 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Ken Stewart
February 4, 2014

It looks like it was the memory issue after all. I opened up the permisions on the Jira directories, searched for lock files, I always have show hidden and system files on my servers.

I increased the Maximum memory limit for the JRE which did not fix it, i restarted the server no change, increased the Minimum memory alocation and got furthur. I now had the lock issue, I shut down the service and removed the lock file then restarted using the jre start batch file.

All working now...sorry I do not know what exactly fixed it or the minimum combination.

I hope that this helps someone else.

0 votes
Sorin Sbarnea (Citrix)
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 Champions.
September 14, 2014

Another cause could be file owneship on jira directiories to a chown -R /var/atlassian/application-data/jira jira:jira and same for /opt/atlassian/jira

0 votes
Jobin Kuruvilla [Adaptavist]
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 Champions.
January 30, 2014

The lock fine will be in JIRA Home folder and it is a hidden file. Delete it before restarting JIRA.

Btw, you have to fix the core problem or else the startup will fail again. Looks like there are some permission issues? Does your JIRA user has all the permissions needed in JIRA installation and home directories?

Ken Stewart
January 30, 2014

Thank you,

I am unable to find any lock files and have enabled view all hidden and system files, I have searched all of the jira directories for any ocurrance of lock.

I do not know how to resolve the core issue as I am unable to run jira (and new).

The JIRA user has admin access on the server directories as well as in jira