Cannot Start Crowd due to 'Unable to delete file' Error

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

Crowd does not start, the following error appears in the atlassian-crowd.log:

Caused by: java.io.IOException: Unable to delete file: /var/atlassian/application-data/crowd/caches/felix/felix-cache/bundle6/bundle.lastmodified
	at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1919)
	at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399)
	at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331)
	at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910)
	at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399)
	at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331)
	at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910)
	at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399)
	at com.atlassian.plugin.osgi.container.impl.DefaultOsgiPersistentCache.validate(DefaultOsgiPersistentCache.java:87)
	... 115 more

Cause

Tomcat cannot make the necessary changes to Crowd Home folder, most likely due to lack of permission to do so.

Resolution

Check the file permissions for the Crowd Home folder and ensure the user running Crowd has full read/write to the directory and all sub directories.

 

 

 

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.