<div dir="ltr">On Wed, Jan 24, 2018 at 11:46 AM, Bill Meek <span dir="ltr"><<a href="mailto:keemllib@gmail.com" target="_blank">keemllib@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">On 01/24/2018 11:09 AM, John Pilkington wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
sysstemctl | grep maria gives<br>
<br>
● mariadb.service loaded failed failed MariaDB 10.1 database server<br>
<br>
There was a 'normal shutdown' of version 10.1.29<br>
<br>
version 10.1.30 reports:<br>
<br>
2018-01-24 13:55:42 140690185448192 [ERROR] mysqld: Can't create/write to file '/run/mariadb/mariadb.pid' (Errcode: 2 "No such file or directory")<br>
</blockquote>
<br></span>
Try: systemctl cat mariadb.service and look to see if /run/mariadb is created<br>
and is writable by the user that runs MariaDB.<br>
<br>
Mine contains lines like:<br>
<br>
User=mysql<br>
ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld<span class="gmail-HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Bill</font></span><br></blockquote><div><br></div><div>I looked there earlier (I'm on F27), but the only reference to /run/mariadb in the system is in my.cnf</div><div><br></div><div>mariadb.service only has:</div><div><br></div><div>sudo grep Start /usr/lib/systemd/system/mariadb.service <br>ExecStartPre=/usr/libexec/mysql-check-socket<br>ExecStartPre=/usr/libexec/mysql-prepare-db-dir %n<br>ExecStart=/usr/libexec/mysqld --basedir=/usr $MYSQLD_OPTS $_WSREP_NEW_CLUSTER<br>ExecStartPost=/usr/libexec/mysql-check-upgrade<br></div><div><br></div><div>which led me to conclude the mysqld binary needs to create it's own parents. At the same time, my google fu returns no results for this issue, which I would imagine would have cropped up all over the place..?<br></div></div></div></div>