You are currently reviewing an older revision of this page.
Upon starting services, the console output shows the following:
Starting Kafka...waiting for process Kafkaprocess Kafka runninglocal Kafka broker is not registered<<< Kafka broker initialization failed for localhost:9092. Check the broker logs for more information >>>Deleting Kafka index files in case initialization failed due to a corrupt index file.Unable to start service Kafkacom.appian.komodo.translog.KafkaNotRunningException: Kafka process died
Inside the server.log, found inside <APPIAN_HOME>/logs/service-manager/kafka, the one or more of following error(s) are shown:
<APPIAN_HOME>/logs/service-manager/kafka
[YYYY-MM-DD HH:MM:SS,mmm] ERROR Error while loading log dir /usr/local/appian/appian224/appian/services/data/kafka-logs (kafka.server.LogDirFailureChannel) java.nio.file.AccessDeniedException: /usr/local/appian/appian224/appian/services/data/kafka-logs/serviceManager.transaction.<engine>-#/####################.log
[YYYY-MM-DD HH:MM:SS,mmm] ERROR Error while deleting the clean shutdown file in dir <APPIAN_HOME>/services/data/kafka-logs (kafka.server.LogDirFailureChannel)java.nio.file.AccessDeniedException: <APPIAN_HOME>/services/data/kafka-logs/serviceManager.transaction.<engine>-#/####################.log
Necessary component files are owned by non-Appian user accounts.
To check the file permissions inside the environment, run the following:
<APPIAN_HOME>
sudo find <Appian_home> -printf '%u:%g\n' | sort -t: -u
sudo find -L <Appian_home> -printf '%u:%g\n' | sort -t: -u
This article applies to all self-managed versions of Appian.
Last Reviewed: March 2024