一个晴朗的早晨,我发现我再也不能在我的aws ubuntu18.04示例上ssh mysql服务器了。简而言之,我完全删除并重新安装了mysql。但我仍然无法启动mysql。错误消息包括行“请参阅”systemctl status mysql.service“和”journalctl-xe“以了解详细信息
ubuntu@ip-1xx-30-x-2xx:/$ systemctl status mysql.service
● mysql.service - MySQL Community Server
Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2018-08-28 12:41:02 UTC; 2min 5s ago
Process: 5067 ExecStart=/usr/sbin/mysqld --daemonize --pid-file=/run/mysqld/mysqld.pid (code=exite
Process: 5045 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS
Aug 28 12:41:01 ip-xxx-30-0-xxx systemd[1]: mysql.service: Failed with result 'exit-code'.
Aug 28 12:41:01 ip-xxx-30-0-xxx systemd[1]: Failed to start MySQL Community Server.
Aug 28 12:41:02 ip-xxx-30-0-xxx systemd[1]: mysql.service: Service hold-off time over, scheduling re
Aug 28 12:41:02 ip-xxx-30-0-xxx systemd[1]: mysql.service: Scheduled restart job, restart counter is
Aug 28 12:41:02 ip-xxx-30-0-xxx systemd[1]: Stopped MySQL Community Server.
Aug 28 12:41:02 ip-xxx-30-0-xxx systemd[1]: mysql.service: Start request repeated too quickly.
Aug 28 12:41:02 ip-xxx-30-0-xxx systemd[1]: mysql.service: Failed with result 'exit-code'.
Aug 28 12:41:02 ip-xxx-30-0-xxx systemd[1]: Failed to start MySQL Community Server.
下面是journalctl-xe的回应:
ubuntu@ip-1xx-30-x-2xx:/$ journalctl -xe
Aug 28 12:43:59 ip-xxx-30-0-xxx sshd[5180]: error: maximum authentication attempts exceeded for root from 58.218.92.43 port 14
Aug 28 12:43:59 ip-xxx-30-0-xxx sshd[5180]: Disconnecting authenticating user root 58.218.92.43 port 14426: Too many authentic
Aug 28 12:43:59 ip-xxx-30-0-xxx sshd[5180]: PAM 5 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=58.
Aug 28 12:43:59 ip-xxx-30-0-xxx sshd[5180]: PAM service(sshd) ignoring max retries; 6 > 3
Aug 28 12:44:05 ip-xxx-30-0-xxx sshd[5197]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser=
Aug 28 12:44:07 ip-xxx-30-0-xxx sshd[5197]: Failed password for root from 58.218.92.43 port 10186 ssh2
Aug 28 12:44:10 ip-xxx-30-0-xxx sshd[5197]: Failed password for root from 58.218.92.43 port 10186 ssh2
.
.
. 这一次又一次的重复。我对ip 58.218.92.43一无所知;
问题是我被黑了吗?如何摆脱困境?
暂无答案!
目前还没有任何答案,快来回答吧!