While evaluating confluence we faced two errors while starting our JIRA and Confluence test applications:
- "Unable to create and acquire lock file for jira.home directory ..jira/atlassian-jira-6.1.5-data"
Solution: Removed the file '.jira-home.lock' was owned by root:root.Retarted jira application as admin. - "Unable to clean the cache directory: ..jira/atlassian-jira-6.1.5-data/plugins/.osgi-plugins/felix"
Solution : Recursively changed the ownership from root to admin:users for "felix-cache" directory in the above path.
This happens some time later after a shutdown of the JIRA live system. We never faced the problem in the past, so it looks to me, this problem could be related to Confluence.
I have also found this issue: https://jira.atlassian.com/browse/JRA-27438and, to be honest, I am surprised, why the status is "Awaiting Development". It looks more like, nothing has been done.