<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>KB-2314 Kafka/Zookeeper/Tomcat related data ownership being non-Appian user account prevents services from starting up</title><link>https://community.appian.com/support/w/kb/3495/kb-2314-kafka-zookeeper-tomcat-related-data-ownership-being-non-appian-user-account-prevents-services-from-starting-up</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-2314 Kafka/Zookeeper/Tomcat related data ownership being non-Appian user account prevents services from starting up</title><link>https://community.appian.com/support/w/kb/3495/kb-2314-kafka-zookeeper-tomcat-related-data-ownership-being-non-appian-user-account-prevents-services-from-starting-up</link><pubDate>Tue, 09 Jul 2024 20:38:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a7bf5f94-feb3-4483-b12e-43c0fa6e5856</guid><dc:creator>Ryan Good</dc:creator><comments>https://community.appian.com/support/w/kb/3495/kb-2314-kafka-zookeeper-tomcat-related-data-ownership-being-non-appian-user-account-prevents-services-from-starting-up#comments</comments><description>Current Revision posted to Appian Knowledge Base by Ryan Good on 7/9/2024 8:38:55 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Users may experience one or more of the following symptoms when starting services.&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span&gt;Zookeeper:&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;Upon starting services, the console output shows the following:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;Starting QuorumPeerMain...&lt;br /&gt;process QuorumPeerMain running&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;Inside the &lt;strong&gt;zookeeper.log&lt;/strong&gt;, found in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/service-manager/zookeeper&lt;/code&gt;, one or more of following error(s) are shown:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DD HH:MM:SS,mmm [myid:] - ERROR [PurgeTask:o.a.z.s.DatadirCleanupManager$PurgeTask@143] - Error occurred while purging.&lt;br /&gt;org.apache.zookeeper.server.persistence.FileTxnSnapLog$DatadirException: Cannot write to data directory &amp;lt;APPIAN_HOME&amp;gt;/services/data/zookeeper/version-2&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DD HH:MM:SS,mmm [myid:0] - ERROR [main:o.a.z.s.ZooKeeperServerMain@81] - Unable to access datadir, exiting abnormally&lt;br /&gt;org.apache.zookeeper.server.persistence.FileTxnSnapLog$DatadirException: Cannot write to data directory &amp;lt;APPIAN_HOME&amp;gt;/services/data/zookeeper/version-2&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DD HH:MM:SS,mmm [myid:0] - ERROR [main:o.a.z.u.ServiceUtils@48] - Exiting JVM with code 3&lt;/span&gt;&lt;/pre&gt;
&lt;h3&gt;&lt;span&gt;Kafka:&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;Upon starting services, the console output shows the following:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;Starting Kafka...&lt;br /&gt;waiting for process Kafka&lt;br /&gt;process Kafka running&lt;br /&gt;local Kafka broker is not registered&lt;br /&gt;&amp;lt;&amp;lt;&amp;lt; Kafka broker initialization failed for localhost:9092. Check the broker logs for more information &amp;gt;&amp;gt;&amp;gt;&lt;br /&gt;Deleting Kafka index files in case initialization failed due to a corrupt index file.&lt;br /&gt;Unable to start service Kafka&lt;br /&gt;com.appian.komodo.translog.KafkaNotRunningException: Kafka process died&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;Inside the &lt;strong&gt;server.log&lt;/strong&gt;, found inside &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/service-manager/kafka&lt;/code&gt;, the one or more of following error(s) are shown:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;[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.&amp;lt;engine&amp;gt;-#/####################.log&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;&lt;span class="error"&gt;[YYYY-MM-DD HH:MM:SS,mmm]&lt;/span&gt;&amp;nbsp;ERROR Error while deleting the clean shutdown file in dir &amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs (kafka.server.LogDirFailureChannel)&lt;br /&gt;java.nio.file.AccessDeniedException: &amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs/serviceManager.transaction.&amp;lt;engine&amp;gt;-#/####################.log&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;h3&gt;&lt;span&gt;Tomcat:&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;Inside the&amp;nbsp;&lt;strong&gt;tomcat-stdout.log&lt;/strong&gt;, found inside&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/&lt;/code&gt;, the one or more of following error(s) are shown:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DD HH:MM:SS,mmm SEVERE [main] org.apache.catalina.startup.HostConfig.deployDescriptor Error deploying deployment descript&lt;br /&gt;or [&amp;lt;APPIAN_HOME&amp;gt;/tomcat/apache-tomcat/conf/Catalina/localhost/suite.xml]&lt;br /&gt; java.io.FileNotFoundException: ../../../conf/tomcatResources.xml (Permission denied)&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DD HH:MM:SS,mmm [localhost-startStop-1] ERROR com.appiancorp.common.initialize.MigrateNavigationConfig - Could not merge navigation-config stored in content with the one provided by default. java.io.FileNotFoundException: &amp;lt;APPIAN_HOME&amp;gt;/_admin/accdocs*/2/*.xml (Permission denied)&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Necessary component files are owned by non-Appian user accounts.&amp;nbsp;Appian should have its own user and root must not be used as it may lead to unexpected behavior. For more information, please see the following &lt;a href="https://docs.appian.com/suite/help/latest/Prerequisites.html#configure-the-application-user-account-for-linux"&gt;documentation&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;To check the file permissions inside the environment, run the following:&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Check to see if files are owned by different users inside&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;&lt;/code&gt; .&amp;nbsp;
&lt;ol&gt;
&lt;li&gt;&lt;code&gt;sudo find &amp;lt;APPIAN_HOME&amp;gt; -printf &amp;#39;%u:%g\n&amp;#39; | sort -t: -u&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;For High Availability (HA) Sites: &lt;code&gt;sudo find -L &amp;lt;APPIAN_HOME&amp;gt; -printf &amp;#39;%u:%g\n&amp;#39; | sort -t: -u&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Change ownership of the affected files to be under the Appian user.&lt;/li&gt;
&lt;li&gt;Attempt &lt;a href="https://docs.appian.com/suite/help/latest/Start_Script.html"&gt;startup&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;If the issue persists, please open a support ticket for further investigation.&lt;span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all self-managed versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: July 2024&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Tomcat, kafka, zookeeper, permissions, infrastructure, service manager&lt;/div&gt;
</description></item><item><title>[DRAFT SP-9623] Kafka/Zookeeper/Tomcat related data ownership being non-Appian user account prevents services from starting up</title><link>https://community.appian.com/support/w/kb/3495/kb-2314-kafka-zookeeper-tomcat-related-data-ownership-being-non-appian-user-account-prevents-services-from-starting-up/revision/14</link><pubDate>Wed, 05 Jun 2024 21:23:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a7bf5f94-feb3-4483-b12e-43c0fa6e5856</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3495/kb-2314-kafka-zookeeper-tomcat-related-data-ownership-being-non-appian-user-account-prevents-services-from-starting-up#comments</comments><description>Revision 14 posted to Appian Knowledge Base by pauline.delacruz on 6/5/2024 9:23:54 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Users may experience one or more of the following symptoms when starting services.&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span&gt;Zookeeper:&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;Upon starting services, the console output shows the following:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;Starting QuorumPeerMain...&lt;br /&gt;process QuorumPeerMain running&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;Inside the &lt;strong&gt;zookeeper.log&lt;/strong&gt;, found in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/service-manager/zookeeper&lt;/code&gt;, one or more of following error(s) are shown:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DD HH:MM:SS,mmm [myid:] - ERROR [PurgeTask:o.a.z.s.DatadirCleanupManager$PurgeTask@143] - Error occurred while purging.&lt;br /&gt;org.apache.zookeeper.server.persistence.FileTxnSnapLog$DatadirException: Cannot write to data directory &amp;lt;APPIAN_HOME&amp;gt;/services/data/zookeeper/version-2&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DD HH:MM:SS,mmm [myid:0] - ERROR [main:o.a.z.s.ZooKeeperServerMain@81] - Unable to access datadir, exiting abnormally&lt;br /&gt;org.apache.zookeeper.server.persistence.FileTxnSnapLog$DatadirException: Cannot write to data directory &amp;lt;APPIAN_HOME&amp;gt;/services/data/zookeeper/version-2&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DD HH:MM:SS,mmm [myid:0] - ERROR [main:o.a.z.u.ServiceUtils@48] - Exiting JVM with code 3&lt;/span&gt;&lt;/pre&gt;
&lt;h3&gt;&lt;span&gt;Kafka:&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;Upon starting services, the console output shows the following:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;Starting Kafka...&lt;br /&gt;waiting for process Kafka&lt;br /&gt;process Kafka running&lt;br /&gt;local Kafka broker is not registered&lt;br /&gt;&amp;lt;&amp;lt;&amp;lt; Kafka broker initialization failed for localhost:9092. Check the broker logs for more information &amp;gt;&amp;gt;&amp;gt;&lt;br /&gt;Deleting Kafka index files in case initialization failed due to a corrupt index file.&lt;br /&gt;Unable to start service Kafka&lt;br /&gt;com.appian.komodo.translog.KafkaNotRunningException: Kafka process died&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;Inside the &lt;strong&gt;server.log&lt;/strong&gt;, found inside &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/service-manager/kafka&lt;/code&gt;, the one or more of following error(s) are shown:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;[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.&amp;lt;engine&amp;gt;-#/####################.log&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;&lt;span class="error"&gt;[YYYY-MM-DD HH:MM:SS,mmm]&lt;/span&gt;&amp;nbsp;ERROR Error while deleting the clean shutdown file in dir &amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs (kafka.server.LogDirFailureChannel)&lt;br /&gt;java.nio.file.AccessDeniedException: &amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs/serviceManager.transaction.&amp;lt;engine&amp;gt;-#/####################.log&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;h3&gt;&lt;span&gt;Tomcat:&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;Inside the&amp;nbsp;&lt;strong&gt;tomcat-stdout.log&lt;/strong&gt;, found inside&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/&lt;/code&gt;, the one or more of following error(s) are shown:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DD HH:MM:SS,mmm SEVERE [main] org.apache.catalina.startup.HostConfig.deployDescriptor Error deploying deployment descript&lt;br /&gt;or [&amp;lt;APPIAN_HOME&amp;gt;/tomcat/apache-tomcat/conf/Catalina/localhost/suite.xml]&lt;br /&gt; java.io.FileNotFoundException: ../../../conf/tomcatResources.xml (Permission denied)&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DD HH:MM:SS,mmm [localhost-startStop-1] ERROR com.appiancorp.common.initialize.MigrateNavigationConfig - Could not merge navigation-config stored in content with the one provided by default. java.io.FileNotFoundException: &amp;lt;APPIAN_HOME&amp;gt;/_admin/accdocs*/2/*.xml (Permission denied)&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Necessary component files are owned by non-Appian user accounts.&amp;nbsp;Appian should have its own user and root must not be used as it may lead to unexpected behavior. For more information, please see the following &lt;a href="https://docs.appian.com/suite/help/latest/Prerequisites.html#configure-the-application-user-account-for-linux"&gt;documentation&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;To check the file permissions inside the environment, run the following:&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Check to see if files are owned by different users inside&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;&lt;/code&gt; .&amp;nbsp;
&lt;ol&gt;
&lt;li&gt;&lt;code&gt;sudo find &amp;lt;APPIAN_HOME&amp;gt; -printf &amp;#39;%u:%g\n&amp;#39; | sort -t: -u&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;For High Availability (HA) Sites: &lt;code&gt;sudo find -L &amp;lt;APPIAN_HOME&amp;gt; -printf &amp;#39;%u:%g\n&amp;#39; | sort -t: -u&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Change ownership of the affected files to be under the Appian user.&lt;/li&gt;
&lt;li&gt;Attempt &lt;a href="https://docs.appian.com/suite/help/latest/Start_Script.html"&gt;startup&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;If the issue persists, please open a support ticket for further investigation.&lt;span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all self-managed versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: June 2024&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Tomcat, kafka, zookeeper, permissions, infrastructure, service manager&lt;/div&gt;
</description></item><item><title>[DRAFT SP-9623] Kafka/Zookeeper/Tomcat related data ownership being non-Appian user account prevents services from starting up</title><link>https://community.appian.com/support/w/kb/3495/kb-2314-kafka-zookeeper-tomcat-related-data-ownership-being-non-appian-user-account-prevents-services-from-starting-up/revision/13</link><pubDate>Fri, 05 Apr 2024 15:02:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a7bf5f94-feb3-4483-b12e-43c0fa6e5856</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3495/kb-2314-kafka-zookeeper-tomcat-related-data-ownership-being-non-appian-user-account-prevents-services-from-starting-up#comments</comments><description>Revision 13 posted to Appian Knowledge Base by pauline.delacruz on 4/5/2024 3:02:51 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Users may experience one or more of the following symptoms when starting services.&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span&gt;Zookeeper:&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;Upon starting services, the console output shows the following:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;Starting QuorumPeerMain...&lt;br /&gt;process QuorumPeerMain running&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;Inside the &lt;strong&gt;zookeeper.log&lt;/strong&gt;, found in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/service-manager/zookeeper&lt;/code&gt;, one or more of following error(s) are shown:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DD HH:MM:SS,mmm [myid:] - ERROR [PurgeTask:o.a.z.s.DatadirCleanupManager$PurgeTask@143] - Error occurred while purging.&lt;br /&gt;org.apache.zookeeper.server.persistence.FileTxnSnapLog$DatadirException: Cannot write to data directory &amp;lt;APPIAN_HOME&amp;gt;/services/data/zookeeper/version-2&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DD HH:MM:SS,mmm [myid:0] - ERROR [main:o.a.z.s.ZooKeeperServerMain@81] - Unable to access datadir, exiting abnormally&lt;br /&gt;org.apache.zookeeper.server.persistence.FileTxnSnapLog$DatadirException: Cannot write to data directory &amp;lt;APPIAN_HOME&amp;gt;/services/data/zookeeper/version-2&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DD HH:MM:SS,mmm [myid:0] - ERROR [main:o.a.z.u.ServiceUtils@48] - Exiting JVM with code 3&lt;/span&gt;&lt;/pre&gt;
&lt;h3&gt;&lt;span&gt;Kafka:&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;Upon starting services, the console output shows the following:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;Starting Kafka...&lt;br /&gt;waiting for process Kafka&lt;br /&gt;process Kafka running&lt;br /&gt;local Kafka broker is not registered&lt;br /&gt;&amp;lt;&amp;lt;&amp;lt; Kafka broker initialization failed for localhost:9092. Check the broker logs for more information &amp;gt;&amp;gt;&amp;gt;&lt;br /&gt;Deleting Kafka index files in case initialization failed due to a corrupt index file.&lt;br /&gt;Unable to start service Kafka&lt;br /&gt;com.appian.komodo.translog.KafkaNotRunningException: Kafka process died&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;Inside the &lt;strong&gt;server.log&lt;/strong&gt;, found inside &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/service-manager/kafka&lt;/code&gt;, the one or more of following error(s) are shown:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;[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.&amp;lt;engine&amp;gt;-#/####################.log&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;&lt;span class="error"&gt;[YYYY-MM-DD HH:MM:SS,mmm]&lt;/span&gt;&amp;nbsp;ERROR Error while deleting the clean shutdown file in dir &amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs (kafka.server.LogDirFailureChannel)&lt;br /&gt;java.nio.file.AccessDeniedException: &amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs/serviceManager.transaction.&amp;lt;engine&amp;gt;-#/####################.log&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;h3&gt;&lt;span&gt;Tomcat:&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;Upon starting the app server, one or more of the following errors are displayed:&lt;/span&gt;&lt;span&gt;&lt;br /&gt;YYYY-MM-DD HH:MM:SS SEVERE [main] org.apache.catalina.startup.HostConfig.deployDescriptor Error deploying deployment descript&lt;br /&gt;or [&amp;lt;APPIAN_HOME&amp;gt;/tomcat/apache-tomcat/conf/Catalina/localhost/suite.xml]&lt;br /&gt; java.io.FileNotFoundException: ../../../conf/tomcatResources.xml (Permission denied)&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2024-04-05 14:20:35 INFO [main] org.apache.coyote.AbstractProtocol.start Startingq ProtocolHandler ["http-nio-8080"]&lt;br /&gt;2024-04-05 14:20:35 SEVERE [main] org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to start component [Connector["http-nio-8080"]]&lt;br /&gt; org.apache.catalina.LifecycleException: Protocol handler start failed&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Necessary component files are owned by non-Appian user accounts.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;To check the file permissions inside the environment, run the following:&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Check to see if files are owned by different users inside&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;&lt;/code&gt; .&amp;nbsp;
&lt;ol&gt;
&lt;li&gt;&lt;code&gt;sudo find &amp;lt;APPIAN_HOME&amp;gt; -printf &amp;#39;%u:%g\n&amp;#39; | sort -t: -u&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;For High Availability (HA) Sites: &lt;code&gt;sudo find -L &amp;lt;APPIAN_HOME&amp;gt; -printf &amp;#39;%u:%g\n&amp;#39; | sort -t: -u&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Change ownership of the affected files to be under the Appian user.&lt;/li&gt;
&lt;li&gt;Attempt &lt;a href="https://docs.appian.com/suite/help/latest/Start_Script.html"&gt;startup&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;If the issue persists, please open a support ticket for further investigation.&lt;span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all self-managed versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed:&amp;nbsp;April 2024&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Tomcat, kafka, zookeeper, permissions, infrastructure, service manager&lt;/div&gt;
</description></item><item><title>[DRAFT SP-9623] Kafka/Zookeeper/Tomcat related data ownership being non-Appian user account prevents services from starting up</title><link>https://community.appian.com/support/w/kb/3495/kb-2314-kafka-zookeeper-tomcat-related-data-ownership-being-non-appian-user-account-prevents-services-from-starting-up/revision/12</link><pubDate>Wed, 03 Apr 2024 21:34:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a7bf5f94-feb3-4483-b12e-43c0fa6e5856</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3495/kb-2314-kafka-zookeeper-tomcat-related-data-ownership-being-non-appian-user-account-prevents-services-from-starting-up#comments</comments><description>Revision 12 posted to Appian Knowledge Base by pauline.delacruz on 4/3/2024 9:34:31 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Users may experience one or more of the following symptoms when starting services.&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span&gt;Zookeeper:&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;Upon starting services, the console output shows the following:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;Starting QuorumPeerMain...&lt;br /&gt;process QuorumPeerMain running&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;Inside the &lt;strong&gt;zookeeper.log&lt;/strong&gt;, found in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/service-manager/zookeeper&lt;/code&gt;, one or more of following error(s) are shown:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DD HH:MM:SS,mmm [myid:] - ERROR [PurgeTask:o.a.z.s.DatadirCleanupManager$PurgeTask@143] - Error occurred while purging.&lt;br /&gt;org.apache.zookeeper.server.persistence.FileTxnSnapLog$DatadirException: Cannot write to data directory &amp;lt;APPIAN_HOME&amp;gt;/services/data/zookeeper/version-2&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DD HH:MM:SS,mmm [myid:0] - ERROR [main:o.a.z.s.ZooKeeperServerMain@81] - Unable to access datadir, exiting abnormally&lt;br /&gt;org.apache.zookeeper.server.persistence.FileTxnSnapLog$DatadirException: Cannot write to data directory &amp;lt;APPIAN_HOME&amp;gt;/services/data/zookeeper/version-2&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DD HH:MM:SS,mmm [myid:0] - ERROR [main:o.a.z.u.ServiceUtils@48] - Exiting JVM with code 3&lt;/span&gt;&lt;/pre&gt;
&lt;h3&gt;&lt;span&gt;Kafka:&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;Upon starting services, the console output shows the following:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;Starting Kafka...&lt;br /&gt;waiting for process Kafka&lt;br /&gt;process Kafka running&lt;br /&gt;local Kafka broker is not registered&lt;br /&gt;&amp;lt;&amp;lt;&amp;lt; Kafka broker initialization failed for localhost:9092. Check the broker logs for more information &amp;gt;&amp;gt;&amp;gt;&lt;br /&gt;Deleting Kafka index files in case initialization failed due to a corrupt index file.&lt;br /&gt;Unable to start service Kafka&lt;br /&gt;com.appian.komodo.translog.KafkaNotRunningException: Kafka process died&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;Inside the &lt;strong&gt;server.log&lt;/strong&gt;, found inside &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/service-manager/kafka&lt;/code&gt;, the one or more of following error(s) are shown:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;[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.&amp;lt;engine&amp;gt;-#/####################.log&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;&lt;span class="error"&gt;[YYYY-MM-DD HH:MM:SS,mmm]&lt;/span&gt;&amp;nbsp;ERROR Error while deleting the clean shutdown file in dir &amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs (kafka.server.LogDirFailureChannel)&lt;br /&gt;java.nio.file.AccessDeniedException: &amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs/serviceManager.transaction.&amp;lt;engine&amp;gt;-#/####################.log&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;h3&gt;&lt;span&gt;Tomcat:&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;Upon starting the app server, the following is:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Necessary component files are owned by non-Appian user accounts.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;To check the file permissions inside the environment, run the following:&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Check to see if files are owned by different users inside&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;&lt;/code&gt; .&amp;nbsp;
&lt;ol&gt;
&lt;li&gt;&lt;code&gt;sudo find &amp;lt;Appian_home&amp;gt; -printf &amp;#39;%u:%g\n&amp;#39; | sort -t: -u&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;For High Availability (HA) Sites: &lt;code&gt;sudo find -L &amp;lt;Appian_home&amp;gt; -printf &amp;#39;%u:%g\n&amp;#39; | sort -t: -u&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Change ownership of the affected files to be under the Appian user.&lt;/li&gt;
&lt;li&gt;Attempt &lt;a href="https://docs.appian.com/suite/help/latest/Start_Script.html"&gt;startup&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;If the issue persists, please open a support ticket for further investigation.&lt;span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all self-managed versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed:&amp;nbsp;March 2024&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Tomcat, kafka, zookeeper, permissions, infrastructure, service manager&lt;/div&gt;
</description></item><item><title>[DRAFT SP-9623] Kafka/Zookeeper/Tomcat related data ownership being non-Appian user account prevents services from starting up</title><link>https://community.appian.com/support/w/kb/3495/kb-2314-kafka-zookeeper-tomcat-related-data-ownership-being-non-appian-user-account-prevents-services-from-starting-up/revision/11</link><pubDate>Mon, 04 Mar 2024 22:10:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a7bf5f94-feb3-4483-b12e-43c0fa6e5856</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3495/kb-2314-kafka-zookeeper-tomcat-related-data-ownership-being-non-appian-user-account-prevents-services-from-starting-up#comments</comments><description>Revision 11 posted to Appian Knowledge Base by pauline.delacruz on 3/4/2024 10:10:11 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Users may experience one or more of the following symptoms when starting services.&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span&gt;Zookeeper:&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;Upon starting services, the console output shows the following:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;Starting QuorumPeerMain...&lt;br /&gt;process QuorumPeerMain running&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;Inside the &lt;strong&gt;zookeeper.log&lt;/strong&gt;, found in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/service-manager/zookeeper&lt;/code&gt;, one or more of following error(s) are shown:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DD HH:MM:SS,mmm [myid:] - ERROR [PurgeTask:o.a.z.s.DatadirCleanupManager$PurgeTask@143] - Error occurred while purging.&lt;br /&gt;org.apache.zookeeper.server.persistence.FileTxnSnapLog$DatadirException: Cannot write to data directory &amp;lt;APPIAN_HOME&amp;gt;/services/data/zookeeper/version-2&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DD HH:MM:SS,mmm [myid:0] - ERROR [main:o.a.z.s.ZooKeeperServerMain@81] - Unable to access datadir, exiting abnormally&lt;br /&gt;org.apache.zookeeper.server.persistence.FileTxnSnapLog$DatadirException: Cannot write to data directory &amp;lt;APPIAN_HOME&amp;gt;/services/data/zookeeper/version-2&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DD HH:MM:SS,mmm [myid:0] - ERROR [main:o.a.z.u.ServiceUtils@48] - Exiting JVM with code 3&lt;/span&gt;&lt;/pre&gt;
&lt;h3&gt;&lt;span&gt;Kafka:&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;Upon starting services, the console output shows the following:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;Starting Kafka...&lt;br /&gt;waiting for process Kafka&lt;br /&gt;process Kafka running&lt;br /&gt;local Kafka broker is not registered&lt;br /&gt;&amp;lt;&amp;lt;&amp;lt; Kafka broker initialization failed for localhost:9092. Check the broker logs for more information &amp;gt;&amp;gt;&amp;gt;&lt;br /&gt;Deleting Kafka index files in case initialization failed due to a corrupt index file.&lt;br /&gt;Unable to start service Kafka&lt;br /&gt;com.appian.komodo.translog.KafkaNotRunningException: Kafka process died&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;Inside the &lt;strong&gt;server.log&lt;/strong&gt;, found inside &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/service-manager/kafka&lt;/code&gt;, the one or more of following error(s) are shown:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;[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.&amp;lt;engine&amp;gt;-#/####################.log&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;&lt;span class="error"&gt;[YYYY-MM-DD HH:MM:SS,mmm]&lt;/span&gt;&amp;nbsp;ERROR Error while deleting the clean shutdown file in dir &amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs (kafka.server.LogDirFailureChannel)&lt;br /&gt;java.nio.file.AccessDeniedException: &amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs/serviceManager.transaction.&amp;lt;engine&amp;gt;-#/####################.log&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;h3&gt;&lt;span&gt;Tomcat:&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;Upon starting services, the console output shows the following:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Necessary component files are owned by non-Appian user accounts.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;To check the file permissions inside the environment, run the following:&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Check to see if files are owned by different users inside&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;&lt;/code&gt; .&amp;nbsp;
&lt;ol&gt;
&lt;li&gt;&lt;code&gt;sudo find &amp;lt;Appian_home&amp;gt; -printf &amp;#39;%u:%g\n&amp;#39; | sort -t: -u&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;For High Availability (HA) Sites: &lt;code&gt;sudo find -L &amp;lt;Appian_home&amp;gt; -printf &amp;#39;%u:%g\n&amp;#39; | sort -t: -u&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Change ownership of the affected files to be under the Appian user.&lt;/li&gt;
&lt;li&gt;Attempt &lt;a href="https://docs.appian.com/suite/help/latest/Start_Script.html"&gt;startup&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;If the issue persists, please open a support ticket for further investigation.&lt;span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all self-managed versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed:&amp;nbsp;March 2024&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Tomcat, kafka, zookeeper, permissions, infrastructure, service manager&lt;/div&gt;
</description></item><item><title>[DRAFT SP-9623] Kafka/Zookeeper/Tomcat related data ownership being non-Appian user account prevents services from starting up</title><link>https://community.appian.com/support/w/kb/3495/kb-2314-kafka-zookeeper-tomcat-related-data-ownership-being-non-appian-user-account-prevents-services-from-starting-up/revision/10</link><pubDate>Mon, 04 Mar 2024 21:45:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a7bf5f94-feb3-4483-b12e-43c0fa6e5856</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3495/kb-2314-kafka-zookeeper-tomcat-related-data-ownership-being-non-appian-user-account-prevents-services-from-starting-up#comments</comments><description>Revision 10 posted to Appian Knowledge Base by pauline.delacruz on 3/4/2024 9:45:27 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Users may experience one or more of the following symptoms when starting services.&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span&gt;Zookeeper:&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;The console output shows the following and hangs on startup:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;Starting QuorumPeerMain...&lt;br /&gt;process QuorumPeerMain running&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;Inside the &lt;strong&gt;zookeeper.log&lt;/strong&gt;, found in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/service-manager/zookeeper&lt;/code&gt;, one or more of following error(s) are shown:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DD HH:MM:SS,mmm [myid:] - ERROR [PurgeTask:o.a.z.s.DatadirCleanupManager$PurgeTask@143] - Error occurred while purging.&lt;br /&gt;org.apache.zookeeper.server.persistence.FileTxnSnapLog$DatadirException: Cannot write to data directory &amp;lt;APPIAN_HOME&amp;gt;/services/data/zookeeper/version-2&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DD HH:MM:SS,mmm [myid:0] - ERROR [main:o.a.z.s.ZooKeeperServerMain@81] - Unable to access datadir, exiting abnormally&lt;br /&gt;org.apache.zookeeper.server.persistence.FileTxnSnapLog$DatadirException: Cannot write to data directory &amp;lt;APPIAN_HOME&amp;gt;/services/data/zookeeper/version-2&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DD HH:MM:SS,mmm [myid:0] - ERROR [main:o.a.z.u.ServiceUtils@48] - Exiting JVM with code 3&lt;/span&gt;&lt;/pre&gt;
&lt;h3&gt;&lt;span&gt;Kafka:&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;Upon starting services, the console output shows the following:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;Starting Kafka...&lt;br /&gt;waiting for process Kafka&lt;br /&gt;process Kafka running&lt;br /&gt;local Kafka broker is not registered&lt;br /&gt;&amp;lt;&amp;lt;&amp;lt; Kafka broker initialization failed for localhost:9092. Check the broker logs for more information &amp;gt;&amp;gt;&amp;gt;&lt;br /&gt;Deleting Kafka index files in case initialization failed due to a corrupt index file.&lt;br /&gt;Unable to start service Kafka&lt;br /&gt;com.appian.komodo.translog.KafkaNotRunningException: Kafka process died&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;Inside the &lt;strong&gt;server.log&lt;/strong&gt;, found inside &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/service-manager/kafka&lt;/code&gt;, the one or more of following error(s) are shown:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;[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.&amp;lt;engine&amp;gt;-#/####################.log&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;&lt;span class="error"&gt;[YYYY-MM-DD HH:MM:SS,mmm]&lt;/span&gt;&amp;nbsp;ERROR Error while deleting the clean shutdown file in dir &amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs (kafka.server.LogDirFailureChannel)&lt;br /&gt;java.nio.file.AccessDeniedException: &amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs/serviceManager.transaction.&amp;lt;engine&amp;gt;-#/####################.log&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Necessary component files are owned by non-Appian user accounts.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;To check the file permissions inside the environment, run the following:&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Check to see if files are owned by different users inside&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;&lt;/code&gt; .&amp;nbsp;
&lt;ol&gt;
&lt;li&gt;&lt;code&gt;sudo find &amp;lt;Appian_home&amp;gt; -printf &amp;#39;%u:%g\n&amp;#39; | sort -t: -u&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;For High Availability (HA) Sites: &lt;code&gt;sudo find -L &amp;lt;Appian_home&amp;gt; -printf &amp;#39;%u:%g\n&amp;#39; | sort -t: -u&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Change ownership of the affected files to be under the Appian user.&lt;/li&gt;
&lt;li&gt;Attempt &lt;a href="https://docs.appian.com/suite/help/latest/Start_Script.html"&gt;startup&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;If the issue persists, please open a support ticket for further investigation.&lt;span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all self-managed versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed:&amp;nbsp;March 2024&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Tomcat, kafka, zookeeper, permissions, infrastructure, service manager&lt;/div&gt;
</description></item><item><title>[DRAFT SP-9623] Kafka/Zookeeper/Tomcat related data ownership being non-Appian user account prevents services from starting up</title><link>https://community.appian.com/support/w/kb/3495/kb-2314-kafka-zookeeper-tomcat-related-data-ownership-being-non-appian-user-account-prevents-services-from-starting-up/revision/9</link><pubDate>Mon, 04 Mar 2024 21:44:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a7bf5f94-feb3-4483-b12e-43c0fa6e5856</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3495/kb-2314-kafka-zookeeper-tomcat-related-data-ownership-being-non-appian-user-account-prevents-services-from-starting-up#comments</comments><description>Revision 9 posted to Appian Knowledge Base by pauline.delacruz on 3/4/2024 9:44:45 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Users may experience one or more of the following symptoms when starting services.&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span&gt;Zookeeper:&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;The console output shows the following and hangs on startup:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;Starting QuorumPeerMain...&lt;br /&gt;process QuorumPeerMain running&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;Inside the &lt;strong&gt;zookeeper.log&lt;/strong&gt;, found in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/service-manager/zookeeper&lt;/code&gt;, one or more of following error(s) are shown:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DD HH:MM:SS,mmm [myid:] - ERROR [PurgeTask:o.a.z.s.DatadirCleanupManager$PurgeTask@143] - Error occurred while purging.&lt;br /&gt;org.apache.zookeeper.server.persistence.FileTxnSnapLog$DatadirException: Cannot write to data directory &amp;lt;APPIAN_HOME&amp;gt;/services/data/zookeeper/version-2&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DD HH:MM:SS,mmm [myid:0] - ERROR [main:o.a.z.s.ZooKeeperServerMain@81] - Unable to access datadir, exiting abnormally&lt;br /&gt;org.apache.zookeeper.server.persistence.FileTxnSnapLog$DatadirException: Cannot write to data directory &amp;lt;APPIAN_HOME&amp;gt;/services/data/zookeeper/version-2&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DD HH:MM:SS,mmm [myid:0] - ERROR [main:o.a.z.u.ServiceUtils@48] - Exiting JVM with code 3&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;h3&gt;&lt;span&gt;Kafka:&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;Upon starting services, the console output shows the following:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;Starting Kafka...&lt;br /&gt;waiting for process Kafka&lt;br /&gt;process Kafka running&lt;br /&gt;local Kafka broker is not registered&lt;br /&gt;&amp;lt;&amp;lt;&amp;lt; Kafka broker initialization failed for localhost:9092. Check the broker logs for more information &amp;gt;&amp;gt;&amp;gt;&lt;br /&gt;Deleting Kafka index files in case initialization failed due to a corrupt index file.&lt;br /&gt;Unable to start service Kafka&lt;br /&gt;com.appian.komodo.translog.KafkaNotRunningException: Kafka process died&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;Inside the &lt;strong&gt;server.log&lt;/strong&gt;, found inside &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/service-manager/kafka&lt;/code&gt;, the one or more of following error(s) are shown:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;[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.&amp;lt;engine&amp;gt;-#/####################.log&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;&lt;span class="error"&gt;[YYYY-MM-DD HH:MM:SS,mmm]&lt;/span&gt;&amp;nbsp;ERROR Error while deleting the clean shutdown file in dir &amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs (kafka.server.LogDirFailureChannel)&lt;br /&gt;java.nio.file.AccessDeniedException: &amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs/serviceManager.transaction.&amp;lt;engine&amp;gt;-#/####################.log&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Necessary component files are owned by non-Appian user accounts.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;To check the file permissions inside the environment, run the following:&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Check to see if files are owned by different users inside&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;&lt;/code&gt; .&amp;nbsp;
&lt;ol&gt;
&lt;li&gt;&lt;code&gt;sudo find &amp;lt;Appian_home&amp;gt; -printf &amp;#39;%u:%g\n&amp;#39; | sort -t: -u&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;For High Availability (HA) Sites: &lt;code&gt;sudo find -L &amp;lt;Appian_home&amp;gt; -printf &amp;#39;%u:%g\n&amp;#39; | sort -t: -u&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Change ownership of the affected files to be under the Appian user.&lt;/li&gt;
&lt;li&gt;Attempt &lt;a href="https://docs.appian.com/suite/help/latest/Start_Script.html"&gt;startup&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;If the issue persists, please open a support ticket for further investigation.&lt;span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all self-managed versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed:&amp;nbsp;March 2024&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Tomcat, kafka, zookeeper, permissions, infrastructure, service manager&lt;/div&gt;
</description></item><item><title>[DRAFT SP-9623] Kafka/Zookeeper/Tomcat related data ownership being non-Appian user account prevents services from starting up</title><link>https://community.appian.com/support/w/kb/3495/kb-2314-kafka-zookeeper-tomcat-related-data-ownership-being-non-appian-user-account-prevents-services-from-starting-up/revision/8</link><pubDate>Mon, 04 Mar 2024 21:41:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a7bf5f94-feb3-4483-b12e-43c0fa6e5856</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3495/kb-2314-kafka-zookeeper-tomcat-related-data-ownership-being-non-appian-user-account-prevents-services-from-starting-up#comments</comments><description>Revision 8 posted to Appian Knowledge Base by pauline.delacruz on 3/4/2024 9:41:51 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Users may experience one or more of the following symptoms when starting services.&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span&gt;Zookeeper:&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;The console output shows the following and hangs on startup:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;Starting QuorumPeerMain...&lt;br /&gt;process QuorumPeerMain running&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;Inside the &lt;strong&gt;zookeeper.log&lt;/strong&gt;, found in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/service-manager/zookeeper&lt;/code&gt;, one or more of following error(s) are shown:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DD HH:MM:SS,mmm [myid:] - ERROR [PurgeTask:o.a.z.s.DatadirCleanupManager$PurgeTask@143] - Error occurred while purging.&lt;br /&gt;org.apache.zookeeper.server.persistence.FileTxnSnapLog$DatadirException: Cannot write to data directory &amp;lt;APPIAN_HOME&amp;gt;/services/data/zookeeper/version-2&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DD HH:MM:SS,mmm [myid:0] - ERROR [main:o.a.z.s.ZooKeeperServerMain@81] - Unable to access datadir, exiting abnormally&lt;br /&gt;org.apache.zookeeper.server.persistence.FileTxnSnapLog$DatadirException: Cannot write to data directory &amp;lt;APPIAN_HOME&amp;gt;/services/data/zookeeper/version-2&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;h3&gt;&lt;span&gt;Kafka:&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;Upon starting services, the console output shows the following:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;Starting Kafka...&lt;br /&gt;waiting for process Kafka&lt;br /&gt;process Kafka running&lt;br /&gt;local Kafka broker is not registered&lt;br /&gt;&amp;lt;&amp;lt;&amp;lt; Kafka broker initialization failed for localhost:9092. Check the broker logs for more information &amp;gt;&amp;gt;&amp;gt;&lt;br /&gt;Deleting Kafka index files in case initialization failed due to a corrupt index file.&lt;br /&gt;Unable to start service Kafka&lt;br /&gt;com.appian.komodo.translog.KafkaNotRunningException: Kafka process died&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;Inside the &lt;strong&gt;server.log&lt;/strong&gt;, found inside &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/service-manager/kafka&lt;/code&gt;, the one or more of following error(s) are shown:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;[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.&amp;lt;engine&amp;gt;-#/####################.log&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;&lt;span class="error"&gt;[YYYY-MM-DD HH:MM:SS,mmm]&lt;/span&gt;&amp;nbsp;ERROR Error while deleting the clean shutdown file in dir &amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs (kafka.server.LogDirFailureChannel)&lt;br /&gt;java.nio.file.AccessDeniedException: &amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs/serviceManager.transaction.&amp;lt;engine&amp;gt;-#/####################.log&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Necessary component files are owned by non-Appian user accounts.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;To check the file permissions inside the environment, run the following:&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Check to see if files are owned by different users inside&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;&lt;/code&gt; .&amp;nbsp;
&lt;ol&gt;
&lt;li&gt;&lt;code&gt;sudo find &amp;lt;Appian_home&amp;gt; -printf &amp;#39;%u:%g\n&amp;#39; | sort -t: -u&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;For High Availability (HA) Sites: &lt;code&gt;sudo find -L &amp;lt;Appian_home&amp;gt; -printf &amp;#39;%u:%g\n&amp;#39; | sort -t: -u&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Change ownership of the affected files to be under the Appian user.&lt;/li&gt;
&lt;li&gt;Attempt &lt;a href="https://docs.appian.com/suite/help/latest/Start_Script.html"&gt;startup&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;If the issue persists, please open a support ticket for further investigation.&lt;span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all self-managed versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed:&amp;nbsp;March 2024&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Tomcat, kafka, zookeeper, permissions, infrastructure, service manager&lt;/div&gt;
</description></item><item><title>[DRAFT SP-9623] Kafka/Zookeeper/Tomcat related data ownership being non-Appian user account prevents services from starting up</title><link>https://community.appian.com/support/w/kb/3495/kb-2314-kafka-zookeeper-tomcat-related-data-ownership-being-non-appian-user-account-prevents-services-from-starting-up/revision/7</link><pubDate>Mon, 04 Mar 2024 21:39:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a7bf5f94-feb3-4483-b12e-43c0fa6e5856</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3495/kb-2314-kafka-zookeeper-tomcat-related-data-ownership-being-non-appian-user-account-prevents-services-from-starting-up#comments</comments><description>Revision 7 posted to Appian Knowledge Base by pauline.delacruz on 3/4/2024 9:39:51 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Users may experience one or more of the following symptoms when starting services.&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span&gt;Zookeeper:&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;The console output shows the following and hangs on startup:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;Starting QuorumPeerMain...&lt;br /&gt;process QuorumPeerMain running&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;waiting for Zookeeper to be available&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;Inside the &lt;strong&gt;zookeeper.log&lt;/strong&gt;, found in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/service-manager/zookeeper&lt;/code&gt;, the following error(s) is shown:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DD HH:MM:SS,mmm [myid:] - ERROR [PurgeTask:o.a.z.s.DatadirCleanupManager$PurgeTask@143] - Error occurred while purging.&lt;br /&gt;org.apache.zookeeper.server.persistence.FileTxnSnapLog$DatadirException: Cannot write to data directory &amp;lt;APPIAN_HOME&amp;gt;/services/data/zookeeper/version-2&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;YYYY-MM-DD HH:MM:SS,mmm [myid:0] - ERROR [main:o.a.z.s.ZooKeeperServerMain@81] - Unable to access datadir, exiting abnormally&lt;br /&gt;org.apache.zookeeper.server.persistence.FileTxnSnapLog$DatadirException: Cannot write to data directory &amp;lt;APPIAN_HOME&amp;gt;/services/data/zookeeper/version-2&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;h3&gt;&lt;span&gt;Kafka:&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span&gt;Upon starting services, the console output shows the following:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;Starting Kafka...&lt;br /&gt;waiting for process Kafka&lt;br /&gt;process Kafka running&lt;br /&gt;local Kafka broker is not registered&lt;br /&gt;&amp;lt;&amp;lt;&amp;lt; Kafka broker initialization failed for localhost:9092. Check the broker logs for more information &amp;gt;&amp;gt;&amp;gt;&lt;br /&gt;Deleting Kafka index files in case initialization failed due to a corrupt index file.&lt;br /&gt;Unable to start service Kafka&lt;br /&gt;com.appian.komodo.translog.KafkaNotRunningException: Kafka process died&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;Inside the &lt;strong&gt;server.log&lt;/strong&gt;, found inside &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/service-manager/kafka&lt;/code&gt;, the one or more of following error(s) are shown:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;[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.&amp;lt;engine&amp;gt;-#/####################.log&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;&lt;span class="error"&gt;[YYYY-MM-DD HH:MM:SS,mmm]&lt;/span&gt;&amp;nbsp;ERROR Error while deleting the clean shutdown file in dir &amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs (kafka.server.LogDirFailureChannel)&lt;br /&gt;java.nio.file.AccessDeniedException: &amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs/serviceManager.transaction.&amp;lt;engine&amp;gt;-#/####################.log&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Necessary component files are owned by non-Appian user accounts.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;To check the file permissions inside the environment, run the following:&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Check to see if files are owned by different users inside &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;&lt;/code&gt;
&lt;ol&gt;
&lt;li&gt;&lt;code&gt;sudo find &amp;lt;Appian_home&amp;gt; -printf &amp;#39;%u:%g\n&amp;#39; | sort -t: -u&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;For High Availability (HA) Sites: &lt;code&gt;sudo find -L &amp;lt;Appian_home&amp;gt; -printf &amp;#39;%u:%g\n&amp;#39; | sort -t: -u&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Change ownership of the affected files to be under the Appian user.&lt;/li&gt;
&lt;li&gt;Attempt &lt;a href="https://docs.appian.com/suite/help/latest/Start_Script.html"&gt;startup&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;If the issue persists, open a support ticket for further investigation.&lt;span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all self-managed versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed:&amp;nbsp;March 2024&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Tomcat, kafka, zookeeper, permissions, infrastructure, service manager&lt;/div&gt;
</description></item><item><title>[DRAFT SP-9623] Kafka/Zookeeper/Tomcat related data ownership being non-Appian user account prevents services from starting up</title><link>https://community.appian.com/support/w/kb/3495/kb-2314-kafka-zookeeper-tomcat-related-data-ownership-being-non-appian-user-account-prevents-services-from-starting-up/revision/6</link><pubDate>Mon, 04 Mar 2024 21:26:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a7bf5f94-feb3-4483-b12e-43c0fa6e5856</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3495/kb-2314-kafka-zookeeper-tomcat-related-data-ownership-being-non-appian-user-account-prevents-services-from-starting-up#comments</comments><description>Revision 6 posted to Appian Knowledge Base by pauline.delacruz on 3/4/2024 9:26:24 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Upon starting services, the console output shows the following:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;Starting Kafka...&lt;br /&gt;waiting for process Kafka&lt;br /&gt;process Kafka running&lt;br /&gt;local Kafka broker is not registered&lt;br /&gt;&amp;lt;&amp;lt;&amp;lt; Kafka broker initialization failed for localhost:9092. Check the broker logs for more information &amp;gt;&amp;gt;&amp;gt;&lt;br /&gt;Deleting Kafka index files in case initialization failed due to a corrupt index file.&lt;br /&gt;Unable to start service Kafka&lt;br /&gt;com.appian.komodo.translog.KafkaNotRunningException: Kafka process died&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;Inside the &lt;strong&gt;server.log&lt;/strong&gt;, found inside &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/service-manager/kafka&lt;/code&gt;, the one or more of following error(s) are shown:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;[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.&amp;lt;engine&amp;gt;-#/####################.log&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;&lt;span class="error"&gt;[YYYY-MM-DD HH:MM:SS,mmm]&lt;/span&gt;&amp;nbsp;ERROR Error while deleting the clean shutdown file in dir &amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs (kafka.server.LogDirFailureChannel)&lt;br /&gt;java.nio.file.AccessDeniedException: &amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs/serviceManager.transaction.&amp;lt;engine&amp;gt;-#/####################.log&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Necessary component files are owned by non-Appian user accounts.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;To check the file permissions inside the environment, run the following:&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Check to see if files are owned by different users inside &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;&lt;/code&gt;
&lt;ol&gt;
&lt;li&gt;&lt;code&gt;sudo find &amp;lt;Appian_home&amp;gt; -printf &amp;#39;%u:%g\n&amp;#39; | sort -t: -u&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;For High Availability (HA) Sites: &lt;code&gt;sudo find -L &amp;lt;Appian_home&amp;gt; -printf &amp;#39;%u:%g\n&amp;#39; | sort -t: -u&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Change ownership of the affected files to be under the Appian user.&lt;/li&gt;
&lt;li&gt;Attempt &lt;a href="https://docs.appian.com/suite/help/latest/Start_Script.html"&gt;startup&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;If the issue persists, open a support ticket for further investigation.&lt;span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all self-managed versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed:&amp;nbsp;March 2024&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Tomcat, kafka, zookeeper, permissions, infrastructure, service manager&lt;/div&gt;
</description></item><item><title>[DRAFT SP-9623] Kafka/Zookeeper/Tomcat related data ownership being non-Appian user account prevents services from starting up</title><link>https://community.appian.com/support/w/kb/3495/kb-2314-kafka-zookeeper-tomcat-related-data-ownership-being-non-appian-user-account-prevents-services-from-starting-up/revision/5</link><pubDate>Mon, 04 Mar 2024 21:20:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a7bf5f94-feb3-4483-b12e-43c0fa6e5856</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3495/kb-2314-kafka-zookeeper-tomcat-related-data-ownership-being-non-appian-user-account-prevents-services-from-starting-up#comments</comments><description>Revision 5 posted to Appian Knowledge Base by pauline.delacruz on 3/4/2024 9:20:30 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Upon starting services, the console output shows the following:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Starting Kafka...&lt;br /&gt;waiting for process Kafka&lt;br /&gt;process Kafka running&lt;br /&gt;local Kafka broker is not registered&lt;br /&gt;&amp;lt;&amp;lt;&amp;lt; Kafka broker initialization failed for localhost:9092. Check the broker logs for more information &amp;gt;&amp;gt;&amp;gt;&lt;br /&gt;Deleting Kafka index files in case initialization failed due to a corrupt index file.&lt;br /&gt;Unable to start service Kafka&lt;br /&gt;com.appian.komodo.translog.KafkaNotRunningException: Kafka process died&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Inside the server.log, the one or more of following error(s) are shown:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;[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.&amp;lt;engine&amp;gt;-#/####################.log&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;&lt;span class="error"&gt;[YYYY-MM-DD HH:MM:SS,mmm]&lt;/span&gt;&amp;nbsp;ERROR Error while deleting the clean shutdown file in dir &amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs (kafka.server.LogDirFailureChannel)&lt;br /&gt;java.nio.file.AccessDeniedException: &amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs/serviceManager.transaction.&amp;lt;engine&amp;gt;-#/####################.log&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Necessary component files are owned by non-Appian user accounts.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;To check the file permissions inside the environment, run the following:&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Check to see if files are owned by different users in Appian_home
&lt;ol&gt;
&lt;li&gt;sudo find &amp;lt;Appian_home&amp;gt; -printf &amp;#39;%u:%g\n&amp;#39; | sort -t: -u&lt;/li&gt;
&lt;li&gt;For High Availability (HA) Sites: sudo find -L &amp;lt;Appian_home&amp;gt; -printf &amp;#39;%u:%g\n&amp;#39; | sort -t: -u&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Change ownership to be under the Appian user&lt;/li&gt;
&lt;li&gt;Attempt startup&lt;/li&gt;
&lt;li&gt;If the issue persists, open a support ticket for further investigation.&lt;span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all self-managed versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed:&amp;nbsp;March 2024&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Tomcat, kafka, zookeeper, permissions, infrastructure, service manager&lt;/div&gt;
</description></item><item><title>[DRAFT SP-9623] Kafka/Zookeeper/Tomcat related data ownership being non-Appian user account prevents services from starting up</title><link>https://community.appian.com/support/w/kb/3495/kb-2314-kafka-zookeeper-tomcat-related-data-ownership-being-non-appian-user-account-prevents-services-from-starting-up/revision/4</link><pubDate>Mon, 04 Mar 2024 19:27:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a7bf5f94-feb3-4483-b12e-43c0fa6e5856</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3495/kb-2314-kafka-zookeeper-tomcat-related-data-ownership-being-non-appian-user-account-prevents-services-from-starting-up#comments</comments><description>Revision 4 posted to Appian Knowledge Base by pauline.delacruz on 3/4/2024 7:27:09 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Upon starting services, the console output shows the following:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;lt;insert image here&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Inside the server.log, the following error is shown:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;&lt;span class="error"&gt;[YYYY-MM-DD HH:MM:SS,mmm]&lt;/span&gt;&amp;nbsp;ERROR Error while deleting the clean shutdown file in dir &amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs (kafka.server.LogDirFailureChannel)&lt;br /&gt;java.nio.file.AccessDeniedException: &amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs/serviceManager.transaction.&amp;lt;engine&amp;gt;-#/####################.log&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;&amp;lt;insert more symptoms here&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Necessary component files are owned by non-Appian user accounts.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;To check the file permissions inside the environment, run the following:&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Check to see if files are owned by different users in Appian_home
&lt;ol&gt;
&lt;li&gt;sudo find &amp;lt;Appian_home&amp;gt; -printf &amp;#39;%u:%g\n&amp;#39; | sort -t: -u&lt;/li&gt;
&lt;li&gt;HA: sudo find -L &amp;lt;Appian_home&amp;gt; -printf &amp;#39;%u:%g\n&amp;#39; | sort -t: -u&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Change ownership to be under the Appian user&lt;/li&gt;
&lt;li&gt;Attempt startup&lt;/li&gt;
&lt;li&gt;If the issue persists, open a support ticket for further investigation.&lt;span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all self-managed versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed:&amp;nbsp;March 2024&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Tomcat, kafka, zookeeper, permissions, infrastructure, service manager&lt;/div&gt;
</description></item><item><title>[DRAFT SP-9623] Kafka/Zookeeper/Tomcat related data ownership being non-Appian user account prevents services from starting up</title><link>https://community.appian.com/support/w/kb/3495/kb-2314-kafka-zookeeper-tomcat-related-data-ownership-being-non-appian-user-account-prevents-services-from-starting-up/revision/3</link><pubDate>Mon, 26 Feb 2024 21:46:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a7bf5f94-feb3-4483-b12e-43c0fa6e5856</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3495/kb-2314-kafka-zookeeper-tomcat-related-data-ownership-being-non-appian-user-account-prevents-services-from-starting-up#comments</comments><description>Revision 3 posted to Appian Knowledge Base by pauline.delacruz on 2/26/2024 9:46:02 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Upon starting services, the console output shows the following:&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Necessary component files are owned by non-Appian user accounts.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;To check the file permissions inside the environment, run the following:&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all self-managed versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: February 2024&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Tomcat, kafka, zookeeper, permissions, infrastructure, service manager&lt;/div&gt;
</description></item><item><title>[DRAFT SP-9623] Kafka/Zookeeper/Tomcat related data ownership being non-Appian user account prevents services from starting up</title><link>https://community.appian.com/support/w/kb/3495/kb-2314-kafka-zookeeper-tomcat-related-data-ownership-being-non-appian-user-account-prevents-services-from-starting-up/revision/2</link><pubDate>Mon, 26 Feb 2024 18:11:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a7bf5f94-feb3-4483-b12e-43c0fa6e5856</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3495/kb-2314-kafka-zookeeper-tomcat-related-data-ownership-being-non-appian-user-account-prevents-services-from-starting-up#comments</comments><description>Revision 2 posted to Appian Knowledge Base by pauline.delacruz on 2/26/2024 6:11:29 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This section is required for this template. All symptoms of the issue, including relevant screenshots and log lines, should be included here.&amp;nbsp;The symptoms should be as descriptive as possible.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This section is required for this template. When writing a cause for a particular article, ensure the following is taken into consideration:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;The cause is concise and does not disclose more information than absolutely necessary.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;The cause does not share any Appian source code. Source code for plugins/shared components are fine.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If this is an issue outside of the Appian product and the third-party vendor included documentation referencing the bug, provide their documentation for reference.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;For any enhancements/defects, use one of the following as applicable:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;This issue has been reported to the Appian Product Team. The reference number for this issue is&amp;nbsp;&lt;strong&gt;AN-XXXXX&lt;/strong&gt;.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;This product use case has been logged to the Appian Product Team for consideration to add this functionality in the product. Kindly note it is not Appian Support&amp;rsquo;s policy to disclose how or when a product use case will be implemented.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;This issue has been hotfixed via&amp;nbsp;&lt;strong&gt;AN-XXXXX&lt;/strong&gt;&amp;nbsp;in Appian X.X.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;This issue has been hotfixed via&amp;nbsp;&lt;strong&gt;AN-XXXXX&amp;nbsp;&lt;/strong&gt;in Appian X.X to X.X.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;This use case has been incorporated in Appian X.X.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;This use case has been incorporated in Appian X.X&amp;nbsp;to X.X.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;When logging a product defect, ensure you use the&amp;nbsp;&lt;strong&gt;known issues&lt;/strong&gt;&amp;nbsp;tag as well as the&amp;nbsp;&lt;strong&gt;open issues&lt;/strong&gt;&amp;nbsp;or&amp;nbsp;&lt;strong&gt;fixed issues&lt;/strong&gt;&amp;nbsp;tag, depending if the issue is fixed or not.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If no cause is known and this is not something Engineering can reproduce/needs to know about, then say &amp;ldquo;The root cause of this issue is currently unknown.&amp;rdquo; If you use that as your cause, then a valid action&amp;nbsp;&lt;/span&gt;&lt;strong&gt;must&lt;/strong&gt;&lt;span&gt;&amp;nbsp;be present.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This section is required for this template and contains the steps to resolve the issue. If an issue in an article is solved by a hotfix and/or major version of Appian, use the following language to indicate that:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;Apply the latest hotfix to your Appian installation.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Upgrade to the latest version of Appian.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Apply the latest hotfix to your Appian installation or upgrade to the latest version of Appian.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;If there is a product issue with Engineering that is open and a workaround for that issue exists, include it in the Action section until the fix is available. After the fix is made available, use that as a workaround instead.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Otherwise, the content in this section should wholly solve a customer&amp;rsquo;s issue without producing any undesirable side effects. If there is at least one valid action that doesn&amp;rsquo;t cause undesirable side effects, all other actions with negative side effects should go in the Workaround section.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If there is no action or workaround that resolves the issue, use the following language:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;There is no action or workaround currently available for this issue. If you are facing this issue, please open a support case with Appian.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all self-managed versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: February 2024&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Tomcat, kafka, zookeeper, permissions, infrastructure, service manager&lt;/div&gt;
</description></item><item><title>[DRAFT SP-9623] Kafka/Zookeeper/Tomcat related data ownership being non-Appian user account prevents services from starting up</title><link>https://community.appian.com/support/w/kb/3495/kb-2314-kafka-zookeeper-tomcat-related-data-ownership-being-non-appian-user-account-prevents-services-from-starting-up/revision/1</link><pubDate>Mon, 26 Feb 2024 18:04:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a7bf5f94-feb3-4483-b12e-43c0fa6e5856</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3495/kb-2314-kafka-zookeeper-tomcat-related-data-ownership-being-non-appian-user-account-prevents-services-from-starting-up#comments</comments><description>Revision 1 posted to Appian Knowledge Base by pauline.delacruz on 2/26/2024 6:04:59 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This section is required for this template. All symptoms of the issue, including relevant screenshots and log lines, should be included here.&amp;nbsp;The symptoms should be as descriptive as possible.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This section is required for this template. When writing a cause for a particular article, ensure the following is taken into consideration:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;The cause is concise and does not disclose more information than absolutely necessary.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;The cause does not share any Appian source code. Source code for plugins/shared components are fine.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;If this is an issue outside of the Appian product and the third-party vendor included documentation referencing the bug, provide their documentation for reference.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;For any enhancements/defects, use one of the following as applicable:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;This issue has been reported to the Appian Product Team. The reference number for this issue is&amp;nbsp;&lt;strong&gt;AN-XXXXX&lt;/strong&gt;.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;This product use case has been logged to the Appian Product Team for consideration to add this functionality in the product. Kindly note it is not Appian Support&amp;rsquo;s policy to disclose how or when a product use case will be implemented.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;This issue has been hotfixed via&amp;nbsp;&lt;strong&gt;AN-XXXXX&lt;/strong&gt;&amp;nbsp;in Appian X.X.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;This issue has been hotfixed via&amp;nbsp;&lt;strong&gt;AN-XXXXX&amp;nbsp;&lt;/strong&gt;in Appian X.X to X.X.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;This use case has been incorporated in Appian X.X.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;This use case has been incorporated in Appian X.X&amp;nbsp;to X.X.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;When logging a product defect, ensure you use the&amp;nbsp;&lt;strong&gt;known issues&lt;/strong&gt;&amp;nbsp;tag as well as the&amp;nbsp;&lt;strong&gt;open issues&lt;/strong&gt;&amp;nbsp;or&amp;nbsp;&lt;strong&gt;fixed issues&lt;/strong&gt;&amp;nbsp;tag, depending if the issue is fixed or not.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If no cause is known and this is not something Engineering can reproduce/needs to know about, then say &amp;ldquo;The root cause of this issue is currently unknown.&amp;rdquo; If you use that as your cause, then a valid action&amp;nbsp;&lt;/span&gt;&lt;strong&gt;must&lt;/strong&gt;&lt;span&gt;&amp;nbsp;be present.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This section is required for this template and contains the steps to resolve the issue. If an issue in an article is solved by a hotfix and/or major version of Appian, use the following language to indicate that:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;Apply the latest hotfix to your Appian installation.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Upgrade to the latest version of Appian.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Apply the latest hotfix to your Appian installation or upgrade to the latest version of Appian.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;If there is a product issue with Engineering that is open and a workaround for that issue exists, include it in the Action section until the fix is available. After the fix is made available, use that as a workaround instead.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Otherwise, the content in this section should wholly solve a customer&amp;rsquo;s issue without producing any undesirable side effects. If there is at least one valid action that doesn&amp;rsquo;t cause undesirable side effects, all other actions with negative side effects should go in the Workaround section.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If there is no action or workaround that resolves the issue, use the following language:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;There is no action or workaround currently available for this issue. If you are facing this issue, please open a support case with Appian.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;span&gt;Workaround&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This section is optional and should only be used as an alternative action if there is a massive technical debt associated with performing the action in the above section for customers (such as upgrading). It can also be used if there is a solution to the issue in the article but is more inconvenient to implement or it causes other undesirable behavior and wouldn&amp;rsquo;t warrant being an action.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all self-managed versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: Month YYYY&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>