Bitbucket Server fails to start - BASEDIR environment variable is not defined

お困りですか?

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

コミュニティに質問

症状

Bitbucket Server fails to start and this message appears on the command line:

Armens-MacBook-Pro:~ akhachatryan$ /Users/akhachatryan/Atlassian/Bitbucket Server2.2.0/atlassian-bitbucket-2.2.0/bin/start-bitbucket.sh
To run Bitbucket Server in the foreground, start the server with start-bitbucket.sh -fg
Starting Atlassian Bitbucket Server as current user
The BASEDIR environment variable is not defined
This environment variable is needed to run this program

原因

The CATALINA_HOME environment variable is defined for the user running Bitbucket Server.

ソリューション

Unset the CATALINA_HOME environment variable and remove it from any profile scripts (e.g. ~/.profile, ~/.bashrc) and start Bitbucket Server again.

Last modified on Mar 30, 2016

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

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