<?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-1211 "Inconsistent DBID on GW1" error thrown in checkengine script</title><link>https://community.appian.com/support/w/kb/426/kb-1211-inconsistent-dbid-on-gw1-error-thrown-in-checkengine-script</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1211 "Inconsistent DBID on GW1" error thrown in checkengine script</title><link>https://community.appian.com/support/w/kb/426/kb-1211-inconsistent-dbid-on-gw1-error-thrown-in-checkengine-script</link><pubDate>Tue, 10 Apr 2018 11:14:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c9282903-09cb-40d9-98c6-f3a2afc65502</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/426/kb-1211-inconsistent-dbid-on-gw1-error-thrown-in-checkengine-script#comments</comments><description>Current Revision posted to Appian Knowledge Base by Nick Vigilante on 4/10/2018 11:14:25 AM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;One or more Appian&amp;nbsp;engines fail to start. The output of &lt;strong&gt;checkengine.(bat|sh)&lt;/strong&gt; shows the following:&lt;/p&gt;
&lt;pre&gt;Inconsistent DBID on GW1. Server Database ID: XXXX, Gateway Database ID: ON
&lt;/pre&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-11/pastedimage1488833184176v1.png"&gt;&lt;img src="/resized-image/__size/1200x532532/__key/communityserver-wikis-components-files/00-00-00-00-11/pastedimage1488833184176v1.png" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;If this is a migration, this error indicates the environment was not fully stopped before copying the engine database files *.kdb to the new Appian version.&lt;/p&gt;
&lt;p&gt;For other scenarios where there&amp;rsquo;s no migration involved, the root cause is usually that Appian was shut down incorrectly or suddenly without completing the checkpoint.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;If this is not the result of a migration, perform the following:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Stop Appian per &lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html"&gt;Starting and Stopping Appian&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;REQUIRED:&lt;/strong&gt; If running Appian 16.2 or 16.3, apply the latest hotfix.&lt;/li&gt;
&lt;li&gt;Run the &lt;a href="https://docs.appian.com/suite/help/17.2/Appian_Engine_Repair.html" target="_blank"&gt;repair script&lt;/a&gt; located in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools&lt;/code&gt; to fix the &lt;strong&gt;.kdb&lt;/strong&gt; files for those engines with issues. &lt;strong&gt;Note:&lt;/strong&gt; If the repair script successfully identifies that a KDB is in need of repair, it will create a &lt;strong&gt;.repaired&lt;/strong&gt; file, which is the original file with some transactions dropped.&lt;/li&gt;
&lt;li&gt;Rename the &lt;strong&gt;.repaired&lt;/strong&gt; file to a higher numbered KDB. For instance, if the file is named&amp;nbsp;&lt;strong&gt;pe445.kdb&lt;/strong&gt;&lt;strong&gt;.repaired&lt;/strong&gt;, you can rename it to &lt;strong&gt;pe446.kdb&lt;/strong&gt; or&amp;nbsp;&lt;strong&gt;pe500.kdb&lt;/strong&gt;. Just ensure that the repaired KDB is the highest numbered KDB in the list for that engine.&amp;nbsp;In most instances, the &lt;strong&gt;.repaired&lt;/strong&gt; file will be missing data as expected (since the repair script truncates invalid transactions), so the new KDB will need to be tested for integrity.&lt;/li&gt;
&lt;li&gt;Start Appian. Run &lt;a href="https://docs.appian.com/suite/help/latest/Troubleshooting_with_Diagnostic_Scripts.html"&gt;&lt;strong&gt;checkengine.(bat|sh)&lt;/strong&gt;&lt;/a&gt; to ensure the engine starts up successfully.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;For migrations, the solution is to fully stop the source environment with &lt;strong&gt;stop-suite.(bat|sh)&lt;/strong&gt; and perform the migration again.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Warning:&lt;/strong&gt;&amp;nbsp;Renaming .kdb files is not supported beyond what is documented in Appian documentation, the Appian Playbook, and KB articles.&lt;/p&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to versions 17.2 and earlier.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;April 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, engines, scripts&lt;/div&gt;
</description></item><item><title>KB-1211 "Inconsistent DBID on GW1" error thrown in checkengine script</title><link>https://community.appian.com/support/w/kb/426/kb-1211-inconsistent-dbid-on-gw1-error-thrown-in-checkengine-script/revision/6</link><pubDate>Tue, 10 Apr 2018 09:58:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c9282903-09cb-40d9-98c6-f3a2afc65502</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/426/kb-1211-inconsistent-dbid-on-gw1-error-thrown-in-checkengine-script#comments</comments><description>Revision 6 posted to Appian Knowledge Base by Nick Vigilante on 4/10/2018 9:58:08 AM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;One or more Appian&amp;nbsp;engines fail to start. The output of &lt;strong&gt;checkengine.(bat|sh)&lt;/strong&gt; shows the following:&lt;/p&gt;
&lt;pre&gt;Inconsistent DBID on GW1. Server Database ID: XXXX, Gateway Database ID: ON
&lt;/pre&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-11/pastedimage1488833184176v1.png"&gt;&lt;img src="/resized-image/__size/1200x532532/__key/communityserver-wikis-components-files/00-00-00-00-11/pastedimage1488833184176v1.png" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;If this is a migration, this error indicates the environment was not fully stopped before copying the engine database files *.kdb to the new Appian version.&lt;/p&gt;
&lt;p&gt;For other scenarios where there&amp;rsquo;s no migration involved, the root cause is usually that Appian was shut down incorrectly or suddenly without completing the checkpoint.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;If this is not the result of a migration, perform the following:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Stop Appian per &lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html"&gt;Starting and Stopping Appian&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;REQUIRED:&lt;/strong&gt; If running Appian 16.2 or 16.3, apply the latest hotfix.&lt;/li&gt;
&lt;li&gt;Run the &lt;a href="https://docs.appian.com/suite/help/17.2/Appian_Engine_Repair.html" target="_blank"&gt;repair script&lt;/a&gt; located in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools&lt;/code&gt; to fix the &lt;strong&gt;.kdb&lt;/strong&gt; files for those engines with issues. &lt;strong&gt;Note:&lt;/strong&gt; If the repair script successfully identifies that a KDB is in need of repair, it will create a &lt;strong&gt;.repaired&lt;/strong&gt; file, which is the original file with some transactions dropped.&lt;/li&gt;
&lt;li&gt;Rename the &lt;strong&gt;.repaired&lt;/strong&gt; file to a higher numbered KDB. For instance, if the file is named&amp;nbsp;&lt;strong&gt;pe445.kdb&lt;/strong&gt;&lt;strong&gt;.repaired&lt;/strong&gt;, you can rename it to &lt;strong&gt;pe446.kdb&lt;/strong&gt; or&amp;nbsp;&lt;strong&gt;pe500.kdb&lt;/strong&gt;. Just ensure that the repaired KDB is the highest numbered KDB in the list for that engine.&amp;nbsp;In most instances, the &lt;strong&gt;.repaired&lt;/strong&gt; file will be missing data as expected (since the repair script truncates invalid transactions), so the new KDB will need to be tested for integrity.&lt;/li&gt;
&lt;li&gt;Start Appian. Run &lt;a href="https://docs.appian.com/suite/help/latest/Troubleshooting_with_Diagnostic_Scripts.html"&gt;&lt;strong&gt;checkengine.(bat|sh)&lt;/strong&gt;&lt;/a&gt; to ensure the engine starts up successfully.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;For migrations, the solution is to fully stop the source environment with &lt;strong&gt;stop-suite.(bat|sh)&lt;/strong&gt; and perform the migration again.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Warning:&lt;/strong&gt;&amp;nbsp;Renaming .kdb files is not supported beyond what is documented in Appian documentation, the Appian Playbook, and KB articles.&lt;/p&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to versions 17.2 and earlier.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed: December 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, engines, scripts&lt;/div&gt;
</description></item><item><title>KB-1211 "Inconsistent DBID on GW1" error thrown in checkengine script</title><link>https://community.appian.com/support/w/kb/426/kb-1211-inconsistent-dbid-on-gw1-error-thrown-in-checkengine-script/revision/5</link><pubDate>Wed, 06 Dec 2017 17:51:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c9282903-09cb-40d9-98c6-f3a2afc65502</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/426/kb-1211-inconsistent-dbid-on-gw1-error-thrown-in-checkengine-script#comments</comments><description>Revision 5 posted to Appian Knowledge Base by Parmida Borhani on 12/6/2017 5:51:25 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;One or more Appian&amp;nbsp;engines fail to start. The output of &lt;strong&gt;checkengine.(bat|sh)&lt;/strong&gt; shows the following:&lt;/p&gt;
&lt;pre&gt;Inconsistent DBID on GW1. Server Database ID: XXXX, Gateway Database ID: ON
&lt;/pre&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-11/pastedimage1488833184176v1.png"&gt;&lt;img src="/resized-image/__size/1200x532532/__key/communityserver-wikis-components-files/00-00-00-00-11/pastedimage1488833184176v1.png" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;If this is a migration, this error indicates the environment was not fully stopped before copying the engine database files *.kdb to the new Appian version.&lt;/p&gt;
&lt;p&gt;For other scenarios where there&amp;rsquo;s no migration involved, the root cause is usually that Appian was shut down incorrectly or suddenly without completing the checkpoint.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;If this is not the result of a migration, perform the following:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Stop Appian per &lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html"&gt;Starting and Stopping Appian&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;REQUIRED:&lt;/strong&gt; If running Appian 16.2 or 16.3, apply the latest hotfix.&lt;/li&gt;
&lt;li&gt;Run the &lt;a href="https://docs.appian.com/suite/help/latest/Appian_Engine_Repair.html"&gt;repair script&lt;/a&gt; located in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools&lt;/code&gt; to fix the &lt;strong&gt;.kdb&lt;/strong&gt; files for those engines with issues. &lt;strong&gt;Note:&lt;/strong&gt; If the repair script successfully identifies that a KDB is in need of repair, it will create a &lt;strong&gt;.repaired&lt;/strong&gt; file, which is the original file with some transactions dropped.&lt;/li&gt;
&lt;li&gt;Rename the &lt;strong&gt;.repaired&lt;/strong&gt; file to a higher numbered KDB. For instance, if the file is named&amp;nbsp;&lt;strong&gt;pe445.kdb&lt;/strong&gt;&lt;strong&gt;.repaired&lt;/strong&gt;, you can rename it to &lt;strong&gt;pe446.kdb&lt;/strong&gt; or&amp;nbsp;&lt;strong&gt;pe500.kdb&lt;/strong&gt;. Just ensure that the repaired KDB is the highest numbered KDB in the list for that engine.&amp;nbsp;In most instances, the &lt;strong&gt;.repaired&lt;/strong&gt; file will be missing data as expected (since the repair script truncates invalid transactions), so the new KDB will need to be tested for integrity.&lt;/li&gt;
&lt;li&gt;Start Appian. Run &lt;a href="https://docs.appian.com/suite/help/latest/Troubleshooting_with_Diagnostic_Scripts.html"&gt;&lt;strong&gt;checkengine.(bat|sh)&lt;/strong&gt;&lt;/a&gt; to ensure the engine starts up successfully.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;For migrations, the solution is to fully stop the source environment with &lt;strong&gt;stop-suite.(bat|sh)&lt;/strong&gt; and perform the migration again.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Warning:&lt;/strong&gt;&amp;nbsp;Renaming .kdb files is not supported beyond what is documented in Appian documentation, the Appian Playbook, and KB articles.&lt;/p&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to versions 17.2 and earlier.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed: December 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, engines, scripts&lt;/div&gt;
</description></item><item><title>KB-1211 "Inconsistent DBID on GW1" error thrown in checkengine script</title><link>https://community.appian.com/support/w/kb/426/kb-1211-inconsistent-dbid-on-gw1-error-thrown-in-checkengine-script/revision/4</link><pubDate>Wed, 15 Nov 2017 01:13:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c9282903-09cb-40d9-98c6-f3a2afc65502</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/426/kb-1211-inconsistent-dbid-on-gw1-error-thrown-in-checkengine-script#comments</comments><description>Revision 4 posted to Appian Knowledge Base by Parmida Borhani on 11/15/2017 1:13:16 AM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;One or more Appian&amp;nbsp;engines fail to start. The output of &lt;strong&gt;checkengine.(bat|sh)&lt;/strong&gt; shows the following:&lt;/p&gt;
&lt;pre&gt;Inconsistent DBID on GW1. Server Database ID: XXXX, Gateway Database ID: ON
&lt;/pre&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-11/pastedimage1488833184176v1.png"&gt;&lt;img src="/resized-image/__size/1200x532532/__key/communityserver-wikis-components-files/00-00-00-00-11/pastedimage1488833184176v1.png" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;If this is a migration, this error indicates the environment was not fully stopped before copying the engine database files *.kdb to the new Appian version.&lt;/p&gt;
&lt;p&gt;For other scenarios where there&amp;rsquo;s no migration involved, the root cause is usually that Appian was shut down incorrectly or suddenly without completing the checkpoint.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;If this is not the result of a migration, perform the following:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Stop Appian per &lt;a href="https://docs.appian.com/suite/help/latest/Starting_and_Stopping_Appian.html"&gt;Starting and Stopping Appian&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;REQUIRED:&lt;/strong&gt; If running Appian 16.2 or 16.3, apply the latest hotfix.&lt;/li&gt;
&lt;li&gt;Run the &lt;a href="https://docs.appian.com/suite/help/latest/Appian_Engine_Repair.html"&gt;repair script&lt;/a&gt; located in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools&lt;/code&gt; to fix the &lt;strong&gt;.kdb&lt;/strong&gt; files for those engines with issues. &lt;strong&gt;Note:&lt;/strong&gt; If the repair script successfully identifies that a KDB is in need of repair, it will create a &lt;strong&gt;.repaired&lt;/strong&gt; file, which is the original file with some transactions dropped.&lt;/li&gt;
&lt;li&gt;Rename the &lt;strong&gt;.repaired&lt;/strong&gt; file to a higher numbered KDB. For instance, if the file is named&amp;nbsp;&lt;strong&gt;pe445.kdb&lt;/strong&gt;&lt;strong&gt;.repaired&lt;/strong&gt;, you can rename it to &lt;strong&gt;pe446.kdb&lt;/strong&gt; or&amp;nbsp;&lt;strong&gt;pe500.kdb&lt;/strong&gt;. Just ensure that the repaired KDB is the highest numbered KDB in the list for that engine.&amp;nbsp;In most instances, the &lt;strong&gt;.repaired&lt;/strong&gt; file will be missing data as expected (since the repair script truncates invalid transactions), so the new KDB will need to be tested for integrity.&lt;/li&gt;
&lt;li&gt;Start Appian. Run &lt;a href="https://docs.appian.com/suite/help/latest/Troubleshooting_with_Diagnostic_Scripts.html"&gt;&lt;strong&gt;checkengine.(bat|sh)&lt;/strong&gt;&lt;/a&gt; to ensure the engine starts up successfully.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;For migrations, the solution is to fully stop the source environment with &lt;strong&gt;stop-suite.(bat|sh)&lt;/strong&gt; and perform the migration again.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Warning:&lt;/strong&gt;&amp;nbsp;Renaming .kdb files is not supported beyond what is documented in Appian documentation, the Appian Playbook, and KB articles.&lt;/p&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: November 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, engines, scripts&lt;/div&gt;
</description></item><item><title>KB-1211 "Inconsistent DBID on GW1" error thrown in checkengine script</title><link>https://community.appian.com/support/w/kb/426/kb-1211-inconsistent-dbid-on-gw1-error-thrown-in-checkengine-script/revision/3</link><pubDate>Wed, 12 Jul 2017 08:44:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c9282903-09cb-40d9-98c6-f3a2afc65502</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/426/kb-1211-inconsistent-dbid-on-gw1-error-thrown-in-checkengine-script#comments</comments><description>Revision 3 posted to Appian Knowledge Base by Nick Vigilante on 7/12/2017 8:44:35 AM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;One or more Appian&amp;nbsp;engines fail to start. The output of &lt;strong&gt;checkengine.(bat|sh)&lt;/strong&gt; shows the following:&lt;/p&gt;
&lt;pre&gt;Inconsistent DBID on GW1. Server Database ID: XXXX, Gateway Database ID: ON
&lt;/pre&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-11/pastedimage1488833184176v1.png"&gt;&lt;img src="/resized-image/__size/1200x532532/__key/communityserver-wikis-components-files/00-00-00-00-11/pastedimage1488833184176v1.png" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;If this is a migration, this error indicates the environment was not fully stopped before copying the engine database files *.kdb to the new Appian version.&lt;/p&gt;
&lt;p&gt;For other scenarios where there&amp;rsquo;s no migration involved, the root cause is usually that Appian was shut down incorrectly or suddenly without completing the checkpoint.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;If this is not the result of a migration, perform the following:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Stop Appian per &lt;a href="https://docs.appian.com/suite/help/17.1/Starting_and_Stopping_Appian.html"&gt;Starting and Stopping Appian&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;REQUIRED:&lt;/strong&gt; If running Appian 16.2 or 16.3, apply the latest hotfix.&lt;/li&gt;
&lt;li&gt;Run the &lt;a href="https://docs.appian.com/suite/help/17.1/Appian_Engine_Repair.html"&gt;repair script&lt;/a&gt; located in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools&lt;/code&gt; to fix the &lt;strong&gt;.kdb&lt;/strong&gt; files for those engines with issues. &lt;strong&gt;Note:&lt;/strong&gt; If the repair script successfully identifies that a KDB is in need of repair, it will create a &lt;strong&gt;.repaired&lt;/strong&gt; file, which is the original file with some transactions dropped.&lt;/li&gt;
&lt;li&gt;Rename the &lt;strong&gt;.repaired&lt;/strong&gt; file to a higher numbered KDB. For instance, if the file is named&amp;nbsp;&lt;strong&gt;pe445.kdb&lt;/strong&gt;&lt;strong&gt;.repaired&lt;/strong&gt;, you can rename it to &lt;strong&gt;pe446.kdb&lt;/strong&gt; or&amp;nbsp;&lt;strong&gt;pe500.kdb&lt;/strong&gt;. Just ensure that the repaired KDB is the highest numbered KDB in the list for that engine.&amp;nbsp;In most instances, the &lt;strong&gt;.repaired&lt;/strong&gt; file will be missing data as expected (since the repair script truncates invalid transactions), so the new KDB will need to be tested for integrity.&lt;/li&gt;
&lt;li&gt;Start Appian. Run &lt;a href="https://docs.appian.com/suite/help/17.1/Troubleshooting_with_Diagnostic_Scripts.html"&gt;&lt;strong&gt;checkengine.(bat|sh)&lt;/strong&gt;&lt;/a&gt; to ensure the engine starts up successfully.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;For migrations, the solution is to fully stop the source environment with &lt;strong&gt;stop-suite.(bat|sh)&lt;/strong&gt; and perform the migration again.&lt;/p&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: July 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, engines, scripts&lt;/div&gt;
</description></item><item><title>KB-1211 "Inconsistent DBID on GW1" error thrown in checkengine script</title><link>https://community.appian.com/support/w/kb/426/kb-1211-inconsistent-dbid-on-gw1-error-thrown-in-checkengine-script/revision/2</link><pubDate>Tue, 11 Jul 2017 10:42:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c9282903-09cb-40d9-98c6-f3a2afc65502</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/426/kb-1211-inconsistent-dbid-on-gw1-error-thrown-in-checkengine-script#comments</comments><description>Revision 2 posted to Appian Knowledge Base by Nick Vigilante on 7/11/2017 10:42:49 AM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;One or more Appian&amp;nbsp;engines fail to start. The output of &lt;strong&gt;checkengine.(bat|sh)&lt;/strong&gt; shows the following:&lt;/p&gt;
&lt;pre&gt;Inconsistent DBID on GW1. Server Database ID: XXXX, Gateway Database ID: ON
&lt;/pre&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-11/pastedimage1488833184176v1.png"&gt;&lt;img src="/resized-image/__size/1200x532532/__key/communityserver-wikis-components-files/00-00-00-00-11/pastedimage1488833184176v1.png" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;If this is a migration, this error indicates the environment was not fully stopped before copying the engine database files *.kdb to the new Appian version.&lt;/p&gt;
&lt;p&gt;For other scenarios where there&amp;rsquo;s no migration involved, the root cause is usually that Appian was shut down incorrectly or suddenly without completing the checkpoint.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;If this is not the result of a migration, perform the following:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Stop Appian per &lt;a href="https://docs.appian.com/suite/help/17.1/Starting_and_Stopping_Appian.html"&gt;Starting and Stopping Appian&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;REQUIRED:&lt;/strong&gt; If running Appian 16.2 or 16.3, apply the latest hotfix.&lt;/li&gt;
&lt;li&gt;Run the &lt;a href="https://docs.appian.com/suite/help/17.1/Appian_Engine_Repair.html"&gt;repair script&lt;/a&gt; located in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools&lt;/code&gt; to fix the &lt;strong&gt;.kdb&lt;/strong&gt; files for those engines with issues. &lt;strong&gt;Note:&lt;/strong&gt; If the repair script successfully identifies that a KDB is in need of repair, it will create a &lt;strong&gt;.repaired&lt;/strong&gt; file, which is the original file with some transactions dropped.&lt;/li&gt;
&lt;li&gt;Rename the &lt;strong&gt;.repaired&lt;/strong&gt; file to a higher numbered KDB. For instance, if the file is named&amp;nbsp;&lt;strong&gt;pe445.kdb&lt;/strong&gt;&lt;strong&gt;.repaired&lt;/strong&gt;, you can rename it to &lt;strong&gt;pe446.kdb&lt;/strong&gt; or&amp;nbsp;&lt;strong&gt;pe500.kdb&lt;/strong&gt;. Just ensure that the repaired KDB is the highest numbered KDB in the list for that engine.&amp;nbsp;In most instances, the &lt;strong&gt;.repaired&lt;/strong&gt; file will be missing data as expected, so the new KDB will need to be tested for integrity.&lt;/li&gt;
&lt;li&gt;Start Appian. Run &lt;a href="https://docs.appian.com/suite/help/17.1/Troubleshooting_with_Diagnostic_Scripts.html"&gt;&lt;strong&gt;checkengine.(bat|sh)&lt;/strong&gt;&lt;/a&gt; to ensure the engine starts up successfully.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;For migrations, the solution is to fully stop the source environment with &lt;strong&gt;stop-suite.(bat|sh)&lt;/strong&gt; and perform the migration again.&lt;/p&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: March 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, engines, scripts&lt;/div&gt;
</description></item><item><title>KB-1211 "Inconsistent DBID on GW1" error thrown in checkengine script</title><link>https://community.appian.com/support/w/kb/426/kb-1211-inconsistent-dbid-on-gw1-error-thrown-in-checkengine-script/revision/1</link><pubDate>Mon, 06 Mar 2017 20:47:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c9282903-09cb-40d9-98c6-f3a2afc65502</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/426/kb-1211-inconsistent-dbid-on-gw1-error-thrown-in-checkengine-script#comments</comments><description>Revision 1 posted to Appian Knowledge Base by Nick Vigilante on 3/6/2017 8:47:12 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;One or more Appian&amp;nbsp;engines fail to start. The output of &lt;strong&gt;checkengine.(bat|sh)&lt;/strong&gt; shows the following:&lt;/p&gt;
&lt;pre&gt;Inconsistent DBID on GW1. Server Database ID: XXXX, Gateway Database ID: ON
&lt;/pre&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-11/pastedimage1488833184176v1.png"&gt;&lt;img src="/resized-image/__size/1200x532532/__key/communityserver-wikis-components-files/00-00-00-00-11/pastedimage1488833184176v1.png" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;If this is a migration, this error indicates the environment was not fully stopped before copying the engine database files *.kdb to the new Appian version.&lt;/p&gt;
&lt;p&gt;For other scenarios where there&amp;rsquo;s no migration involved, the root cause is usually that Appian was shut down incorrectly or suddenly without completing the checkpoint.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;If this is not the result of a migration, perform the following:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Stop Appian per &lt;a href="https://docs.appian.com/suite/help/17.1/Starting_and_Stopping_Appian.html"&gt;Starting and Stopping Appian&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;REQUIRED:&lt;/strong&gt; If running Appian 16.2 or 16.3, apply the latest hotfix.&lt;/li&gt;
&lt;li&gt;Run the &lt;a href="https://docs.appian.com/suite/help/17.1/Appian_Engine_Repair.html"&gt;repair script&lt;/a&gt; located in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools&lt;/code&gt; to fix the &lt;strong&gt;.kdb&lt;/strong&gt; files for those engines with issues. &lt;strong&gt;Note:&lt;/strong&gt; If the repair script successfully identifies that a KDB is in need of repair, it will create a &lt;strong&gt;.repaired&lt;/strong&gt; file, which is the original file with some transactions dropped. It will not remove the original file. In most instances, the &lt;strong&gt;.repaired&lt;/strong&gt; file will be missing data as expected, so the new KDB will need to be tested for integrity.&lt;/li&gt;
&lt;li&gt;Start Appian. Run &lt;a href="https://docs.appian.com/suite/help/17.1/Troubleshooting_with_Diagnostic_Scripts.html"&gt;&lt;strong&gt;checkengine.(bat|sh)&lt;/strong&gt;&lt;/a&gt; to ensure the engine starts up successfully.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;For migrations, the solution is to fully stop the source environment with &lt;strong&gt;stop-suite.(bat|sh)&lt;/strong&gt; and perform the migration again.&lt;/p&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: March 2017&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;

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