Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

modify PIDFILE location #321

wants to merge 1 commit into from

Commits on Nov 7, 2016

  1. modify PIDFILE location

    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.
    loneavon committed Nov 7, 2016
    Configuration menu
    Copy the full SHA
    3132118 View commit details
    Browse the repository at this point in the history