<?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-1000 Issues related to appian.sec file in Appian</title><link>https://community.appian.com/support/w/kb/227/kb-1000-issues-related-to-appian-sec-file-in-appian</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1000 Issues related to appian.sec file in Appian</title><link>https://community.appian.com/support/w/kb/227/kb-1000-issues-related-to-appian-sec-file-in-appian</link><pubDate>Fri, 18 Feb 2022 15:22:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:31f4af8c-df61-40b2-aa34-531c05504a39</guid><dc:creator>Elly Meng</dc:creator><comments>https://community.appian.com/support/w/kb/227/kb-1000-issues-related-to-appian-sec-file-in-appian#comments</comments><description>Current Revision posted to Appian Knowledge Base by Elly Meng on 2/18/2022 3:22:41 PM&lt;br /&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;Users may experience one or more of the following symptoms in their distributed installation:&lt;/p&gt;
&lt;h4 id="symptom-1"&gt;Symptom 1&lt;/h4&gt;
&lt;p&gt;The check engine script&amp;nbsp;&lt;strong&gt;checkengine.bat|sh&lt;/strong&gt;,&amp;nbsp;located in&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/diagnostic&lt;/code&gt;, is used to monitor the status of the engines.&lt;/p&gt;
&lt;p&gt;In a dual gateway setup, the output of &lt;strong&gt;checkengine.bat|sh&lt;/strong&gt; on each engine server reports only 0/2 or 1/2 active gateways and a server timeout after 30 seconds message. This is indicative of one set of gateways being unable to communicate with the other.&lt;/p&gt;
&lt;p&gt;For example, the &lt;strong&gt;checkengine.bat|sh&lt;/strong&gt; output for Process-Exec02 on server 1 shows:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Process-Exec02   1/2     * ERROR     Server timeout (30 sec.) on GW2.
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The &lt;strong&gt;checkengine.bat|sh&lt;/strong&gt; output on server 2 shows:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Process-Exec02    1/2     * ERROR Server timeout (30 sec.) on GW1.
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;After enabling DEBUG logging (see &lt;a href="https://docs.appian.com/suite/help/latest/Customizing_Application_Logging.html"&gt;Application Engine and Gateway Logging&lt;/a&gt; for more information), the following can be seen in &lt;strong&gt;gw_*.log&lt;/strong&gt;:&lt;/p&gt;
&lt;pre&gt;2015-07-20 08:51:29 [CH1] INFO .a.gw &amp;quot;State transition from [DISCONNECTED] to [ACTIVE JOIN]&amp;quot;
2015-07-20 08:51:30 [CH1] DEBUG .a.gw.swj &amp;quot;I am (`&amp;quot;XX.XXX.X.XXX&amp;quot;;XXXX)&amp;quot;
2015-07-20 08:51:30 [CH1] INFO .a.gw.swj &amp;quot;Join attempt #1 to XXXX:XXXX&amp;quot;
2015-07-20 08:51:30 [CH1] DEBUG .a.gw.swj &amp;quot;cc _w=4&amp;quot;
2015-07-20 08:51:40 [CH1] DEBUG .a.gw.swj &amp;quot;I am (`&amp;quot;XX.XXX.X.XXX&amp;quot;;XXXX)&amp;quot;
...
2015-07-20 08:52:20 [CH1] INFO .a.gw.swj &amp;quot;Join attempt #6 to XXXX:XXXX&amp;quot;
2015-07-20 08:52:20 [CH1] DEBUG .a.gw.swj &amp;quot;cc _w=4&amp;quot;
2015-07-20 08:52:21 [CH1] INFO .a.gw.swj &amp;quot;Switching to [STANDALONE] after 6 join attempts&amp;quot;
2015-07-20 08:52:21 [CH1] INFO .a.gw &amp;quot;State transition from [ACTIVE JOIN] to [STANDALONE]&amp;quot;
&lt;/pre&gt;
&lt;h4 id="symptom-2"&gt;Symptom 2&lt;/h4&gt;
&lt;p&gt;On deploying a hotfix to a distributed environment, the following error is seen in the application server log:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ERROR com.appiancorp.kougar.driver.ipc.IpcConnection - Failure to read socket: personalization (XXX.XXX.XXX.XXX:XXXX)
java.io.EOFException: Socket returned no more data at end of stream: personalization (XXX.XXX.XXX.XXX:XXXX)
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id="cause"&gt;Cause&lt;code&gt; &lt;br /&gt;&lt;/code&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;The &lt;strong&gt;appian.sec&lt;/strong&gt; file (if present) is different between the two servers.&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;For Appian 18.2 and earlier, the appian.sec file is located under &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/conf&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;For Appian 18.3 and later, the appian.sec file is located under &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/conf&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The machines hosting the gateways cannot communicate with each other.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Copy the correct &lt;strong&gt;appian.sec&lt;/strong&gt; file to all the machines in the environment. Perform a full restart of the environment, including application server, search server, and engines.&lt;/li&gt;
&lt;li&gt;Confirm that the machines hosting the gateways are able to communicate with each other by using a network utility such as telnet.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;February 2022&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: engines, installation, infrastructure&lt;/div&gt;
</description></item><item><title>KB-1000 Issues related to appian.sec file in Appian</title><link>https://community.appian.com/support/w/kb/227/kb-1000-issues-related-to-appian-sec-file-in-appian/revision/1</link><pubDate>Thu, 09 Feb 2017 21:56:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:31f4af8c-df61-40b2-aa34-531c05504a39</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/227/kb-1000-issues-related-to-appian-sec-file-in-appian#comments</comments><description>Revision 1 posted to Appian Knowledge Base by Nick Vigilante on 2/9/2017 9:56:51 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;Users may experience one or more of the following symptoms in their distributed installation:&lt;/p&gt;
&lt;h4 id="symptom-1"&gt;Symptom 1&lt;/h4&gt;
&lt;p&gt;The check engine script, &lt;strong&gt;checkengine.bat|sh&lt;/strong&gt; located in&amp;nbsp;&lt;span style="background-color:#f2f2f2;font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/diagnostic&lt;/span&gt;, is used to monitor the status of the engines.&lt;/p&gt;
&lt;p&gt;In a dual gateway setup, the output of &lt;strong&gt;checkengine.bat|sh&lt;/strong&gt; on each engine server reports only 0/2 or 1/2 active gateways and a server timeout after 30 seconds message. This is indicative of one set of gateways being unable to communicate with the other.&lt;/p&gt;
&lt;p&gt;For example, the &lt;strong&gt;checkengine.bat|sh&lt;/strong&gt; output for Process-Exec02 on server 1 shows:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Process-Exec02   1/2     * ERROR     Server timeout (30 sec.) on GW2.
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The &lt;strong&gt;checkengine.bat|sh&lt;/strong&gt; output on server 2 shows:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Process-Exec02    1/2     * ERROR Server timeout (30 sec.) on GW1.
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;After enabling DEBUG logging (see &lt;a href="https://docs.appian.com/suite/help/17.1/Customizing_Application_Logging.html"&gt;Application Engine and Gateway Logging&lt;/a&gt; for more information), the following can be seen in &lt;strong&gt;gw_*.log&lt;/strong&gt;:&lt;/p&gt;
&lt;pre&gt;2015-07-20 08:51:29 [CH1] INFO .a.gw &amp;quot;State transition from [DISCONNECTED] to [ACTIVE JOIN]&amp;quot;
2015-07-20 08:51:30 [CH1] DEBUG .a.gw.swj &amp;quot;I am (`&amp;quot;XX.XXX.X.XXX&amp;quot;;XXXX)&amp;quot;
2015-07-20 08:51:30 [CH1] INFO .a.gw.swj &amp;quot;Join attempt #1 to XXXX:XXXX&amp;quot;
2015-07-20 08:51:30 [CH1] DEBUG .a.gw.swj &amp;quot;cc _w=4&amp;quot;
2015-07-20 08:51:40 [CH1] DEBUG .a.gw.swj &amp;quot;I am (`&amp;quot;XX.XXX.X.XXX&amp;quot;;XXXX)&amp;quot;
...
2015-07-20 08:52:20 [CH1] INFO .a.gw.swj &amp;quot;Join attempt #6 to XXXX:XXXX&amp;quot;
2015-07-20 08:52:20 [CH1] DEBUG .a.gw.swj &amp;quot;cc _w=4&amp;quot;
2015-07-20 08:52:21 [CH1] INFO .a.gw.swj &amp;quot;Switching to [STANDALONE] after 6 join attempts&amp;quot;
2015-07-20 08:52:21 [CH1] INFO .a.gw &amp;quot;State transition from [ACTIVE JOIN] to [STANDALONE]&amp;quot;
&lt;/pre&gt;
&lt;h4 id="symptom-2"&gt;Symptom 2&lt;/h4&gt;
&lt;p&gt;On deploying a hotfix to a distributed environment, the following error, for example, is seen in the application server log:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ERROR com.appiancorp.kougar.driver.ipc.IpcConnection - Failure to read socket: personalization (XXX.XXX.XXX.XXX:XXXX)
java.io.EOFException: Socket returned no more data at end of stream: personalization (XXX.XXX.XXX.XXX:XXXX)
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;The following are possible causes for these symptoms:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The &lt;strong&gt;appian.sec&lt;/strong&gt; file in the &lt;span style="background-color:#f2f2f2;font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/conf&lt;/span&gt; directory (if present) is different between the two servers. The configure script in the newer versions deploys this file at the ear/suite.ear/conf location&lt;/li&gt;
&lt;li&gt;The machines hosting the gateways cannot communicate with each other.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Copy the correct &lt;strong&gt;appian.sec&lt;/strong&gt; files located in &lt;span style="background-color:#f2f2f2;font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/conf&lt;/span&gt; to all the machines in the environment. Perform a full restart of the environment, including application server, search server, and engines.&lt;/li&gt;
&lt;li&gt;Confirm that the machines hosting the gateways are able to communicate with each other by using a network utility such as telnet.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;February 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: engines, installation&lt;/div&gt;
</description></item><item><title>KB-1000 Issues related to appian.sec file in Appian</title><link>https://community.appian.com/support/w/kb/227/kb-1000-issues-related-to-appian-sec-file-in-appian/revision/2</link><pubDate>Thu, 09 Feb 2017 17:49:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:31f4af8c-df61-40b2-aa34-531c05504a39</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/227/kb-1000-issues-related-to-appian-sec-file-in-appian#comments</comments><description>Revision 2 posted to Appian Knowledge Base by Nick Vigilante on 2/9/2017 5:49:15 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;Users may experience one or more of the following symptoms in their distributed installation:&lt;/p&gt;
&lt;h4 id="symptom-1"&gt;Symptom 1&lt;/h4&gt;
&lt;p&gt;The check engine script, &lt;strong&gt;checkengine.bat|sh&lt;/strong&gt; located in&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/diagnostic&lt;/code&gt;, is used to monitor the status of the engines.&lt;/p&gt;
&lt;p&gt;In a dual gateway setup, the output of &lt;strong&gt;checkengine.bat|sh&lt;/strong&gt; on each engine server reports only 0/2 or 1/2 active gateways and a server timeout after 30 seconds message. This is indicative of one set of gateways being unable to communicate with the other.&lt;/p&gt;
&lt;p&gt;For example, the &lt;strong&gt;checkengine.bat|sh&lt;/strong&gt; output for Process-Exec02 on server 1 shows:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Process-Exec02   1/2     * ERROR     Server timeout (30 sec.) on GW2.
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The &lt;strong&gt;checkengine.bat|sh&lt;/strong&gt; output on server 2 shows:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Process-Exec02    1/2     * ERROR Server timeout (30 sec.) on GW1.
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;After enabling DEBUG logging (see &lt;a href="https://docs.appian.com/suite/help/latest/Customizing_Application_Logging.html"&gt;Application Engine and Gateway Logging&lt;/a&gt; for more information), the following can be seen in &lt;strong&gt;gw_*.log&lt;/strong&gt;:&lt;/p&gt;
&lt;pre&gt;2015-07-20 08:51:29 [CH1] INFO .a.gw &amp;quot;State transition from [DISCONNECTED] to [ACTIVE JOIN]&amp;quot;
2015-07-20 08:51:30 [CH1] DEBUG .a.gw.swj &amp;quot;I am (`&amp;quot;XX.XXX.X.XXX&amp;quot;;XXXX)&amp;quot;
2015-07-20 08:51:30 [CH1] INFO .a.gw.swj &amp;quot;Join attempt #1 to XXXX:XXXX&amp;quot;
2015-07-20 08:51:30 [CH1] DEBUG .a.gw.swj &amp;quot;cc _w=4&amp;quot;
2015-07-20 08:51:40 [CH1] DEBUG .a.gw.swj &amp;quot;I am (`&amp;quot;XX.XXX.X.XXX&amp;quot;;XXXX)&amp;quot;
...
2015-07-20 08:52:20 [CH1] INFO .a.gw.swj &amp;quot;Join attempt #6 to XXXX:XXXX&amp;quot;
2015-07-20 08:52:20 [CH1] DEBUG .a.gw.swj &amp;quot;cc _w=4&amp;quot;
2015-07-20 08:52:21 [CH1] INFO .a.gw.swj &amp;quot;Switching to [STANDALONE] after 6 join attempts&amp;quot;
2015-07-20 08:52:21 [CH1] INFO .a.gw &amp;quot;State transition from [ACTIVE JOIN] to [STANDALONE]&amp;quot;
&lt;/pre&gt;
&lt;h4 id="symptom-2"&gt;Symptom 2&lt;/h4&gt;
&lt;p&gt;On deploying a hotfix to a distributed environment, the following error, for example, is seen in the application server log:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ERROR com.appiancorp.kougar.driver.ipc.IpcConnection - Failure to read socket: personalization (XXX.XXX.XXX.XXX:XXXX)
java.io.EOFException: Socket returned no more data at end of stream: personalization (XXX.XXX.XXX.XXX:XXXX)
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;The following are possible causes for these symptoms:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The &lt;strong&gt;appian.sec&lt;/strong&gt; file (if present) in the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/conf&lt;/code&gt; directory is different between the two servers. The configure script in the newer versions deploys this file&amp;nbsp;to&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/conf&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;The machines hosting the gateways cannot communicate with each other.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Copy the correct &lt;strong&gt;appian.sec&lt;/strong&gt; files located in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/conf&lt;/code&gt; to all the machines in the environment. Perform a full restart of the environment, including application server, search server, and engines.&lt;/li&gt;
&lt;li&gt;Confirm that the machines hosting the gateways are able to communicate with each other by using a network utility such as telnet.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;February 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: engines, installation&lt;/div&gt;
</description></item></channel></rss>