moin,
I have the problem that mysql doesn't work anymore.
"Zend_Db_Adapter_Exception
SQLSTATE[HY000] [2002] No such file or directory" comes on the page after an update from Plesk via the console.
This message appears in the console:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
I looked in my.cnf and the 127.0.0.1 is also available.
the stand under systemctlstatus mysql.service
mysql.service - MySQL Community Server
Geladen: geladen (/lib/systemd/system/system/mysql.service; aktiviert; Lieferantenvoreinstellung: aktiviert)
Aktiv: Aktivierung (Start-Post) (Ergebnis: Exit-Code) seit Mo 2019-07-15 07:56:12 CEST; vor 4s
Prozess: 29909 ExecStart=/usr/sbin/mysqld (code=exited, status=1/FAILURE)
Prozess: 29900 ExecStartPre=/usr/share/mysql/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS)
Haupt PID: 29909 (code=exited, status=1/FAILURE); : 29910 (mysql-systemd-s)
Aufgaben: 2
Erinnerung: 448.0K
CPU: 338ms
CGroup: /system.slice/mysql.service
└─control
├─29910 /bin/bash /usr/share/mysql/mysql/mysql-systemd-start post
└─29958─29958 Schlaf 1
Jul 15 07:56:12 serv02.ngg.sh systemd[1]: MySQL Community Server starten.....
Jul 15 07:56:14 serv02.ngg.sh systemd[1]: mysql.service: Hauptprozess beendet, code=exited, status=1/FAILURE
an that under journalctl -xe:
Subject: Unit mysql.service has failed
-- Defined-By: systemd
-- Support: systemd-devel Info Page
--
-- Unit mysql.service has failed.
--
-- The result is failed.
Jul 15 07:57:43 serv02.ngg.sh systemd[1]: mysql.service: Unit entered failed state.
Jul 15 07:57:43 serv02.ngg.sh systemd[1]: mysql.service: Failed with result 'exit-code'.
Jul 15 07:57:43 serv02.ngg.sh systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Jul 15 07:57:43 serv02.ngg.sh systemd[1]: Stopped MySQL Community Server.
-- Subject: Unit mysql.service has finished shutting down
-- Defined-By: systemd
-- Support: systemd-devel Info Page
--
-- Unit mysql.service has finished shutting down.
Jul 15 07:57:43 serv02.ngg.sh systemd[1]: Starting MySQL Community Server...
-- Subject: Unit mysql.service has begun start-up
-- Defined-By: systemd
-- Support: systemd-devel Info Page
--
-- Unit mysql.service has begun starting up.
Jul 15 07:57:43 serv02.ngg.sh audit[30379]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/30379/status" pid=30379 comm="mysqld" requested_mask="r" denied_mask
Jul 15 07:57:43 serv02.ngg.sh audit[30379]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=30379 comm="mysqld" requested_mask="r" deni
Jul 15 07:57:43 serv02.ngg.sh audit[30379]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/30379/status" pid=30379 comm="mysqld" requested_mask="r" denied_mask
Jul 15 07:57:43 serv02.ngg.sh kernel: audit: type=1400 audit(1563170263.895:3919): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/30379/status" pid=30379 comm="mys
Jul 15 07:57:43 serv02.ngg.sh kernel: audit: type=1400 audit(1563170263.895:3920): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=30379 co
Jul 15 07:57:43 serv02.ngg.sh kernel: audit: type=1400 audit(1563170263.895:3921): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/30379/status" pid=30379 comm="mys
Jul 15 07:57:44 serv02.ngg.sh smbd[30398]: pam_unix(samba:session): session closed for user nobody
Jul 15 07:57:46 serv02.ngg.sh systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
even plesk repair all -y does not work
I really don't know what to do right now.
Thanks and greetings
I have the problem that mysql doesn't work anymore.
"Zend_Db_Adapter_Exception
SQLSTATE[HY000] [2002] No such file or directory" comes on the page after an update from Plesk via the console.
This message appears in the console:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
I looked in my.cnf and the 127.0.0.1 is also available.
the stand under systemctlstatus mysql.service
mysql.service - MySQL Community Server
Geladen: geladen (/lib/systemd/system/system/mysql.service; aktiviert; Lieferantenvoreinstellung: aktiviert)
Aktiv: Aktivierung (Start-Post) (Ergebnis: Exit-Code) seit Mo 2019-07-15 07:56:12 CEST; vor 4s
Prozess: 29909 ExecStart=/usr/sbin/mysqld (code=exited, status=1/FAILURE)
Prozess: 29900 ExecStartPre=/usr/share/mysql/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS)
Haupt PID: 29909 (code=exited, status=1/FAILURE); : 29910 (mysql-systemd-s)
Aufgaben: 2
Erinnerung: 448.0K
CPU: 338ms
CGroup: /system.slice/mysql.service
└─control
├─29910 /bin/bash /usr/share/mysql/mysql/mysql-systemd-start post
└─29958─29958 Schlaf 1
Jul 15 07:56:12 serv02.ngg.sh systemd[1]: MySQL Community Server starten.....
Jul 15 07:56:14 serv02.ngg.sh systemd[1]: mysql.service: Hauptprozess beendet, code=exited, status=1/FAILURE
an that under journalctl -xe:
Subject: Unit mysql.service has failed
-- Defined-By: systemd
-- Support: systemd-devel Info Page
--
-- Unit mysql.service has failed.
--
-- The result is failed.
Jul 15 07:57:43 serv02.ngg.sh systemd[1]: mysql.service: Unit entered failed state.
Jul 15 07:57:43 serv02.ngg.sh systemd[1]: mysql.service: Failed with result 'exit-code'.
Jul 15 07:57:43 serv02.ngg.sh systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Jul 15 07:57:43 serv02.ngg.sh systemd[1]: Stopped MySQL Community Server.
-- Subject: Unit mysql.service has finished shutting down
-- Defined-By: systemd
-- Support: systemd-devel Info Page
--
-- Unit mysql.service has finished shutting down.
Jul 15 07:57:43 serv02.ngg.sh systemd[1]: Starting MySQL Community Server...
-- Subject: Unit mysql.service has begun start-up
-- Defined-By: systemd
-- Support: systemd-devel Info Page
--
-- Unit mysql.service has begun starting up.
Jul 15 07:57:43 serv02.ngg.sh audit[30379]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/30379/status" pid=30379 comm="mysqld" requested_mask="r" denied_mask
Jul 15 07:57:43 serv02.ngg.sh audit[30379]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=30379 comm="mysqld" requested_mask="r" deni
Jul 15 07:57:43 serv02.ngg.sh audit[30379]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/30379/status" pid=30379 comm="mysqld" requested_mask="r" denied_mask
Jul 15 07:57:43 serv02.ngg.sh kernel: audit: type=1400 audit(1563170263.895:3919): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/30379/status" pid=30379 comm="mys
Jul 15 07:57:43 serv02.ngg.sh kernel: audit: type=1400 audit(1563170263.895:3920): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=30379 co
Jul 15 07:57:43 serv02.ngg.sh kernel: audit: type=1400 audit(1563170263.895:3921): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/30379/status" pid=30379 comm="mys
Jul 15 07:57:44 serv02.ngg.sh smbd[30398]: pam_unix(samba:session): session closed for user nobody
Jul 15 07:57:46 serv02.ngg.sh systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
even plesk repair all -y does not work
I really don't know what to do right now.
Thanks and greetings