The scratchDir specified is unusable

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

問題

atlassian-confluence.log に次のメッセージが表示される。

 
2015-02-11 18:18:17,298 ERROR [localhost-startStop-1] [org.apache.jasper.EmbeddedServletOptions] log The scratchDir you specified: C:\Program Files\Atlassian\Confluence\work\Standalone\localhost\_ is unusable.

catalina.out に次のメッセージが表示される。

 
Feb 11, 2015 6:15:26 PM org.apache.catalina.core.StandardContext postWorkDirectoryWARNING: Failed to create work directory [C:\Program Files\Atlassian\Confluence\work\Standalone\localhost\_] for context []

原因

The Tomcat process is not able to access the scratchDir or deployment directory, most likely due to file permissions. The scratchDir is used by Tomcat when compiling JSPs which is the technology used to render the dynamically created web pages in Confluence. If Tomcat cannot access that directory it can result in failures to properly operate.

ソリューション

  1. Confluence を停止します。

  2. Fix the permissions for the below directories and all of their subdirectories:

    $CONFLUENCE_HOME/
    $CONFLUENCE_INSTALL/
    Expand for Linux instructions...

    These instructions refer to the default user, group & installation paths for Confluence, as if it were installed using the bundled installer. If you're unsure of what these permissions should be, please consult with your System Administrator and the user who installed Confluence.

    sudo chown -R confluence:confluence /var/atlassian/application-data/
    sudo chown -R confluence:confluence /opt/atlassian/Confluence/
    Expand for Windows instructions...

    Please refer to this Microsoft documentation for further information. More detailed documentation from technet.

  3. Remove the following directory:

    $CONFLUENCE_INSTALL/work/Standalone

    (info) This will be rebuilt when Confluence is restarted.

  4. Confluence を起動します。

最終更新日 2016 年 4 月 21 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.