Bonjour à tous,

Je souhaite installer un serveur web sur mon ordinateur portable Asus. Lorsque j'essaye de lancer le service, je me retrouve avec une erreur Failed at step USER spawning /usr/libexec/mysql-check-socket: No such process (mysql-check-socket existe pourtant bel et bien).

Voici le détail de l'installation :
[root@ferelden mariadb]# dnf list installed mariadb*
Impossible de synchroniser le cache pour le dépôt « livna » depuis « http://rpm.livna.org/mirrorlist » : Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried, désactivation.
Last metadata expiration check performed 1:14:33 ago on Mon Jun  8 14:40:00 2015.
Paquets installés
mariadb.x86_64                                                                            1:10.0.19-2.fc22                                                             @System
mariadb-bench.x86_64                                                                      1:10.0.19-2.fc22                                                             @System
mariadb-common.x86_64                                                                     1:10.0.19-2.fc22                                                             @System
mariadb-config.x86_64                                                                     1:10.0.19-2.fc22                                                             @System
mariadb-connect-engine.x86_64                                                             1:10.0.19-2.fc22                                                             @System
mariadb-errmsg.x86_64                                                                     1:10.0.19-2.fc22                                                             @System
mariadb-libs.x86_64                                                                       1:10.0.19-2.fc22                                                             @System
mariadb-server.x86_64  
Lancement du service :
systemctl start mariadb
Job for mariadb.service failed. See "systemctl status mariadb.service" and "journalctl -xe" for details.
Feedback :
systemctl status mariadb.service
● mariadb.service - MariaDB 10.0 database server
   Loaded: loaded (/usr/lib/systemd/system/mariadb.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since lun. 2015-06-08 15:55:01 CEST; 35s ago
  Process: 5556 ExecStartPre=/usr/libexec/mysql-check-socket (code=exited, status=217/USER)

juin 08 15:55:01 ferelden systemd[1]: Starting MariaDB 10.0 database server...
juin 08 15:55:01 ferelden systemd[5556]: Failed at step USER spawning /usr/libexec/mysql-check-socket: No such process
juin 08 15:55:01 ferelden systemd[1]: mariadb.service: control process exited, code=exited status=217
juin 08 15:55:01 ferelden systemd[1]: Failed to start MariaDB 10.0 database server.
juin 08 15:55:01 ferelden systemd[1]: Unit mariadb.service entered failed state.
juin 08 15:55:01 ferelden systemd[1]: mariadb.service failed.
[root@ferelden mariadb]# journalctl -xe
juin 08 15:55:01 ferelden polkitd[968]: Registered Authentication Agent for unix-process:5551:300317 (system bus name :1.99 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyK
juin 08 15:55:01 ferelden systemd[1]: Starting MariaDB 10.0 database server...
-- Subject: L'unité (unit) mariadb.service a commencé à démarrer
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- L'unité (unit) mariadb.service a commencé à démarrer.
juin 08 15:55:01 ferelden systemd[5556]: Failed at step USER spawning /usr/libexec/mysql-check-socket: No such process
-- Subject: Le processus /usr/libexec/mysql-check-socket n'a pas pu être exécuté
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Le processus /usr/libexec/mysql-check-socket n'a pas pu être exécuté, et a donc échoué.
-- 
-- Le code d'erreur renvoyé est 3.
juin 08 15:55:01 ferelden systemd[1]: mariadb.service: control process exited, code=exited status=217
juin 08 15:55:01 ferelden systemd[1]: Failed to start MariaDB 10.0 database server.
-- Subject: L'unité (unit) mariadb.service a échoué
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- L'unité (unit) mariadb.service a échoué, avec le résultat failed.
juin 08 15:55:01 ferelden systemd[1]: Unit mariadb.service entered failed state.
juin 08 15:55:01 ferelden systemd[1]: mariadb.service failed.
juin 08 15:55:01 ferelden audit[1]: <audit-1130> pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=mariadb comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
juin 08 15:55:01 ferelden polkitd[968]: Unregistered Authentication Agent for unix-process:5551:300317 (system bus name :1.99, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale fr_FR.UTF-8) 
Fichier de configuration de mariadb :
# These groups are read by MariaDB server.
# Use it for options that only the server (but not clients) should see
#
# See the examples of server my.cnf files in /usr/share/mysql/
#

# this is read by the standalone daemon and embedded servers
[server]

# this is only for the mysqld standalone daemon
# Settings user and group are ignored when systemd is used.
# If you need to run mysqld under a different user or group,
# customize your systemd unit file for mysqld/mariadb according to the
# instructions in http://fedoraproject.org/wiki/Systemd
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
log-error=/var/log/mariadb/mariadb.log
pid-file=/var/run/mariadb/mariadb.pid


# this is only for embedded server
[embedded]

# This group is only read by MariaDB servers, not by MySQL.
# If you use the same .cnf file for MySQL and MariaDB,
# you can put MariaDB-only options here
[mariadb]

# This group is only read by MariaDB-10.0 servers.
# If you use the same .cnf file for MariaDB of different versions,
# use this group for options that older servers don't understand
[mariadb-10.0]
Merci d'avance pour votre aide !
Bonjour,

Je viens de supprimer mariadb de ma machine et réinstaller, mais il démarre correctement (ainsi que le suppression de l'utilisateur mysql et le contenu de /var/lib/mysql)

Que retourne:
grep mysql /etc/passwd
Chez moi:
mysql:x:27:27:MySQL Server:/var/lib/mysql:/sbin/nologin

Sans savoir plus, j'aurais tenté un ré-étiquetage selinux de la machine:
touch /.autorelabel; reboot
Tu peux aussi essayer de supprimer les paquets mariadb* et les remettre
(ou les vérifier avec: rpm -V mariadb-server , etc.)
Alors, chez moi, j'ai désactivé SELinux et tenté une désinstallation/réinstallation de mariadb - ce qui avait été suggéré sur d'autres posts de forum - mais sans succès en ce qui me concerne.

et :
[root@ferelden david]# grep mysql /etc/passwd
[root@ferelden david]# 
Bizarre non ?
Yop, car après avoir supprimé l'utilisateur mysql, la réinstallation de mariadb-server l'avait remis chez moi.

Tu as quelque chose sur le groupe 27 ou l'uid 27, voir mysql ?
egrep "27|mysql" /etc/{group,passwd}
Et si tu ajoutes l'utilisateur manuellement ?
groupadd -r -g 27 mysql
useradd  -r -g 27 -u 27 -c "MySQL Server" -d /var/lib/mysql -s /sbin/nologin mysql
Bizarrement, chez moi, quand le paquet s'installe, l'utilisateur mysql ne se trouve pas dans le groupe mysql, mais il est créé avec ce groupe comme groupe principal...
Je ne sais pas si c'est normal ou pas.
Bon finalement, j'ai (re)-re-fait la manip de désinstallation/réinstallation. Ce coup-ci, en plus de supprimer les fichiers contenus dans /var/lib/mysql, j'ai aussi supprimé ceux contenus dans /etc/mysql : tout est rentré dans l'ordre après la réinstallation.

Merci de ton aide !