<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Database on XGA</title><link>https://www.xga.ie/tags/database/</link><description>Recent content in Database on XGA</description><generator>Hugo</generator><language>en-gb</language><lastBuildDate>Wed, 02 Sep 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://www.xga.ie/tags/database/index.xml" rel="self" type="application/rss+xml"/><item><title>Zabbix Unattended-Upgrade DB Error</title><link>https://www.xga.ie/posts/zabbix-unattended-upgrade-db-error/</link><pubDate>Wed, 02 Sep 2026 00:00:00 +0000</pubDate><guid>https://www.xga.ie/posts/zabbix-unattended-upgrade-db-error/</guid><description>&lt;p&gt;I have experienced two Zabbix Server outages this week after unattended-upgrades on our Linux monitoring stack.&lt;/p&gt;
&lt;h2 id="the-problem"&gt;
 The problem
 &lt;a class="heading-link" href="#the-problem"&gt;
 &lt;i class="fa-solid fa-link" aria-hidden="true" title="Link to heading"&gt;&lt;/i&gt;
 &lt;span class="sr-only"&gt;Link to heading&lt;/span&gt;
 &lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;During an unattended upgrade, &lt;code&gt;needrestart&lt;/code&gt; attempted to restart a number of services - including MySQL and Zabbix Server:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Running kernel seems to be up-to-date.
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Restarting services...
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; /etc/needrestart/restart.d/systemd-manager
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; systemctl restart ... mysql.service ... zabbix-server.service
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Though Zabbix Server seems to hang when MySQL isn&amp;rsquo;t available to it:&lt;/p&gt;</description></item></channel></rss>