Invalid option when starting Confluence
プラットフォームについて: サーバーと Data Center のみ。この記事は、サーバーおよび Data Center プラットフォームのアトラシアン製品にのみ適用されます。
問題
The following error is received when starting Confluence through start-confluence.sh/start-confluence.bat or automatically through a service running /etc/init.d/confluence start:
: invalid option
Additionally, there are no relevant errors in the Catalina or Confluence logs.
原因
The terminal emulator is using the incorrect newline format. Unix, Linux, and OS X use LF and Windows uses CRLF to denote the end of a line.
ソリューション
To resolve the issue, make sure the terminal/terminal emulator (e.g. PuTTY) is using the correct newline format when editing the start-confluence.sh/start-confluence.bat or /etc/init.d/confluence
files.
- If using Unix, Linux, and OS X, set it to LF
- If using Windows, set it to CRLF
Edit the file again and save.