Bonjour à tous,
Je viens de terminer la mise à jour, par la même occasion, j'ai voulus installé PHP, Apache, Mysql et phpMyAdmin afin de continué un projet de site web.
Tout c'est bien déroulé, jusqu'au lancement de Mysql où j'ai une erreur :
[da-max@localhost ~]$ sudo systemctl start mysqld.service
[sudo] Mot de passe de da-max :
Job for mysqld.service failed because the control process exited with error code.
See "systemctl status mysqld.service" and "journalctl -xe" for details.
J'ai donc suivis les instructions et voici le retour de :
status mysqld.serivce
[da-max@localhost ~]$ sudo systemctl status mysqld.service
● mysqld.service - MySQL 8.0 database server
Loaded: loaded (/usr/lib/systemd/system/mysqld.service; disabled; vendor pre>
Active: failed (Result: exit-code) since Thu 2018-11-01 15:27:06 CET; 34s ago
Process: 4900 ExecStopPost=/usr/libexec/mysql-wait-stop (code=exited, status=>
Process: 4898 ExecStart=/usr/libexec/mysqld --basedir=/usr (code=exited, stat>
Process: 4862 ExecStartPre=/usr/libexec/mysql-prepare-db-dir mysqld.service (>
Process: 4838 ExecStartPre=/usr/libexec/mysql-check-socket (code=exited, stat>
Main PID: 4898 (code=exited, status=1/FAILURE)
Status: "SERVER_BOOTING"
Error: 2 (No such file or directory)
nov. 01 15:27:06 localhost systemd[1]: Starting MySQL 8.0 database server...
nov. 01 15:27:06 localhost systemd[1]: mysqld.service: Main process exited, cod>
nov. 01 15:27:06 localhost systemd[1]: mysqld.service: Failed with result 'exit>
nov. 01 15:27:06 localhost systemd[1]: Failed to start MySQL 8.0 database serve>
lines 1-15/15 (END)...skipping...
● mysqld.service - MySQL 8.0 database server
Loaded: loaded (/usr/lib/systemd/system/mysqld.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2018-11-01 15:27:06 CET; 34s ago
Process: 4900 ExecStopPost=/usr/libexec/mysql-wait-stop (code=exited, status=0/SUCCESS)
Process: 4898 ExecStart=/usr/libexec/mysqld --basedir=/usr (code=exited, status=1/FAILURE)
Process: 4862 ExecStartPre=/usr/libexec/mysql-prepare-db-dir mysqld.service (code=exited, status=0/SUCCESS)
Process: 4838 ExecStartPre=/usr/libexec/mysql-check-socket (code=exited, status=0/SUCCESS)
Main PID: 4898 (code=exited, status=1/FAILURE)
Status: "SERVER_BOOTING"
Error: 2 (No such file or directory)
nov. 01 15:27:06 localhost systemd[1]: Starting MySQL 8.0 database server...
nov. 01 15:27:06 localhost systemd[1]: mysqld.service: Main process exited, code=exited, status=1/FAILURE
nov. 01 15:27:06 localhost systemd[1]: mysqld.service: Failed with result 'exit-code'.
nov. 01 15:27:06 localhost systemd[1]: Failed to start MySQL 8.0 database server.
- Et de :
journalctl -xe
[da-max@localhost ~]$ journalctl -xe
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- L'unité (unit) mysqld.service a commencé à démarrer.
nov. 01 15:27:06 localhost systemd[1]: mysqld.service: Main process exited, code=exited, status=1/FAILURE
nov. 01 15:27:06 localhost systemd[1]: mysqld.service: Failed with result 'exit-code'.
nov. 01 15:27:06 localhost systemd[1]: Failed to start MySQL 8.0 database server.
-- Subject: L'unité (unit) mysqld.service a échoué
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- L'unité (unit) mysqld.service a échoué, avec le résultat RESULT.
nov. 01 15:27:06 localhost audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=mysqld comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? te>
nov. 01 15:27:06 localhost sudo[4807]: pam_unix(sudo:session): session closed for user root
nov. 01 15:27:06 localhost audit[4807]: USER_END pid=4807 uid=0 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:session_close grantors=pam_keyinit,pam_limits,pam_keyinit,p>
nov. 01 15:27:06 localhost audit[4807]: CRED_DISP pid=4807 uid=0 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_localuser,pam_unix acct="root" exe="/>
nov. 01 15:27:28 localhost sudo[5562]: da-max : problem with defaults entries ; TTY=pts/0 ; PWD=/home/da-max ; USER=root ;
nov. 01 15:27:28 localhost audit[5562]: USER_ACCT pid=5562 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:accounting grantors=pam_unix,pam_localuser acct="da-max>
nov. 01 15:27:28 localhost audit[5562]: USER_CMD pid=5562 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='cwd="/home/da-max" cmd=737461747573206D7973716C642E736572697663>
nov. 01 15:27:31 localhost audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? te>
nov. 01 15:27:32 localhost sudo[5592]: da-max : problem with defaults entries ; TTY=pts/0 ; PWD=/home/da-max ; USER=root ;
nov. 01 15:27:32 localhost audit[5592]: USER_ACCT pid=5592 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:accounting grantors=pam_unix,pam_localuser acct="da-max>
nov. 01 15:27:32 localhost audit[5592]: USER_CMD pid=5592 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='cwd="/home/da-max" cmd=737461747573206D7973716C642E736572766963>
nov. 01 15:27:40 localhost sudo[6856]: da-max : problem with defaults entries ; TTY=pts/0 ; PWD=/home/da-max ; USER=root ;
nov. 01 15:27:40 localhost audit[6856]: USER_ACCT pid=6856 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:accounting grantors=pam_unix,pam_localuser acct="da-max>
nov. 01 15:27:40 localhost sudo[6856]: da-max : TTY=pts/0 ; PWD=/home/da-max ; USER=root ; COMMAND=/usr/bin/systemctl status mysqld.service
nov. 01 15:27:40 localhost audit[6856]: USER_CMD pid=6856 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='cwd="/home/da-max" cmd=73797374656D63746C20737461747573206D7973>
nov. 01 15:27:40 localhost audit[6856]: CRED_REFR pid=6856 uid=0 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_env,pam_fprintd acct="root" exe="/usr>
nov. 01 15:27:40 localhost sudo[6856]: pam_systemd(sudo:session): Cannot create session: Already running in a session or user slice
nov. 01 15:27:40 localhost sudo[6856]: pam_unix(sudo:session): session opened for user root by (uid=0)
nov. 01 15:27:40 localhost audit[6856]: USER_START pid=6856 uid=0 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:session_open grantors=pam_keyinit,pam_limits,pam_keyinit,>
nov. 01 15:28:45 localhost org.keepassxc.KeePassXC.desktop[2190]: QObject::startTimer: Timers cannot have negative intervals
nov. 01 15:29:10 localhost gnome-shell[2190]: NOTE: Not using GLX TFP!
nov. 01 15:34:41 localhost dbus-daemon[927]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.429' (uid=1000 pid=2778 comm>
nov. 01 15:34:41 localhost systemd[1]: Starting Hostname Service...
-- Subject: L'unité (unit) systemd-hostnamed.service a commencé à démarrer
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- L'unité (unit) systemd-hostnamed.service a commencé à démarrer.
nov. 01 15:34:41 localhost dbus-daemon[927]: [system] Successfully activated service 'org.freedesktop.hostname1'
nov. 01 15:34:41 localhost systemd[1]: Started Hostname Service.
-- Subject: L'unité (unit) systemd-hostnamed.service a terminé son démarrage
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- L'unité (unit) systemd-hostnamed.service a terminé son démarrage, avec le résultat RESULT.
nov. 01 15:34:41 localhost audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=>
nov. 01 15:34:42 localhost kernel: nf_conntrack: default automatic helper assignment has been turned off for security reasons and CT-based firewall rule not found. Use the iptables CT target to attach helpers >
nov. 01 15:35:19 localhost audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=?>
nov. 01 15:35:22 localhost sudo[6856]: pam_unix(sudo:session): session closed for user root
nov. 01 15:35:22 localhost audit[6856]: USER_END pid=6856 uid=0 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:session_close grantors=pam_keyinit,pam_limits,pam_keyinit,p>
nov. 01 15:35:22 localhost audit[6856]: CRED_DISP pid=6856 uid=0 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_env,pam_fprintd acct="root" exe="/usr>
J'ai essayé de dé-installer puis de ré-installer (ou même d'installer MariaDB), mais rien n'y fait.
Merci d'avance.