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

The recovery script, recovery.sh, located in <APPIAN_HOME>/services/bin/ fails to execute with 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 Service Manager by running: <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