<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wissen.hostingprimus.com/index.php?action=history&amp;feed=atom&amp;title=MariaDB_startet_nicht</id>
	<title>MariaDB startet nicht - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wissen.hostingprimus.com/index.php?action=history&amp;feed=atom&amp;title=MariaDB_startet_nicht"/>
	<link rel="alternate" type="text/html" href="https://wissen.hostingprimus.com/index.php?title=MariaDB_startet_nicht&amp;action=history"/>
	<updated>2026-05-14T11:18:27Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Glaskugel</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wissen.hostingprimus.com/index.php?title=MariaDB_startet_nicht&amp;diff=1162&amp;oldid=prev</id>
		<title>Standard am 23. März 2020 um 12:14 Uhr</title>
		<link rel="alternate" type="text/html" href="https://wissen.hostingprimus.com/index.php?title=MariaDB_startet_nicht&amp;diff=1162&amp;oldid=prev"/>
		<updated>2020-03-23T12:14:35Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 23. März 2020, 14:14 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Zeile 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;Quelle = Ticket#2020032210000978&#039;&#039;&#039;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Anbei ein Eintrag für die KB bzw. Wiki. Was tun, wenn MariaDB nicht starten will.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Anbei ein Eintrag für die KB bzw. Wiki. Was tun, wenn MariaDB nicht starten will.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Standard</name></author>
	</entry>
	<entry>
		<id>https://wissen.hostingprimus.com/index.php?title=MariaDB_startet_nicht&amp;diff=1161&amp;oldid=prev</id>
		<title>Standard: Die Seite wurde neu angelegt: „Anbei ein Eintrag für die KB bzw. Wiki. Was tun, wenn MariaDB nicht starten will.        Log checken     Sofern eine Inkonsistenz vorliegt, nach Anleitung ver…“</title>
		<link rel="alternate" type="text/html" href="https://wissen.hostingprimus.com/index.php?title=MariaDB_startet_nicht&amp;diff=1161&amp;oldid=prev"/>
		<updated>2020-03-23T12:13:50Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „Anbei ein Eintrag für die KB bzw. Wiki. Was tun, wenn MariaDB nicht starten will.        Log checken     Sofern eine Inkonsistenz vorliegt, nach Anleitung ver…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Anbei ein Eintrag für die KB bzw. Wiki. Was tun, wenn MariaDB nicht starten will.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
    Log checken&lt;br /&gt;
    Sofern eine Inkonsistenz vorliegt, nach Anleitung verfahren &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
Zusammenfassung zu den Schritten für die Entstörung: &lt;br /&gt;
; &lt;br /&gt;
:folgendes ist mir beim start der Datenbank in den Logfiles aufgefallen: &lt;br /&gt;
; &lt;br /&gt;
    200322  8:28:21 [ERROR] mysqld: &amp;#039;&amp;#039;&amp;#039;Aria&amp;#039;&amp;#039;&amp;#039; recovery failed. Please run &amp;#039;&amp;#039;&amp;#039;aria_chk -r&amp;#039;&amp;#039;&amp;#039; on all Aria tables and delete all aria_log.######## files&lt;br /&gt;
    200322  8:28:21 [ERROR] Plugin &amp;#039;&amp;#039;&amp;#039;&amp;#039;Aria&amp;#039;&amp;#039;&amp;#039;&amp;#039; init function returned error.&lt;br /&gt;
    200322  8:28:21 [ERROR] Plugin &amp;#039;&amp;#039;&amp;#039;&amp;#039;Aria&amp;#039;&amp;#039;&amp;#039;&amp;#039; registration as a STORAGE ENGINE failed.&lt;br /&gt;
    200322  8:28:21 [ERROR] Aria engine is not enabled or did not start. The Aria engine must be enabled to continue as mysqld was configured with --with-aria-tmp-tables&lt;br /&gt;
: &lt;br /&gt;
:Hier lag also eine Inkonsistenz vor, dies konnte ich beheben indem ich das aria_log_control file neu generiert habe. &lt;br /&gt;
:Hierzu habe ich die Datei im gestoppten Status von Mariadb entfernt. Beim nächsten Start von Mariadb wurde diese neu generiert und mariadb startete durch. &lt;br /&gt;
:&lt;br /&gt;
:Nach dem Start habe ich die logs weiter geprüft hierbei ist mir folgendes aufgefallen: &lt;br /&gt;
: &lt;br /&gt;
:200322  9:00:07  InnoDB: error: space object of table &amp;#039;patrickbaranek_shopware/s_user_shippingaddress_attributes&amp;#039;,&lt;br /&gt;
:InnoDB: open the tablespace file &amp;#039;./patrickbaranek_shopware/s_user_shippingaddress_attributes.ibd&amp;#039;!&lt;br /&gt;
: &lt;br /&gt;
:Nach Prüfung auf dem Filesystem und den Backups wurde diese Datenbank bereits vor längerer zeit min. Aber vor dem 04.03 gelöscht. &lt;br /&gt;
: &lt;br /&gt;
:Dies wurde anscheinend nicht &amp;quot;sauber&amp;quot; abgeschlossen, so das mariadb noch dachte die Tabelle wäre existent und daher wurde beim Start von Mariadb ein Fehler geworfen. &lt;br /&gt;
; &lt;br /&gt;
:Ich habe dies nun wie folgt bereinigt: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &lt;br /&gt;
::&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Auf dem passenden Server via SSH einloggen&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
: &lt;br /&gt;
== 1. temporäre Datenbank anlegen ==&lt;br /&gt;
&lt;br /&gt;
: &lt;br /&gt;
:&amp;lt;code&amp;gt;plesk db&amp;lt;/code&amp;gt;&lt;br /&gt;
: &lt;br /&gt;
::&amp;lt;code&amp;gt;mysql&amp;gt; CREATE SCHEMA recovery;&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;mysql&amp;gt; use recovery&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;mysql&amp;gt; CREATE TABLE s_user_shippingaddress_attributes (id INT) ENGINE = InnoDB;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== 2. temporäre Tabelle kopieren ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &lt;br /&gt;
:&amp;lt;code&amp;gt;mkdir /var/lib/mysql/patrickbaranek_shopware&amp;lt;/code&amp;gt;&lt;br /&gt;
:&amp;lt;code&amp;gt;chown mysql:mysql /var/lib/mysql/patrickbaranek_shopware&amp;lt;/code&amp;gt;&lt;br /&gt;
:&amp;lt;code&amp;gt;cp -p /var/lib/mysql/recovery/s_user_shippingaddress_attributes /var/lib/mysql/patrickbaranek_shopware/&amp;lt;/code&amp;gt;&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
== 3. Bereinigung der Datenbank und Tabelle ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;mysql&amp;gt; DROP SCHEMA recovery;&amp;lt;/code&amp;gt;&lt;br /&gt;
:&amp;lt;code&amp;gt;mysql&amp;gt; use patrickbaranek_shopware&amp;lt;/code&amp;gt;&lt;br /&gt;
:&amp;lt;code&amp;gt;mysql&amp;gt; DROP TABLE test;&amp;lt;/code&amp;gt;&lt;br /&gt;
:&amp;lt;code&amp;gt;mysql&amp;gt; DROP DATABASE patrickbaranek_shopware;&amp;lt;/code&amp;gt;&lt;br /&gt;
: &lt;br /&gt;
:Hierdurch weiss nun auch Mariadb, dass die Tabellen nicht mehr existieren und wirft keine Fehler mehr.&lt;br /&gt;
:&lt;/div&gt;</summary>
		<author><name>Standard</name></author>
	</entry>
</feed>