You are currently reviewing an older revision of this page.

KB-XXXX Recovery.sh script fails to execute due to "Unable to connect to zookeeper server within timeout" error

Symptoms

Recovery script (recovery.sh) located in <APPIAN_HOME>/services/bin/ fails to execute due to the following error printed on console: 

Exception in thread "main" org.I0Itec.zkclient.exception.ZKTimeoutException: Unable to connect to zookeeper server within timeout : 30000

Cause

The script fails to execute because service manager and zookeeper are not running. 

Action

  1. Start the Service Manager (<APPIAN_HOME>\services\bin\start.sh (bat) -p <password> -s manager)
  2. Rerun the recovery script using recovery script documentation.

Affected Versions

This article applies to Appian 17.3 and later. 

Last Reviewed: March 2019