Hello. I have strange problem. I am newbie with VMware products. I installed ESXi 6.0 on HP proliant 180 gen9.
After that i used convertor stand alone to migrate linux server. Everething was fine, everything works. But the next problem emerges after couple of time - when i trying to remotely connect to ESXi it say to me "Can not complete login due to an incorrect username or password." It does not matter how I connect through Vsphere Client, via ssh, or simply click on the link "Browse datastores in this host's inventory" in browser. Moreover. I can login with same login\password use keyboard usb connected to server. Changing password does nothing. It helps only a reset to default. Then again, it begins to start up, and from anywhere. Somewhere I read that the problem occurs if the set dns and host name on ESXi, i do not set up DNS so that only the host name. Another problem not defined RAID controller, but I do not think it is interconnected, maybe I'm wrong? I would welcome any ideas and help.
Hi. Ty for answer. Problem solved. I started use same keyboard option as ESXi server. After switching from U.S. default to U.S. int problem was solve. I don't know why it work with U.S. default for some day before.
worth checking keyboard layout settings of your ESXi host and keyboard layout of our client machine from where you are trying to login.
has there been any changes in this setting at one of the place.
since you said connecting keyboard locally with the esxi host works but when you try in vi client or web client or even web based browse datastore and it's not working so I am suggesting this.
Ty for answer, but it work for some time, few days and i change nothing. And after restore to defaults it work for some time again. I tried change u.s. default to eng with no result.
Hi There,
Are you trying to login with root user or it's integrated to Active directory?
Hi. Ty for answer. Problem solved. I started use same keyboard option as ESXi server. After switching from U.S. default to U.S. int problem was solve. I don't know why it work with U.S. default for some day before.
I am having the same problem but switching the keyboard layout doesn't help.
I am able to login fine on the console (thank god for IPMI) and reset the management network, then my username and login will work for awhile and then quit working again ... so I have to then IPMI back the the console and repeat the whole process over again.
Did you try change keyboard layout on ESXi server? Try for example english(UK) or smth else.
Hi,
Thanks for an update.
I originally had the VMWare server exposed to the world temporarily during setup. When I turned the firewall back on, the problem suddenly stopped happening.
I wonder if there wasn't a script trying to brute force something that was causing ESXi to disable the ability to login, either way with the firewall back on we aren't experiencing the issue.
Solution:
1) Login to ESXi Direct Console Interface (DCUI) with "root" account.
2) Press "F2", go to "Troubleshooting Options".
3) Enable "ESXi Shell" using "Enable ESXi Shell" Option and go back to main menu.
4) Press "CTRL+ALT+F1" to switch to "ESXi Shell"
5) Type Command "pam_tally2 --user root" to view total failed login attempt from root.
from below example, There are 14 failed login attempt.
6) Type Command "pam_tally2 --user root --reset" to reset the lock.
7) Now we will be able to login to ESXi via vSPhere Client or web client.
ESXi events showing the failed login attempts and "root" locked events.
This fixed my issue thanks a million.
your problem occurred because of failed login attempt from root. it could be for monitoring tools and try with wrong password.
Hi, I am facing same issue , I am using AD integrated account. Do you have any solution ?
The solution has been posted about 7 years ago (see above). 😉
If it doesn't solve your issue too, then please open a new discussion, with details about your environment (hardware, ESXi version, etc.).
André
code error in web login panel
panel bridge code