<?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-1042 "Failed to append transaction to DB (\"X.kdb: Bad file descriptor\")" thrown after attempting to start engines</title><link>https://community.appian.com/support/w/kb/267/kb-1042-failed-to-append-transaction-to-db-x-kdb-bad-file-descriptor-thrown-after-attempting-to-start-engines</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1042 "Failed to append transaction to DB (\"X.kdb: Bad file descriptor\")" thrown after attempting to start engines</title><link>https://community.appian.com/support/w/kb/267/kb-1042-failed-to-append-transaction-to-db-x-kdb-bad-file-descriptor-thrown-after-attempting-to-start-engines</link><pubDate>Tue, 14 Feb 2017 15:04:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4186edff-b81a-448a-9b91-d84b4a4838ba</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/267/kb-1042-failed-to-append-transaction-to-db-x-kdb-bad-file-descriptor-thrown-after-attempting-to-start-engines#comments</comments><description>Current Revision posted to Appian Knowledge Base by Nick Vigilante on 2/14/2017 3:04:24 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After running &lt;strong&gt;start-suite.bat|sh&lt;/strong&gt;, one or more engines won&amp;#39;t start.&lt;/p&gt;
&lt;p&gt;In the APP window (Windows) or in the &lt;strong&gt;gw-*.log&lt;/strong&gt; file (Unix), the following lines are displayed:&lt;/p&gt;
&lt;pre&gt;No transactions for replay
  0 (100%) replayed in 03.739s
 Booted.
(&amp;quot;XXXX.kdb&amp;quot;
 `write_to_disk_failure
 &amp;quot;Failed to append transaction to DB (\&amp;quot;XXXX.kdb: Bad file descriptor\&amp;quot;)&amp;quot;
&lt;/pre&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;The user that ran the &lt;strong&gt;start-suite.bat|sh&lt;/strong&gt; command does not have read and write permissions over one or more of the .kdb files for the engine(s) in question.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;To correct this issue, perform the following:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Either change permissions or ownership of the .kdb file(s) causing issues so that the user intended to start the Appian engines can read and write to all .kdb files for that particular installation.&lt;/li&gt;
&lt;li&gt;Restart the Appian engines.&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: October 2015&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>