[Solved] JIRA startup error: JIRA startup failed, JIRA has been locked.

As the machine moved, IP was replaced. When you encounter some problems during restarting JIRA, record the key points and solutions.

Key points:
check the database configuration
/var/atlas/application data/JIRA/dbconfig. XML
since LDAP authentication is used, you also need to check the user group authentication configuration
find CWD in the database_ directory_ Attribute table, check the configuration with the attribute name ldap.url
Problems and solutions:
JIRA startup failed, JIRA has been locked.
******************************************

JIRA startup failed
unable to create and acquire lock file for jira.home directory ‘/ var/atlas/application data/JIRA… I don’t remember later
solution: delete the. Jira-home.lock (hidden file) under the corresponding directory prompted, enter the bin directory and restart the JIRA service

>>>>>
then an error is reported:
JIRA startup failed
unable to clean the cache directory:/var/atlas/application data/JIRA/plugins /. OSGi plugins/Felix

Check the startup log:
caused by: java.io.ioexception: unable to delete file:/var/atlas/application data/JIRA/plugins /. OSGi plugins/Felix/Felix cache/bundle163/bundle. State
solution: delete the. OSGi plugins folder (hidden folder) in the prompt directory and restart JIRA service

At this time, the original error page will become startup seccused and can be used normally

./startup.sh and./shutdown.sh are recommended for restarting the JIRA service

Read More: