<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=5177&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / mariadb on ceres]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=5177</link>
		<description><![CDATA[The most recent posts in mariadb on ceres.]]></description>
		<lastBuildDate>Thu, 20 Oct 2022 14:06:00 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: mariadb on ceres]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=38011#p38011</link>
			<description><![CDATA[<p>This forum thread is not that old, yet, so I thought I would add to it.&#160; I too had this same exact problem and it kept showing up &quot;sometimes&quot; when I had to reboot or restart the mysql service.&#160; I finally found what I &quot;think&quot; is a <a href="https://dba.stackexchange.com/questions/41542/issue-after-moving-the-ib-logfile1-and-ib-logfile0-files" rel="nofollow">solution</a>.&#160; I was having to delete the /var/lib/mysql/ib_logfile0 file to get mysql (mariadb-server) to start.&#160; I have been using this for a few weeks on more than one server and have not had any problems, yet.&#160; Also, my problem was showing up on chimaera, not ceres.</p><p>Steps involved:<br />- Stop mysql service before editing the file below<br />- In /etc/mysql/mariadb.conf.d/50-server.cnf file, add this (toward the bottom)</p><p>Under this line:</p><div class="codebox"><pre><code>[mariadb]</code></pre></div><p>Add this content:</p><div class="codebox"><pre><code>innodb_fast_shutdown = 0</code></pre></div><p>I hope this helps.</p>]]></description>
			<author><![CDATA[dummy@example.com (nixer)]]></author>
			<pubDate>Thu, 20 Oct 2022 14:06:00 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=38011#p38011</guid>
		</item>
		<item>
			<title><![CDATA[Re: mariadb on ceres]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=37179#p37179</link>
			<description><![CDATA[<div class="quotebox"><cite>mknoop wrote:</cite><blockquote><div><p>/var/lib/mysql$ stat aria_log_control <br />&#160; File: aria_log_control<br />&#160; Size: 52&#160; &#160; &#160; &#160; &#160; &#160; Blocks: 8&#160; &#160; &#160; &#160; &#160; IO Block: 4096&#160; &#160;regular file<br />Device: 801h/2049d&#160; &#160; Inode: 404111&#160; &#160; &#160; Links: 1<br />Access: (0660/-rw-rw----)&#160; Uid: (&#160; 112/&#160; &#160;mysql)&#160; &#160;Gid: (&#160; 120/&#160; &#160;mysql)<br />Access: 2022-08-24 14:52:13.500000000 -0500<br />Modify: 2022-08-24 14:37:32.160000000 -0500<br />Change: 2022-08-24 14:37:32.160000000 -0500<br /> Birth: 2020-09-11 16:02:07.848000000 -0500</p><p>I do not know how to interpret this.</p></div></blockquote></div><p>That says the file is owned by mysql, has group mysql and can be read and written by user mysql and any user in group mysql. Which all looks OK to me.</p><p>The last 4 lines of output say when it was last accessed (ie read), modified (written to), had it&#039;s directory entry changed and when it was first created.</p><p>Unfortunately the man page for stat is not very clear. But running it against a few files with known characteristics it&#039;s fairly easy to work out what it means.</p><p>As I said I don&#039;t run mariadb, so I was just guessing from the first error message in the log extract. So kudos to rbit.</p>]]></description>
			<author><![CDATA[dummy@example.com (chris2be8)]]></author>
			<pubDate>Thu, 25 Aug 2022 16:15:10 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=37179#p37179</guid>
		</item>
		<item>
			<title><![CDATA[Re: mariadb on ceres]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=37170#p37170</link>
			<description><![CDATA[<p>That&#039;s it!</p><p>I did that and tried to start mariadb.&#160; That worked, so I did another apt-get upgrade.&#160; The server finished installing, stopped, and then started again succesfully.</p><p>Thank you very much, rbit.</p>]]></description>
			<author><![CDATA[dummy@example.com (mknoop)]]></author>
			<pubDate>Thu, 25 Aug 2022 04:21:59 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=37170#p37170</guid>
		</item>
		<item>
			<title><![CDATA[Re: mariadb on ceres]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=37167#p37167</link>
			<description><![CDATA[<p>These log entries look very similar to an issue I had at the beginning of the year.</p><div class="quotebox"><cite>mknoop wrote:</cite><blockquote><div><p>Aug 24 02:19:07 devuan-ceres mysqld: 2022-08-24&#160; 2:19:07 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=1651026,1651026<br />Aug 24 02:19:07 devuan-ceres mysqld: 2022-08-24&#160; 2:19:07 0 [ERROR] InnoDB: Missing FILE_CHECKPOINT at 1651026 between the checkpoint 1651026 and the end 1651038.<br />Aug 24 02:19:07 devuan-ceres mysqld: 2022-08-24&#160; 2:19:07 0 [ERROR] Plugin &#039;InnoDB&#039; init function returned error.<br />Aug 24 02:19:07 devuan-ceres mysqld: 2022-08-24&#160; 2:19:07 0 [ERROR] Unknown/unsupported storage engine: InnoDB</p></div></blockquote></div><p>What fixed it for me was removing (actually, renaming, in case it was needed later; it wasn&#039;t) the file /var/lib/mysql/ib_logfile0</p><div class="codebox"><pre><code>cd /var/lib/mysql
mv ib_logfile0 ib_logfile0.bad-renamed
service mariadb start</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (rbit)]]></author>
			<pubDate>Thu, 25 Aug 2022 00:01:36 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=37167#p37167</guid>
		</item>
		<item>
			<title><![CDATA[Re: mariadb on ceres]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=37165#p37165</link>
			<description><![CDATA[<p>/var/lib/mysql$ stat aria_log_control <br />&#160; File: aria_log_control<br />&#160; Size: 52&#160; &#160; &#160; &#160; &#160; &#160; Blocks: 8&#160; &#160; &#160; &#160; &#160; IO Block: 4096&#160; &#160;regular file<br />Device: 801h/2049d&#160; &#160; Inode: 404111&#160; &#160; &#160; Links: 1<br />Access: (0660/-rw-rw----)&#160; Uid: (&#160; 112/&#160; &#160;mysql)&#160; &#160;Gid: (&#160; 120/&#160; &#160;mysql)<br />Access: 2022-08-24 14:52:13.500000000 -0500<br />Modify: 2022-08-24 14:37:32.160000000 -0500<br />Change: 2022-08-24 14:37:32.160000000 -0500<br /> Birth: 2020-09-11 16:02:07.848000000 -0500</p><p>I do not know how to interpret this.</p>]]></description>
			<author><![CDATA[dummy@example.com (mknoop)]]></author>
			<pubDate>Wed, 24 Aug 2022 19:56:24 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=37165#p37165</guid>
		</item>
		<item>
			<title><![CDATA[Re: mariadb on ceres]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=37160#p37160</link>
			<description><![CDATA[<p>Does /var/lib/mysql/aria_log_control exist?<br />Would mysqld be able to write to it? Post output from <span class="bbc">stat &#039;/var/lib/mysql/aria_log_control&#039;</span> if you are not sure.<br />Would mysqld be able to write to /var/lib/mysql/ ?</p><p>I&#039;m just guessing what to look at, I don&#039;t run mariadb myself.</p>]]></description>
			<author><![CDATA[dummy@example.com (chris2be8)]]></author>
			<pubDate>Wed, 24 Aug 2022 16:48:20 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=37160#p37160</guid>
		</item>
		<item>
			<title><![CDATA[Re: mariadb on ceres]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=37158#p37158</link>
			<description><![CDATA[<p>I found this in syslog.&#160; Does anyone see a clue?</p><p>Aug 24 02:19:07 devuan-ceres mysqld_safe: Starting mariadbd daemon with databases from /var/lib/mysql<br />Aug 24 02:19:07 devuan-ceres mysqld_safe: Starting mariadbd daemon with databases from /var/lib/mysql<br />Aug 24 02:19:07 devuan-ceres mysqld: 2022-08-24&#160; 2:19:07 0 [Note] /usr/sbin/mariadbd (server 10.6.9-MariaDB-1) starting as process 1443 ...<br />Aug 24 02:19:07 devuan-ceres mysqld: 2022-08-24&#160; 2:19:07 0 [Note] /usr/sbin/mariadbd (server 10.6.9-MariaDB-1) starting as process 1441 ...<br />Aug 24 02:19:07 devuan-ceres mysqld: 2022-08-24&#160; 2:19:07 0 [ERROR] mariadbd: Can&#039;t lock aria control file &#039;/var/lib/mysql/aria_log_control&#039; for exclusive use, error: 11. Will retry for 30 seconds<br />Aug 24 02:19:07 devuan-ceres mysqld: 2022-08-24&#160; 2:19:07 0 [Note] InnoDB: Compressed tables use zlib 1.2.11<br />Aug 24 02:19:07 devuan-ceres mysqld: 2022-08-24&#160; 2:19:07 0 [Note] InnoDB: Number of pools: 1<br />Aug 24 02:19:07 devuan-ceres mysqld: 2022-08-24&#160; 2:19:07 0 [Note] InnoDB: Using generic crc32 instructions<br />Aug 24 02:19:07 devuan-ceres mysqld: 2022-08-24&#160; 2:19:07 0 [Note] InnoDB: Using liburing<br />Aug 24 02:19:07 devuan-ceres mysqld: 2022-08-24&#160; 2:19:07 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728<br />Aug 24 02:19:07 devuan-ceres mysqld: 2022-08-24&#160; 2:19:07 0 [Note] InnoDB: Completed initialization of buffer pool<br />Aug 24 02:19:07 devuan-ceres mysqld: 2022-08-24&#160; 2:19:07 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=1651026,1651026<br />Aug 24 02:19:07 devuan-ceres mysqld: 2022-08-24&#160; 2:19:07 0 [ERROR] InnoDB: Missing FILE_CHECKPOINT at 1651026 between the checkpoint 1651026 and the end 1651038.<br />Aug 24 02:19:07 devuan-ceres mysqld: 2022-08-24&#160; 2:19:07 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error<br />Aug 24 02:19:07 devuan-ceres mysqld: 2022-08-24&#160; 2:19:07 0 [Note] InnoDB: Starting shutdown...<br />Aug 24 02:19:07 devuan-ceres mysqld: 2022-08-24&#160; 2:19:07 0 [ERROR] Plugin &#039;InnoDB&#039; init function returned error.<br />Aug 24 02:19:07 devuan-ceres mysqld: 2022-08-24&#160; 2:19:07 0 [ERROR] Plugin &#039;InnoDB&#039; registration as a STORAGE ENGINE failed.<br />Aug 24 02:19:07 devuan-ceres mysqld: 2022-08-24&#160; 2:19:07 0 [Note] Plugin &#039;FEEDBACK&#039; is disabled.<br />Aug 24 02:19:07 devuan-ceres mysqld: 2022-08-24&#160; 2:19:07 0 [ERROR] Unknown/unsupported storage engine: InnoDB<br />Aug 24 02:19:07 devuan-ceres mysqld: 2022-08-24&#160; 2:19:07 0 [ERROR] Aborting</p>]]></description>
			<author><![CDATA[dummy@example.com (mknoop)]]></author>
			<pubDate>Wed, 24 Aug 2022 07:41:03 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=37158#p37158</guid>
		</item>
		<item>
			<title><![CDATA[Re: mariadb on ceres]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=37154#p37154</link>
			<description><![CDATA[<p>Sorry it didn&#039;t help.<br />I was referring to your post:</p><p><em>sudo mysql_secure_installation</em></p><p><em>NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB<br />&#160; &#160; &#160; SERVERS IN PRODUCTION USE!&#160; PLEASE READ EACH STEP CAREFULLY!</em></p>]]></description>
			<author><![CDATA[dummy@example.com (Andre4freedom)]]></author>
			<pubDate>Tue, 23 Aug 2022 10:20:55 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=37154#p37154</guid>
		</item>
		<item>
			<title><![CDATA[Re: mariadb on ceres]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=37145#p37145</link>
			<description><![CDATA[<p>I was not sure which script you were referring to, so I tried it on both &quot;./mariad start&quot; and &quot;mysql_secure_installation&quot;.</p><p>No difference from using sudo.</p>]]></description>
			<author><![CDATA[dummy@example.com (mknoop)]]></author>
			<pubDate>Mon, 22 Aug 2022 18:00:17 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=37145#p37145</guid>
		</item>
		<item>
			<title><![CDATA[Re: mariadb on ceres]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=37144#p37144</link>
			<description><![CDATA[<p>Just an idea: sudo is not always the same as root.<br />I suggest to do a <br />su -<br />That switches your shell to the root account. Then try to change to the script directory and run it (as root user)<br />After the (hopefully) successful installation you just leave the root shell<br />Ctrl-D<br />And your shell will be back to your user again.<br />Good luck.</p>]]></description>
			<author><![CDATA[dummy@example.com (Andre4freedom)]]></author>
			<pubDate>Mon, 22 Aug 2022 17:51:49 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=37144#p37144</guid>
		</item>
		<item>
			<title><![CDATA[Re: mariadb on ceres]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=37143#p37143</link>
			<description><![CDATA[<p>Here is what happened:</p><p>sudo mysql_secure_installation</p><p>NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB<br />&#160; &#160; &#160; SERVERS IN PRODUCTION USE!&#160; PLEASE READ EACH STEP CAREFULLY!</p><p>In order to log into MariaDB to secure it, we&#039;ll need the current<br />password for the root user. If you&#039;ve just installed MariaDB, and<br />haven&#039;t set the root password yet, you should just press enter here.</p><p>Enter current password for root (enter for none): <br />ERROR 2002 (HY000): Can&#039;t connect to local server through socket &#039;/run/mysqld/mysqld.sock&#039; (2)<br />Enter current password for root (enter for none): <br />ERROR 2002 (HY000): Can&#039;t connect to local server through socket &#039;/run/mysqld/mysqld.sock&#039; (2)<br />Enter current password for root (enter for none): <br />ERROR 2002 (HY000): Can&#039;t connect to local server through socket &#039;/run/mysqld/mysqld.sock&#039; (2)<br />Enter current password for root (enter for none): <br />Aborting!</p><p>Cleaning up...</p><p>I tried typing the root password, and I tried just hitting enter.&#160; I got the same resuilt,.</p>]]></description>
			<author><![CDATA[dummy@example.com (mknoop)]]></author>
			<pubDate>Mon, 22 Aug 2022 17:21:47 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=37143#p37143</guid>
		</item>
		<item>
			<title><![CDATA[Re: mariadb on ceres]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=37135#p37135</link>
			<description><![CDATA[<p>Hi mknoop,<br />Have you run &#039;mysql_secure_installation&#039; before trying to launch the service?<br />Mariadb works flawlessly on my Devuan Daedalus machines.</p>]]></description>
			<author><![CDATA[dummy@example.com (etech)]]></author>
			<pubDate>Mon, 22 Aug 2022 08:39:57 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=37135#p37135</guid>
		</item>
		<item>
			<title><![CDATA[Re: mariadb on ceres]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=37129#p37129</link>
			<description><![CDATA[<p>I went into /etc/init.d - entered sudo ./mariadb start and got:</p><p>Starting MariaDB database server: mariadbd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . failed!</p><p>Not interesting.</p><p>Everything was fine before the upgrade.</p><p>It is an old system running on a QEMU virtual machine.<br />I have a parallel debian-sid vm, and the upgrade there went fine.</p>]]></description>
			<author><![CDATA[dummy@example.com (mknoop)]]></author>
			<pubDate>Sun, 21 Aug 2022 17:35:23 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=37129#p37129</guid>
		</item>
		<item>
			<title><![CDATA[Re: mariadb on ceres]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=37126#p37126</link>
			<description><![CDATA[<p>The interesting part looks to be:</p><div class="quotebox"><cite>mknoop wrote:</cite><blockquote><div><p>Starting MariaDB database server: mariadbd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . failed!<br />invoke-rc.d: initscript mariadb, action &quot;start&quot; failed.</p></div></blockquote></div><p>What happens if you invoke the start script manually? Does that produce any interesting messages?</p><p>Was mariadb running OK before the upgrade (or is this a new install)?</p><p>If it&#039;s a new install do you need to do any first time setup steps?</p>]]></description>
			<author><![CDATA[dummy@example.com (chris2be8)]]></author>
			<pubDate>Sun, 21 Aug 2022 15:54:26 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=37126#p37126</guid>
		</item>
		<item>
			<title><![CDATA[Re: mariadb on ceres]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=37119#p37119</link>
			<description><![CDATA[<p>I tried them both, but neither helps.&#160; I&#039;ve been poking around /var/log files and /usr/share/doc/mariadb-server-10.6, but I can&#039;t figure anything out.</p>]]></description>
			<author><![CDATA[dummy@example.com (mknoop)]]></author>
			<pubDate>Sun, 21 Aug 2022 05:38:26 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=37119#p37119</guid>
		</item>
	</channel>
</rss>
