-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
modify PIDFILE location #321
base: master
Are you sure you want to change the base?
Conversation
Install Kafka-manager through RPM, to start service will be fail(but the script return OK) using /etc/init.d/kafka-manager. First, check error message, see below: java.io.FileNotFoundException: /var/run/kafka-manager.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) the daemon user have not permission to write file in directory '/var/run'. Second, it's already to create'/var/run/kafka-manager'in boot script('/etc/init.d/kafka-manager'), but not use it.
Thank you for submitting this pull request, however I do not see a valid CLA on file for you. Before we can merge this request please visit https://yahoocla.herokuapp.com/ and agree to the terms. Thanks! 😄 |
I have already apply CLA. |
please close and open request to trigger CLA check |
This would be nice to have merged as vanilla rpm package built from source will not start. |
Is this still an issue? Can anyone else chime in? |
Install Kafka-manager through RPM, to start service will be fail(but the script return OK) using /etc/init.d/kafka-manager.
First, check error message, see below:
java.io.FileNotFoundException: /var/run/kafka-manager.pid (Permission denied)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.(FileOutputStream.java:213)
at java.io.FileOutputStream.(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)
the daemon user have not permission to write file in directory '/var/run'.
Second, it's already to create'/var/run/kafka-manager'in boot script('/etc/init.d/kafka-manager'), but not use it.