-
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
java.io.FileNotFoundException: /var/run/${{app_name}}.pid (Permission denied) #192
Comments
@awaemmanuel |
Hello @alexshadow007, Thanks for your response. What should I replace This is what my application.ini file looks like now.
Is it accurate? I have the above configuration and then when I run it I get file not found exception. I think create it and I still get this errors
|
@awaemmanuel |
Thanks that works, just have another error that seems related to RequireJS
I contacted the developer and he says it's fixed in 2.6.1-1. Where can I update this library.. |
@alexshadow007 :I've changed the dependencies of dustjs and json. Recompiled. The warning disappears, but nothing shows on the UI. Blank page. All my brokers are all up and running. |
@alexshadow007 - I get the following error when starting kafka-manager... my application.ini as follows, $ ./kafka-manager 21:58:32,654 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy] Oops, cannot start the server.
8 errors |
You can try setting it to put it under the My application.ini
|
Is this still an open issue? The pid file path can be controlled by the application.ini file as haydenk noted about. |
@venkates77 I've got the same error, have you got any solutions for this? |
If you are making a rpm package you must edit src/templates/etc-default and change the JAVA_OPTS (and probably PIDFILE even though it doesn't appear to get read): Before making the package. If you already made the package. You can just edit /etc/default/kafka-manager and change the pid on the JAVA_OPTS line. At least that is what worked for me. |
Did anyone resolve this problem - #192 (comment) ? I am seeing the same error. |
I have a pull request to resolve this issue, see: #321 |
kafka-manager -Dconfig.file=/usr/local/kafka-manager/conf/application.conf -Dhttp.port=9001
Oops, cannot start the server.
java.io.FileNotFoundException: /var/run/${{app_name}}.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 text was updated successfully, but these errors were encountered: