<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Error-Code on ads' corner</title><link>https://andreas.scherbaum.la/tags/error-code/</link><description>Recent content in Error-Code on ads' corner</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Thu, 15 Apr 2021 22:26:00 +0200</lastBuildDate><atom:link href="https://andreas.scherbaum.la/tags/error-code/index.xml" rel="self" type="application/rss+xml"/><item><title>Ansible, "copy" module and "become"</title><link>https://andreas.scherbaum.la/post/2021-04-15_ansible-copy-module-and-become/</link><pubDate>Thu, 15 Apr 2021 22:26:00 +0200</pubDate><guid>https://andreas.scherbaum.la/post/2021-04-15_ansible-copy-module-and-become/</guid><description>&lt;p&gt;For testing I did spin up a couple of new virtual (&lt;em&gt;Ubuntu&lt;/em&gt; 20.04 LTS) instances, installed &lt;em&gt;PostgreSQL&lt;/em&gt;, and wanted to &lt;a href="https://docs.ansible.com/ansible/latest/collections/ansible/builtin/copy_module.html"&gt;copy&lt;/a&gt; over a &lt;code&gt;.sql&lt;/code&gt; file to install in the database:&lt;/p&gt;</description></item><item><title>openHAB: Configuration model '....rules' has errors, therefore ignoring it: no viable alternative at input '...'</title><link>https://andreas.scherbaum.la/post/2020-12-25_openhab-configuration-model-....rules-has-errors-therefore-ignoring-it-no-viable-alternative-at-input-.../</link><pubDate>Fri, 25 Dec 2020 10:50:00 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2020-12-25_openhab-configuration-model-....rules-has-errors-therefore-ignoring-it-no-viable-alternative-at-input-.../</guid><description>&lt;p&gt;The &lt;em&gt;openHAB&lt;/em&gt; rule system is not very helpful by pointing out when it&amp;rsquo;s missing something, or when there is an error to actually point to the problem.&lt;/p&gt;</description></item><item><title>Apache Karaf client in openHAB, and the "Session has been closed" error</title><link>https://andreas.scherbaum.la/post/2020-04-21_apache-karaf-client-in-openhab-and-the-session-has-been-closed-error/</link><pubDate>Tue, 21 Apr 2020 20:39:00 +0200</pubDate><guid>https://andreas.scherbaum.la/post/2020-04-21_apache-karaf-client-in-openhab-and-the-session-has-been-closed-error/</guid><description>&lt;p&gt;Don&amp;rsquo;t you love it when things suddenly stop working?&lt;/p&gt;&#10;&lt;p&gt;In my &lt;a href="https://andreas.scherbaum.la/categories/openhab"&gt;openHAB&lt;/a&gt; installation I have a check which verifies that the weather data is up to date. Otherwise it restarts the openhab2 service. And this check stopped working &amp;hellip; Leaving the kitchen display not updated for a longer time. The same display where I expect the entire installation to &amp;ldquo;just work&amp;rdquo;, and don&amp;rsquo;t create so many different problems. Seems to be a hard problem to have an &lt;em&gt;openHAB&lt;/em&gt; installation without any trouble &amp;hellip;&lt;/p&gt;</description></item><item><title>MySQL: what shall be repaired?</title><link>https://andreas.scherbaum.la/post/2010-04-03_mysql-what-shall-be-repaired/</link><pubDate>Sat, 03 Apr 2010 17:25:00 +0200</pubDate><guid>https://andreas.scherbaum.la/post/2010-04-03_mysql-what-shall-be-repaired/</guid><description>&lt;p&gt;A website shows the following error message:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;div style="background-color:#f7f7f7;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&#10;&lt;table style="border-spacing:0;padding:0;margin:0;border:0;"&gt;&lt;tr&gt;&lt;td style="vertical-align:top;padding:0;margin:0;border:0;"&gt;&#10;&lt;pre tabindex="0" style="background-color:#f7f7f7;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt;1&#10;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#10;&lt;td style="vertical-align:top;padding:0;margin:0;border:0;;width:100%"&gt;&#10;&lt;pre tabindex="0" style="background-color:#f7f7f7;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-sql" data-lang="sql"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#cf222e"&gt;SQLSTATE&lt;/span&gt;&lt;span style="color:#1f2328"&gt;[&lt;/span&gt;HY000&lt;span style="color:#1f2328"&gt;]:&lt;/span&gt;&lt;span style="color:#fff"&gt; &lt;/span&gt;&lt;span style="color:#cf222e"&gt;General&lt;/span&gt;&lt;span style="color:#fff"&gt; &lt;/span&gt;error&lt;span style="color:#1f2328"&gt;:&lt;/span&gt;&lt;span style="color:#fff"&gt; &lt;/span&gt;&lt;span style="color:#0550ae"&gt;126&lt;/span&gt;&lt;span style="color:#fff"&gt; &lt;/span&gt;Incorrect&lt;span style="color:#fff"&gt; &lt;/span&gt;&lt;span style="color:#cf222e"&gt;key&lt;/span&gt;&lt;span style="color:#fff"&gt; &lt;/span&gt;file&lt;span style="color:#fff"&gt; &lt;/span&gt;&lt;span style="color:#cf222e"&gt;for&lt;/span&gt;&lt;span style="color:#fff"&gt; &lt;/span&gt;&lt;span style="color:#cf222e"&gt;table&lt;/span&gt;&lt;span style="color:#fff"&gt; &lt;/span&gt;&lt;span style="color:#0a3069"&gt;&amp;#39;/tmp/#sql_1898_0.MYI&amp;#39;&lt;/span&gt;&lt;span style="color:#1f2328"&gt;;&lt;/span&gt;&lt;span style="color:#fff"&gt; &lt;/span&gt;try&lt;span style="color:#fff"&gt; &lt;/span&gt;&lt;span style="color:#cf222e"&gt;to&lt;/span&gt;&lt;span style="color:#fff"&gt; &lt;/span&gt;repair&lt;span style="color:#fff"&gt; &lt;/span&gt;it&lt;span style="color:#fff"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&lt;p&gt;So, &lt;em&gt;MySQL&lt;/em&gt;: which table is to repair? The error message is not a table, it&amp;rsquo;s just the temp file.&lt;/p&gt;&#10;&lt;p&gt;Stupid and useless error message &amp;hellip;&lt;/p&gt;</description></item><item><title>MySQL: SQLSTATE[HY000]: General error: 3 Error writing file '/tmp/xyz' (Errcode: 28)</title><link>https://andreas.scherbaum.la/post/2010-02-24_mysql-sqlstatehy000-general-error-3-error-writing-file-tmpxyz-errcode-28/</link><pubDate>Wed, 24 Feb 2010 13:31:01 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2010-02-24_mysql-sqlstatehy000-general-error-3-error-writing-file-tmpxyz-errcode-28/</guid><description>&lt;p&gt;If you run &lt;em&gt;MySQL&lt;/em&gt; and this error occurs:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;div style="background-color:#f7f7f7;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&#10;&lt;table style="border-spacing:0;padding:0;margin:0;border:0;"&gt;&lt;tr&gt;&lt;td style="vertical-align:top;padding:0;margin:0;border:0;"&gt;&#10;&lt;pre tabindex="0" style="background-color:#f7f7f7;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt;1&#10;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#10;&lt;td style="vertical-align:top;padding:0;margin:0;border:0;;width:100%"&gt;&#10;&lt;pre tabindex="0" style="background-color:#f7f7f7;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-sql" data-lang="sql"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#fff"&gt; &lt;/span&gt;&lt;span style="color:#cf222e"&gt;SQLSTATE&lt;/span&gt;&lt;span style="color:#1f2328"&gt;[&lt;/span&gt;HY000&lt;span style="color:#1f2328"&gt;]:&lt;/span&gt;&lt;span style="color:#fff"&gt; &lt;/span&gt;&lt;span style="color:#cf222e"&gt;General&lt;/span&gt;&lt;span style="color:#fff"&gt; &lt;/span&gt;error&lt;span style="color:#1f2328"&gt;:&lt;/span&gt;&lt;span style="color:#fff"&gt; &lt;/span&gt;&lt;span style="color:#0550ae"&gt;3&lt;/span&gt;&lt;span style="color:#fff"&gt; &lt;/span&gt;Error&lt;span style="color:#fff"&gt; &lt;/span&gt;writing&lt;span style="color:#fff"&gt; &lt;/span&gt;file&lt;span style="color:#fff"&gt; &lt;/span&gt;&lt;span style="color:#0a3069"&gt;&amp;#39;/tmp/MYh0VgDS&amp;#39;&lt;/span&gt;&lt;span style="color:#fff"&gt; &lt;/span&gt;&lt;span style="color:#1f2328"&gt;(&lt;/span&gt;Errcode&lt;span style="color:#1f2328"&gt;:&lt;/span&gt;&lt;span style="color:#fff"&gt; &lt;/span&gt;&lt;span style="color:#0550ae"&gt;28&lt;/span&gt;&lt;span style="color:#1f2328"&gt;)&lt;/span&gt;&lt;span style="color:#fff"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&lt;p&gt;then check if your server isn&amp;rsquo;t using the famous &amp;ldquo;overflow&amp;rdquo; filesystem for &lt;code&gt;/tmp&lt;/code&gt;, limited to 1 MB space.&lt;/p&gt;&#10;&lt;p&gt;The &lt;em&gt;MySQL&lt;/em&gt; error message is - as usual - misleading and non-descriptive.&lt;/p&gt;&#10;&lt;p&gt;There are many other possible causes for this error code, so this one here might just be a hint.&lt;/p&gt;</description></item></channel></rss>