[mythtv-users] f26 mariadb.service failed after multi-package update

Greg Oliver oliver.greg at gmail.com
Wed Jan 24 17:52:51 UTC 2018


On Wed, Jan 24, 2018 at 11:46 AM, Bill Meek <keemllib at gmail.com> wrote:

> On 01/24/2018 11:09 AM, John Pilkington wrote:
>
>> sysstemctl | grep maria gives
>>
>> ● mariadb.service                                loaded failed failed
>> MariaDB 10.1 database server
>>
>> There was a 'normal shutdown' of version 10.1.29
>>
>> version 10.1.30 reports:
>>
>> 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")
>>
>
> Try: systemctl cat mariadb.service and look to see if /run/mariadb is
> created
> and is writable by the user that runs MariaDB.
>
> Mine contains lines like:
>
>     User=mysql
>     ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d
> /var/run/mysqld
>
> --
> Bill
>

I looked there earlier (I'm on F27), but the only reference to /run/mariadb
in the system is in my.cnf

mariadb.service only has:

sudo grep Start /usr/lib/systemd/system/mariadb.service
ExecStartPre=/usr/libexec/mysql-check-socket
ExecStartPre=/usr/libexec/mysql-prepare-db-dir %n
ExecStart=/usr/libexec/mysqld --basedir=/usr $MYSQLD_OPTS
$_WSREP_NEW_CLUSTER
ExecStartPost=/usr/libexec/mysql-check-upgrade

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..?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20180124/08ca37a6/attachment.html>


More information about the mythtv-users mailing list