私は自分のアプリケーションをLinux(Ubuntu)に配布しました。私は、サーバーからのbinフォルダ内のファイルを実行しようとすると、私はこのエラーが表示されます。Play FrameworkはUbuntuでRUNNING_PIDファイルを作成できません
Oops, cannot start the server.
java.io.FileNotFoundException: /opt/co-assist/RUNNING_PID (Permission denied)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
at play.core.server.ProdServerStart$.createPidFile(ProdServerStart.scala:131)
at play.core.server.ProdServerStart$.start(ProdServerStart.scala:45)
at play.core.server.ProdServerStart$.main(ProdServerStart.scala:27)
at play.core.server.ProdServerStart.main(ProdServerStart.scala)
私は、このエラーのいくつかの記事を見ていないが、私の問題を修正し、何も。私は https://www.playframework.com/documentation/2.5.x/ProductionConfiguration#Changing-the-path-of-RUNNING_PID
:私もこれを見た https://playframework.com/documentation/2.5.x/Deploying#Play-PID-Configuration
:
私はのapplication.iniファイルを作成し、play.pidファイルを追加しようとしているが、私はその推測していますが修正ではありませんこの設定を正しく行う方法がわからない - 詳細な指示があれば、誰にも分かりますか?
私は助けに感謝...