My server machine does not have a writable directory called /var/run. How can I get my rhq-server.sh script to successfully write out its pidfile?
Set the environment variable RHQ_SERVER_PIDFILE_DIR to a full path of the directory where you want the pidfile to get stored. When you run the script, that variable’s value will override the default location. If you have an older script (2.1 or older), directly edit rhq-server.sh and change /var/run to the directory that you want.
Related Questions
- My agent machine does not have a writable directory called /var/run. How can I get my rhq-agent-wrapper.sh script to successfully write out its pidfile?
- My server machine does not have a writable directory called /var/run. How can I get my rhq-server.sh script to successfully write out its pidfile?
- Does Kernl assume that the web server and application server will run together on the same machine?