Projet

Général

Profil

Tâche #23447

Mis à jour par Emmanuel IHRY il y a presque 6 ans

Quand le serveur utilise LVM, le serveur MySQL ne démarre pas, alors qu'on ne rencontre pas ce soucis si letout est installé sur la meme partition :

journalctl -xe :

mars 29 14:17:17 sbl-xxx audit[30267]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/30267/status" pid=30267 comm="mysqld" re
mars 29 14:17:17 sbl-xxx audit[30267]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=30267 comm="mys
mars 29 14:17:17 sbl-xxx audit[30267]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/30267/status" pid=30267 comm="mysqld" re
mars 29 14:17:17 sbl-xxx kernel: audit: type=1400 audit(1522325837.182:30911): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/3026
mars 29 14:17:17 sbl-xxx kernel: audit: type=1400 audit(1522325837.182:30912): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devic
mars 29 14:17:17 sbl-xxx kernel: audit: type=1400 audit(1522325837.182:30913): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/3026
mars 29 14:17:17 sbl-xxx audit[30267]: AVC apparmor="DENIED" operation="mknod" profile="/usr/sbin/mysqld" name="/home/data/var/lib/mysql/sbl-xxx.lower-test"
mars 29 14:17:17 sbl-xxx audit[30267]: AVC apparmor="DENIED" operation="mknod" profile="/usr/sbin/mysqld" name="/home/data/var/lib/mysql/sbl-xxx.lower-test"
mars 29 14:17:17 sbl-xxx audit[30267]: AVC apparmor="DENIED" operation="mknod" profile="/usr/sbin/mysqld" name="/home/data/var/lib/mysql/sbl-xxx.lower-test"
mars 29 14:17:17 sbl-xxx kernel: audit: type=1400 audit(1522325837.378:30914): apparmor="DENIED" operation="mknod" profile="/usr/sbin/mysqld" name="/home/dat
mars 29 14:17:17 sbl-xxx kernel: audit: type=1400 audit(1522325837.378:30915): apparmor="DENIED" operation="mknod" profile="/usr/sbin/mysqld" name="/home/dat
mars 29 14:17:17 sbl-xxx kernel: audit: type=1400 audit(1522325837.378:30916): apparmor="DENIED" operation="mknod" profile="/usr/sbin/mysqld" name="/home/dat
mars 29 14:17:17 sbl-xxx audit[30267]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/home/data/var/lib/mysql/ibdata1" pid=30267 co
mars 29 14:17:17 sbl-xxx kernel: audit: type=1400 audit(1522325837.418:30917): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/home/data
mars 29 14:17:18 sbl-xxx systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
mars 29 14:17:20 sbl-xxx ntpd[29063]: Soliciting pool server 212.7.1.132

Retour