<?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/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Hello,  I have noticed cases where executing CHECKENGINE displays some</title><link>https://community.appian.com/discussions/f/administration/4773/hello-i-have-noticed-cases-where-executing-checkengine-displays-some</link><description>Hello, I have noticed cases where executing CHECKENGINE displays some engines with ERROR and a description of GW has restarted &amp;lt;#&amp;gt; times. However, the system is responsive and all automatic and manual checkpoints have succeeded going back 2-3 days. What</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Hello,&lt;br /&gt;&lt;br /&gt;I have noticed cases where executing CHECKENGINE displays some</title><link>https://community.appian.com/thread/17337?ContentTypeID=1</link><pubDate>Wed, 29 Apr 2015 11:08:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ecab86c9-91e4-4c16-b6e5-f47468e006cb</guid><dc:creator>thanosm</dc:creator><description>Eduardo thank you very much for your explanation in this issue.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hello,&lt;br /&gt;&lt;br /&gt;I have noticed cases where executing CHECKENGINE displays some</title><link>https://community.appian.com/thread/17331?ContentTypeID=1</link><pubDate>Wed, 29 Apr 2015 06:50:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:23880cc9-b53e-48e8-a860-a44b18a79330</guid><dc:creator>Eduardo Fuentes</dc:creator><description>As mentioned above an ERROR is a messsage that indicates something went wrong (invalid transaction, couldn&amp;#39;t append transaction,etc) that forced the engine to restart to recover from that state. I doesn&amp;#39;t mean there&amp;#39;s an actual issue at the moment, there was one but the engine was able to successfully recover from that state.&lt;br /&gt;&lt;br /&gt;ERROR messsages are cleared after an engine restart.&lt;br /&gt;&lt;br /&gt;To investigate the issue you do the following:&lt;br /&gt;&lt;br /&gt;1. Review the checkengine output to determine the time when the issue occurred. From your output this happened on:&lt;br /&gt;&lt;br /&gt;20 days 23 hrs ago (2015-04-07 17:26:38.048 GMT)&lt;br /&gt;&lt;br /&gt;for Process-Design &lt;br /&gt;&lt;br /&gt;2. You review the gw_*.log to confirm the restart happened and to see if you can determine the root cause. From your logs I do see the restart in this log but no root cause is explained there&lt;br /&gt;&lt;br /&gt;2015-04-07 17:26:39 [PD1] INFO .a.gw &amp;quot;State transition from [STANDALONE] to [DISCONNECTED]&amp;quot;&lt;br /&gt;2015-04-07 17:27:02 [PD1] INFO .a.gw.ssd &amp;quot;Connected to server&amp;quot;&lt;br /&gt;2015-04-07 17:27:02 [PD1] INFO .a.gw &amp;quot;State transition from [DISCONNECTED] to [ACTIVE JOIN]&amp;quot;&lt;br /&gt;2015-04-07 17:27:03 [PD1] INFO .a.gw.swj &amp;quot;No other gateways configured, switching to [STANDALONE]&amp;quot;&lt;br /&gt;2015-04-07 17:27:03 [PD1] INFO .a.gw &amp;quot;State transition from [ACTIVE JOIN] to [STANDALONE]&amp;quot;&lt;br /&gt;&lt;br /&gt;3. You then review the corresponding db_*.log to find out the root cause using the same time stamp that checkengine provided. From your log the root cause is:&lt;br /&gt;&lt;br /&gt;2015-04-07 17:26:37 [PD1] {pd606.kdb 16576} (Default) ERROR .a.s.loader &amp;quot;Failed to append transaction to DB (&amp;quot;pd606.kdb: The handle is invalid.&amp;quot;), will delay one second and retry once.&amp;quot;&lt;br /&gt;2015-04-07 17:26:38 [PD1] {pd606.kdb 16576} (Default) ERROR .a.s.loader &amp;quot;Retry failed: &amp;quot;pd606.kdb: The handle is invalid.&amp;quot;&amp;quot;&lt;br /&gt;&lt;br /&gt;4. A message of type &amp;quot;The handle is invalid&amp;quot; causes a restart in the engine because it cannot write the transaction to disk because the *.kdb file was locked by an external source.&lt;br /&gt;&lt;br /&gt;5. To prevent the issue make sure your back-up tool, antivirus or any other scanning tool doesn&amp;#39;t lock files that Appian needs. Nothing in the &amp;lt;APPIAN_HOME&amp;gt; directory can be locked at any time otherwise this error will occur.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hello,&lt;br /&gt;&lt;br /&gt;I have noticed cases where executing CHECKENGINE displays some</title><link>https://community.appian.com/thread/17316?ContentTypeID=1</link><pubDate>Tue, 28 Apr 2015 20:50:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:74a4bfc1-564e-4476-9833-bce2a706f50d</guid><dc:creator>thanosm</dc:creator><description>I am attaching the information you requested&lt;br /&gt;&lt;p&gt;&lt;a href="/cfs-filesystemfile/__key/communityserver-discussions-components-files/12/engine_5F00_logs.zip"&gt;engine_logs.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hello,&lt;br /&gt;&lt;br /&gt;I have noticed cases where executing CHECKENGINE displays some</title><link>https://community.appian.com/thread/17315?ContentTypeID=1</link><pubDate>Tue, 28 Apr 2015 20:24:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:567b41eb-9c3f-494b-8360-770200e5f23c</guid><dc:creator>thanosm</dc:creator><description>The check engine log you refer to is just outputting the output of the checkengine.bat script to a file?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hello,&lt;br /&gt;&lt;br /&gt;I have noticed cases where executing CHECKENGINE displays some</title><link>https://community.appian.com/thread/17314?ContentTypeID=1</link><pubDate>Tue, 28 Apr 2015 20:14:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1bd16e06-b6c0-4863-bd90-b97c2034d46c</guid><dc:creator>Alok Mohare</dc:creator><description>Typically, a Gateway restart should not be an issue, unless a gateway is restarting continuously. However, it is still important to address the cause of the Gateway restart, to ensure that the message can be safely dis-regarded (if the gateway restarted a couple of times.&lt;br /&gt;&lt;br /&gt;Also, note that the message will be cleared from the check-engine script, once you do a complete restart of the Appian Engines.&lt;br /&gt;&lt;br /&gt;To investigate the cause of your restart further, can you attach:&lt;br /&gt;a) The complete check-engine log&lt;br /&gt;b) The gw_*.log and db_*.log for one of the Appian Engines where you see the message &amp;quot;Gateway has restarted # times&amp;quot;?&lt;br /&gt;&lt;br /&gt;The check-engine log will provide the time stamp from when the Gateway restart and I would like to check the gw_*.log for the root cause of the Gateway restart.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>