VMware Appliance Management Interface (VAMI) – Unable to login

This morning I faced a strange issue in my vSphere Lab when a wanted to login to VAMI interface – of course to install the newly released “vSphere 6.7 U1” update.

I opened the VAMI URL for my Platform service controller (PSC): https://<FQDN>:5480 and typed in my root credentials as a normally would. However, the only thing that showed on the screen was a message saying: “Unable to login”.

After this I tried to type in my password multiple times to make sure that I was actually typing in the correct one, but still, I just got the same error message.

Next, logically step for me was to try to same credentials on the console of the PSC, so I opened my vCenter (that actually still worked!), located my PSC and accessed the console from there. At my first attempt my root password was actually rejected (I might type it in wrong) but second attempt actually let me log in.

From there I saw the message “[ERROR]: Failed to connect to service.” and that gave me a clue that some services was not running as intended!

In the console, I tried to list all the services using this command:

service-control --status

And there I could actually see that “applmngt” and “vmware-statsmonitor” services was actually stopped.

I typed the following command to start all services that where not in the running state:

service-control --start --all

After that, login on the VAMI web interface worked again! Hooray!

Please follow and like my blog:

18 comments

  1. Hello,

    I also encountered this problem following the update of 6.7.0.20100 to 6.7.0.21000

    The solution to start the services manually works.

    But if I restart vCenter Server Appliance, the same problem occurs.

    It is not a definitive solution …

    With best regards.

  2. applmgmt service is in charge of VAMI web interface. If the service stop you can not log in. So just enter the cmd [ service-control –start applmgmt ] and you are good to go.

  3. Same issue here after upgrading from 6.7.0.21000 to 6.7.0.31000 (or 6.7.0.30000 which has the same issue):

    root@photon-machine [ ~ ]# service-control –status
    Stopped:
    applmgmt vmcam vmware-imagebuilder vmware-mbcs vmware-netdumper vmware-rbd-watchdog vmware-statsmonitor vmware-vcha vsan-dps
    Running:
    lwsmd pschealth vmafdd vmcad vmdird vmdnsd vmonapi vmware-analytics vmware-certificatemanagement vmware-cis-license vmware-cm vmware-content-library vmware-eam vmware-perfcharts vmware-pod vmware-postgres-archiver vmware-rhttpproxy vmware-sca vmware-sps vmware-sts-idmd vmware-stsd vmware-topologysvc vmware-updatemgr vmware-vapi-endpoint vmware-vmon vmware-vpostgres vmware-vpxd vmware-vpxd-svcs vmware-vsan-health vmware-vsm vsphere-client vsphere-ui

    Starting the services manually indeed solves the issue temporarily. I then also upgraded to 6.7.0.31100, same issue.

    Did anyone find why they don’t start automatically anymore? I opened a case at VMWare…

      1. They don’t have a solution. “Try to reboot and see if it works now that you were able to login”. And if it still doesn’t work, open a new ticket to re-enable automatic start. As it’s a RHEL/CentOS base (I think) I should be able to solve that one 🙂

        And indeed only applmgmt is needed, so: service-control –start applmgmt

      2. Ok, I had a useful reply this time, which solved the issue. The problem is that applmgmt depends on vmware-statsmonitor which has a too short start timeout. The solution was to edit /etc/vmware/vmware-vmon/svcCfgfiles/statsmonitor.json, and add
        “StartTimeout”: 600,
        after
        “ApiHealthFile” : “/var/vmware/applmgmt/statsmonitor_health.xml”,

        + reboot and done, problem solved.

        1. Thanks for this Steven. I had the same problem recurring after a reboot and your solution of adding the timeout has fixed it!

        2. Hi – the VMware KB (68149, linked by Mike T below) also suggests changing the timeout in /etc/vmware/vmware-vmon/svcCfgfile/applmgmt.json to 600 (the line already exists, but the default timeout is 60s). I found I needed to make both changes to fix the issue for me.

  4. Indeed, the solution provided in the VMware KB works.
    On the other hand, the modifications explained in the KB have to be redone with each update of vCenter since the files are overwritten during the update.

  5. Thanks Again.
    Same Issue here, Same resolution. Applied the Vmware KB solution to avoid this issue for the future reboot of VCSA.

  6. Hi, I just did an upgrade of my production VCSAs from 6.7.0 11727113 to 6.7.0 Appliance 6.7 U3f (6.7.0.
    15976728 released April 9, 2020) and I would like to thank you, the “service-control –start –all” got VAMI back up and running.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.