ESXi

 View Only
  • 1.  vSphere Client says i have wrong password

    Posted Aug 04, 2016 04:30 PM

    For some unknown reason after a while I am unable to log into the vmware with vSphere Client. I get the error that I am using the wrong username or password. If i go onto the host esxi and log in with same password, then restart the managament, then all is good. I have tried searching for why this is happening, but cannot seem to figure this out.

    I have also reinstalled VMware to see if that helped, but the same problem occured on that as well. On the other hand I am able to use the VMs trough TeamViewer when not beeing able to use vSpehere Client.

    Anyone with an idea on what is going on?



  • 2.  RE: vSphere Client says i have wrong password

    Posted Aug 04, 2016 04:35 PM

    please upload hostd.log file here.

    location of this file in your ESXi host: /var/log



  • 3.  RE: vSphere Client says i have wrong password

    Posted Aug 04, 2016 05:02 PM

    Here it is. I do not understand anything inside this file.

    But again it failed. Was working fine before dinner, but after dinner i get the standard wrong password. resetting the management agents and I am able to log in again.

    EDIT:

    Short info of the system.

    Asus Z8NA-D6 mainboard with 2 x Intel® 82574L

    2 x Xenon X5670

    48GB RDIMM memory

    So don't see that anything should be wrong here, the network card shows as supported.



  • 4.  RE: vSphere Client says i have wrong password

    Posted Aug 04, 2016 05:24 PM

    I can see following entries multiple times

    2016-08-04T13:07:05.782Z info hostd[FFDC3AE0] [Originator@6876 sub=Vimsvc.ha-eventmgr] Event 105 : Remote access for ESXi local user account 'root' has been locked for 120 seconds after 12 failed login attempts.

    since ESXi 6 has got a default root account remote access lockout policy which will lock the remote access to ESXi host after certain unsuccessful attempts. Is your host exposed to internet directly with SSH Shell turned on. If so, this could be one of the reason why Remote Access to root account is being locked.



  • 5.  RE: vSphere Client says i have wrong password

    Posted Aug 04, 2016 05:40 PM

    Ok so this block go away then.

    Can't see why there has been this many attempts. As its a new installation with only me accessing it. I was also trying to use Thinbackup which need SSL access, so maybe there is something there. The SSL port is opened to the internett, but it is behind a router on the network.



  • 6.  RE: vSphere Client says i have wrong password

    Posted Aug 05, 2016 07:11 AM

    I do not get this. Just got to the computer to log in. and it now says I got the wrong password. There is no one that has tried logging in on this since yesterday.

    You said something about the vmware being open to internet? So opening SSL ports etc is a bad thing or?

    Will it help creating a new user that has root access?



  • 7.  RE: vSphere Client says i have wrong password

    Posted Aug 05, 2016 10:23 AM

    let's do this.

    go to ESXi DCUI,

    disable SSH Shell, you will find this under Troubleshooting Options.

    wait for about 2 or 3 minutes.

    try to login into host using vSphere Client to see if logon is going through successfully.



  • 8.  RE: vSphere Client says i have wrong password

    Posted Aug 05, 2016 12:08 PM

    Well i need SSH for Thinbackup to work. So is there another way around this?



  • 9.  RE: vSphere Client says i have wrong password

    Posted Aug 05, 2016 12:41 PM

    another way is, try to configure ESXi firewall rule to accept connection on SSH Server (22) from only particular IP or range of IPs only.

    do not leave it open to accept connection from all the IPs.

    see following post, it will give you some step by step instructions about how to do it.

    http://www.vladan.fr/esxi-firewall/



  • 10.  RE: vSphere Client says i have wrong password

    Posted Aug 05, 2016 01:06 PM

    That sounds like a good way. Do you know if I can use MAC instead of IP? Then when moving my laptop to other locations it will still be allowed to access.



  • 11.  RE: vSphere Client says i have wrong password

    Posted Aug 05, 2016 03:10 PM

    no, MAC address cannot be used in ESXi firewall.