linux:apps:mariadb:mariadb-problems
Differences
This shows you the differences between two versions of the page.
| linux:apps:mariadb:mariadb-problems [2026/08/23 07:48] – created oscar | linux:apps:mariadb:mariadb-problems [2026/08/23 08:07] (current) – [Permission problem] oscar | ||
|---|---|---|---|
| Line 14: | Line 14: | ||
| ==== Permission problem ==== | ==== Permission problem ==== | ||
| + | Error when starting mariadb.service | ||
| + | /bin/sh: 1: cannot create / | ||
| - | /bin/sh: 1: cannot create / | + | === Problem description === |
| - | + | The socket | |
| - | / | + | |
| - | before: systemd-tmpfiles-setup.service! | + | |
| Due to this the directory /run/mysqld is already created with root:root ownership | Due to this the directory /run/mysqld is already created with root:root ownership | ||
| - | |||
| Due to this: / | Due to this: / | ||
| - | Solution: | + | === Solution |
| - | # ODG FIX | + | There are two possible fixes: |
| - | ExecStartPre=+/ | + | == Solution 1 == |
| + | Add the following in mariadb.service: | ||
| + | ExecStartPre=+/ | ||
| + | == Solution 2 == | ||
| + | Disable the socket, which was not used anyway in our setup | ||
| + | systemctl disable mariadb.socket | ||
linux/apps/mariadb/mariadb-problems.1787471311.txt.gz · Last modified: by oscar
