You are currently reviewing an older revision of this page.

DRAFT KB-XXXX Engine start up fails with Zookeeper "Address already in use" error

Symptoms

Engine start-up fails while running Appian. Although port 2181 is free, the following error is found in zookeeper.log located in <APPIAN_HOME>/logs/service-manager/zookeeper/:

2018-08-20 04:46:51,819 [myid:] - ERROR [main:ZooKeeperServerMain@66] - Unexpected exception, exiting abnormally
java.net.BindException: Address already in use

After running the start script located in <APPIAN_HOME>/services/bin directory, following error is observed in the command line prompt:

waiting for process QuorumPeerMain
waiting for process QuorumPeerMain
process QuorumPeerMain not running after 10000 seconds
Unable to start service QuorumPeerMain
java.util.concurrent.TimeoutException: Process QuorumPeerMain did not launch within 10000 ms

Cause

This error occurs when any of the zookeeper ports (2181, 2888, and 3888) are either blocked or occupied by an orphan process. 

Action

Check the port availability with Administrator privileges. 

Affected Versions

This article applies to Appian 17.3 and later.

Last Reviewed: August 2018