catalina_pid was set but the specified file does not exist error when stopping or starting Confluence with a script
プラットフォームについて: 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 は除く
要約
When running the ./stop-confluence.sh or ./start-confluence.sh, Confluence is not reacting to the script, it refuses to stop or start.
環境
- Linux server
- Confluence not installed as a service
診断
The terminal will show the following message when stopping Confluence running <installation-directory>/bin/stop-confluence.sh
script
$catalina_pid was set but the specified file does not exist
原因
The permission of the user that is starting and stopping Confluence are not sufficient.
ソリューション
- Try to run su -u <confluence_user_name> before running shutdown or startup script
- Adjust the permissions of the user that will start and stop Confluence with the below commands:
sudo chown -R <confluence-user> <confluence-install-folder>
sudo chown -R <confluence-user> <confluence-home-folder>
sudo chmod -R u=rwx,g=rx,o=rx <confluence-install-folder>
sudo chmod -R u=rwx,g=rx,o=rx <confluence-home-folder>