MySQL Community Server 5.7 (installed via apt) runs on a hosted virtual server, the service only starts up again successfully when I restart the server. But even then the mysql service doesn't start up occasionally.
journalct -xe shows:
Nov 16 15:10:28 Ubuntu-1604-xenial-64-minimal systemd[1]: Starting MySQL Community Server...
-- Subject: Unit mysql.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysql.service has begun starting up.
Nov 16 15:10:28 Ubuntu-1604-xenial-64-minimal systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Nov 16 15:10:45 Ubuntu-1604-xenial-64-minimal vsftpd[4760]: pam_unix(vsftpd:auth): check pass; user unknown
Nov 16 15:10:45 Ubuntu-1604-xenial-64-minimal vsftpd[4760]: pam_unix(vsftpd:auth): authentication failure; logname= uid=0 euid=0 tty=f
Nov 16 15:10:58 Ubuntu-1604-xenial-64-minimal systemd[1]: Failed to start MySQL Community Server.
-- Subject: Unit mysql.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysql.service has failed.
--
-- The result is failed.
Nov 16 15:10:58 Ubuntu-1604-xenial-64-minimal systemd[1]: mysql.service: Unit entered failed state.
Nov 16 15:10:58 Ubuntu-1604-xenial-64-minimal systemd[1]: mysql.service: Failed with result 'exit-code'.
Nov 16 15:10:58 Ubuntu-1604-xenial-64-minimal systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Nov 16 15:10:58 Ubuntu-1604-xenial-64-minimal systemd[1]: Stopped MySQL Community Server.
-- Subject: Unit mysql.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysql.service has finished shutting down.
Nov 16 15:10:58 Ubuntu-1604-xenial-64-minimal systemd[1]: Starting MySQL Community Server...
-- Subject: Unit mysql.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysql.service has begun starting up.
Nov 16 15:10:58 Ubuntu-1604-xenial-64-minimal systemd[1]: mysql.service:
Main process exited, code=exited, status=1/FAILURE
So it says:
[...] vsftpd[4760]: pam_unix(vsftpd:auth): check pass; user unknown
[...] vsftpd[4760]: pam_unix(vsftpd:auth): authentication failure; logname= uid=0 euid=0 tty=f
I have no idea what this message points to.
Do I have to edit the service or the init.d script? Does anyone with more linux knowledge know how to fix this behaviour?