Bamboo fails to start due to java.io.FileNotFoundException

お困りですか?

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

コミュニティに質問


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

症状

Bamboo fails to start and the following message is found in <BambooInstallationDirectory>/logs/catalina.out (Linux) or <BambooInstallationDirectory>\logs\catalina.out (Windows):

java.io.FileNotFoundException: <BambooHome>/logs/atlassian-bamboo.log (Permission denied)
	at java.io.FileOutputStream.open(Native Method)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
[...]
2015-07-08 22:07:40,835 INFO [localhost-startStop-1] [BootstrapLoaderListener] Starting BootstrapLoaderListener
2015-07-08 22:07:40,835 INFO [localhost-startStop-1] [lifecycle] *******************************
2015-07-08 22:07:40,835 INFO [localhost-startStop-1] [lifecycle] *   Bamboo is starting up     *
2015-07-08 22:07:40,835 INFO [localhost-startStop-1] [lifecycle] *******************************
2015-07-08 22:07:40,836 INFO [localhost-startStop-1] [ServletContextHolder] Setting servlet context: Bamboo
[...]
2015-07-08 22:07:43,791 ERROR [localhost-startStop-1] [AbstractUpgradeManager] java.io.FileNotFoundException: <BambooHome>/xml-data/configuration/administration.xml (Permission denied)
java.io.FileNotFoundException: <BambooHome>/xml-data/configuration/administration.xml (Permission denied)
	at java.io.FileOutputStream.open(Native Method)

Note: The specific file name or directory may be different.

原因

The Bamboo process does not have permission to read or write parts of the contents of the <BambooHome> directory (where <BambooHome> is the Bamboo home directory).

ソリューション

To resolve this problem, grant the user that is running Bamboo full control to the <BambooHome> directory:

Linux:

chown <USER>.<GROUP> -R <BambooHome>

where <USER> is the username of the user that the Bamboo process runs as and <GROUP> is the primary group that this user is a member of.

Windows の場合:

Grant full control permissions to the <BambooHome> directory on the directory settings.


最終更新日 2018 年 11 月 12 日

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

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