Você está usando "vsftpd"?
Talvez, se você removê-lo, não tenha mais o problema
sudo apt-get remove vsftpd
O MySQL Community Server 5.7 (instalado via apt) é executado em um servidor virtual hospedado, o serviço só é reiniciado com sucesso quando eu reiniciar o servidor. Mas, mesmo assim, o serviço mysql não é iniciado ocasionalmente.
journalct -xe mostra:
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
Então diz:
[...] 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
Não tenho ideia para que esta mensagem aponta.
Preciso editar o serviço ou o script init.d? Alguém com mais conhecimentos de linux sabe como consertar esse comportamento?
Você está usando "vsftpd"?
Talvez, se você removê-lo, não tenha mais o problema
sudo apt-get remove vsftpd