You are currently reviewing an older revision of this page.
When executing a Service Manager script in the <APPIAN_HOME>/services/bin directory, the following error is returned:
<APPIAN_HOME>/services/bin
Exception thrown while attempting to retrieve process info for java process with main Class name QuorumPeerMain. java.io.IOException: Cannot run program "jps": error=2, No such file or directory...Caused by: java.io.IOException: error=2, No such file or directory
Zookeeper service initially starts successfully as per the <APPIAN_HOME>\logs\service-manager\zookeeper\zookeeper.log:
<APPIAN_HOME>\logs\service-manager\zookeeper\zookeeper.log
2019-01-22 21:01:44,744 [myid:1] - INFO [main:NIOServerCnxnFactory@89] - binding to port 0.0.0.0/0.0.0.0:21812019-01-22 21:01:44,747 [myid:1] - INFO [main:QuorumPeer@1158] - tickTime set to 2000
However, Zookeeper then errors out immediately with the following error in the <APPIAN_HOME>\logs\service-manager\zookeeper\zookeeper.log:
2019-01-22 21:02:04,966 [myid:1] - INFO [main:NIOServerCnxnFactory@89] - binding to port 0.0.0.0/0.0.0.0:21812019-01-22 21:02:04,967 [myid:1] - ERROR [main:QuorumPeerMain@92] - Unexpected exception, exiting abnormallyjava.net.BindException: Address already in use
There are two possible causes for this issue.
JAVA_HOME
echo $JAVA_HOME
PATH
jps
This article applies to Appian 17.3 and later.
Last Reviewed: February 2019