Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Cannot Reproduce
-
10.1.16
-
None
-
openSUSE Leap 42.1 / almost identical to SLES12
Description
The mariadb server does not start with default settings because of:
Jul 19 09:20:14 db2 sh[5819]: 2016-07-19 9:20:12 140074415835008 [ERROR] Can't start server : Bind on unix socket: No such file or directory
|
The default path to the socket is:
/var/run/mysql/mysql.sock
but that location is a tmpfs and therefore after a reboot the path /var/run/mysql/ does not exist at all and mariadb refused to start.
At least on openSUSE/SUSE it's required to put a definition into the system as described here:
https://en.opensuse.org/openSUSE:Systemd_packaging_guidelines#Creating_files_.2F_subdirectories_in_.2Fvar.2Frun_and_.2Frun