Cannot Start Crowd due to 'Unable to delete file' Error
症状
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
原因
Tomcat cannot make the necessary changes to Crowd Home folder, most likely due to lack of permission to do so.
ソリューション
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
Powered by Confluence and Scroll Viewport.