Re: f26 mariadb.service failed after multi-package update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 26/01/18 00:59, Stephen Morris wrote:
> On 26/1/18 10:49 am, Stephen Morris wrote:
>> On 25/1/18 4:33 am, John Pilkington wrote:
>>> On 24/01/18 17:09, 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")
>>>> 2018-01-24 13:55:42 140690185448192 [ERROR] Can't start server:
>>>> can't create PID file: No such file or directory
>>>>
>>>> I reinstalled and it failed again.
>>>>
>>>> John P
>>>
>>> yumex-dnf offered 10.1.21-5 as a downgrade, and that is running.
>>
>> Just some info on this, I'm on F27 using mariadb (64 bit) 10.2.9-3 and
>> it does not appear to be exhibiting this issue in that systemctl
>> status mariadb shows that the service has started at boot time.
> 
> Just further to this, on my system, which may be a hangover from having
> installed the community-mysql packages first and using that environment
> before uninstalling these and installing the mariadb equivalents, the
> mariadb.pid file is placed in /run/mysqld which is owned by User/Group
> mysql. The time stamp on this file indicates that it was successfully
> created with this mornings boot.

See the bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1538066

Quick fix until mariadb update arrives: add the following line to the
file /usr/lib/tmpfiles.d/mariadb.conf:

d /run/mariadb 0755 mysql mysql -

> regards,
> 
> Steve
> 
>>
>>
>> regards,
>>
>> Steve
>>
>>
>>> _______________________________________________
>>> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
>>> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
>> _______________________________________________
>> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
>> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx


-- 
Sjoerd Mullender

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux