Am 21.11.2017 um 09:13 schrieb Bill Damage:
> After checking the logs I see mysqld: Can't create/write to file
> '/var/run/mariadb/mariadb.pid' (Errcode: 2 "No such file or directory")
> If I manually create this dir I can then start it ... until the next
> reboot. What is the correct fix to ensure its works as it did before the
> update please?
https://www.freedesktop.org/software/systemd/man/tmpfiles.d.html or make
a proper unit because the pid-file is not needed at all as well as
mysqld_safe
[
root@srv-rhsoft:~]$ systemctl status mysqld
? mysqld.service - MariaDB Database
Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled;
vendor preset: disabled)
Active: active (running) since Sat 2017-11-18 01:36:22 CET; 3 days ago
Main PID: 912 (mysqld)
Status: "Taking your SQL requests now..."
Tasks: 51 (limit: 2048)
CGroup: /system.slice/mysqld.service
??912 /usr/libexec/mysqld --defaults-file=/etc/my.cnf
--pid-file=/dev/null
_______________________________________________
Mailing list:
https://launchpad.net/~maria-discussPost to :
maria-discuss@lists.launchpad.netUnsubscribe :
https://launchpad.net/~maria-discussMore help :
https://help.launchpad.net/ListHelp