ログイン試行に複数回失敗したため、1台以上のESXiホストのrootアカウントがロックされています。
SSHまたはWeb UIを使用してノードに接続できません。
iDRACコンソールを使用してESXiシェルで問題を確認します。
vCenterでは、次のような警告メッセージが表示されます。
Remote access for ESXi local user account 'root' has been locked for 900s after 14 failed login attempts.
図1: リモート アクセスはロックされています。
影響を受けるホストでは、次のようなログが見つかります。
/var/log/vobd.log
2020-04-03T17:27:58.790Z: [GenericCorrelator] 8202447897096us: [vob.user.account.locked] Remote access for ESXi local user account 'root' has been locked for 900 seconds after 32 failed login attempts.
2020-04-03T17:27:58.790Z: [UserLevelCorrelator] 8202447897096us: [vob.user.account.locked] Remote access for ESXi local user account 'root' has been locked for 900 seconds after 32 failed login attempts.
2020-04-03T17:27:58.791Z: [UserLevelCorrelator] 8202447897325us: [esx.audit.account.locked] Remote access for ESXi local user account 'root' has been locked for 900 seconds after 32 failed login attempts.
/var/log/auth.log
2020-04-03T17:29:06Z sshd[701694298]: Connection from 192.168.100.40 port 55682
2020-04-03T17:29:06Z sshd[701333862]: pam_tally2(sshd:auth): user root (0) tally 34, deny 5
2020-04-03T17:29:08Z sshd[701694298]: error: PAM: Authentication failure for root from 192.168.100.40
2020-04-03T17:29:08Z sshd[701694492]: pam_tally2(sshd:auth): user root (0) tally 35, deny 5
2020-04-03T17:29:08Z sshd[701694492]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=192.168.100.40 user=root
2020-04-03T17:29:10Z sshd[701694298]: error: PAM: Authentication failure for root from 192.168.100.40
2020-04-03T17:29:10Z sshd[701694298]: error: Received disconnect from 192.168.100.40 port 55682:3: com.jcraft.jsch.JSchException: Auth cancel [preauth]
2020-04-03T17:29:10Z sshd[701694298]: Disconnected from authenticating user root 192.168.100.40 port 55682 [preauth]
Cntrl-Alt-F1
をクリックしてシェルにアクセスします。#pam_tally2 --user root #pam_tally2 --user root --reset #pam_tally2 --user root
詳細については、VMwareの記事「ESXiパスワードとアカウント ロックアウト」を参照してください。
ESXi故障修理によるrootユーザー アカウントのロック解除に関するビデオをご覧ください。
再生時間:00:04:56 (hh:mm:ss)
利用可能な場合、このビデオ プレーヤーの設定またはCCアイコンを使用してクローズド キャプション(字幕)の言語設定を選択できます。
関連リソース
ここでは、このトピックに関連した、興味があると思われる推奨リソースをいくつか紹介します。