Bonjour à tous.

Je n'arrive pas à démarrer mon serveur MariaDB.

Code : Sélectionner tout - Visualiser dans une fenêtre à part
systemctl restart mariadb.service
Job for mariadb.service failed. See 'systemctl status mariadb.service' and 'journalctl -xn' for details.
oct. 16 17:24:50 client systemd[1]: Starting MariaDB database server...
-- Subject: Unit mariadb.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman.../systemd-devel
--
-- Unit mariadb.service has begun starting up.
oct. 16 17:24:50 client systemd[971]: Failed at step NAMESPACE spawning /usr/libexec/mariadb-prepare-db-dir: Permission denied
-- Subject: Process /usr/libexec/mariadb-prepare-db-dir could not be executed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman.../systemd-devel
--
-- The process /usr/libexec/mariadb-prepare-db-dir could not be executed and failed.
--
-- The error number returned while executing this process is 13.
oct. 16 17:24:50 client systemd[1]: mariadb.service: control process exited, code=exited status=226
oct. 16 17:24:50 client systemd[1]: Failed to start MariaDB database server.
-- Subject: Unit mariadb.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman.../systemd-devel
--
-- Unit mariadb.service has failed.
--
-- The result is failed.
oct. 16 17:24:50 client systemd[1]: Unit mariadb.service entered failed state.
Mon fichier mariadb-prepare-db-dir existe :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
ll /usr/libexec/mariadb-prepare-db-dir
-rwxr-xr-x 1 root root 3012 24 août 2015 /usr/libexec/mariadb-prepare-db-dir
Mes résultats de recherche googles portent souvant sur un pb de lien symbolique et de /tmp ...
Ce n'est apparemment pas ça le pb...

Mon serveur.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
 
cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
 
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
Merci d'avance pour votre aide !