VMWare Virtual Appliance Failed Login

The VMware Appliance has a web interface and ssh login capability. The old-style Java-based client was phased out after vSphere version 5.5, being replaced by the much more responsive HTML5 application.

VAMI Unable to Login

I encountered a really strange problem today when I could not log in to my vCenter appliance. I know the password and the user account, but I was just getting this error:

Vmware Appliance Management console login error "unable to login"
unable to log in error

Now I was 100% certain of the password. To confirm, I logged into the appliance via SSH with the exact same credentials. As you can see, SSH was working fine. How Weird!

credentials working fine via SSH

The cause of this error was that the applmgmt service was not running. Here is how to fix it:

Step 1 – Log into your vCenter appliance via SSH

Use your favorite SSH tool, such as PUTTY, ideally with the root credentials

Step 2 – Check What Services are running on the vCenter Appliance

From the command line, type the following to list the running services:

Bash
service-control --status

You will get output similar to this. You are looking for the applmgmt service. See the highlighted text below.

Bash
root@vcenter [ /var/log/vmware/applmgmt ]# service-control --status
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

Stopped:
applmgmt vmcam vmware-imagebuilder vmware-mbcs vmware-netdumper vmware-rbd-watchdog vmware-statsmonitor vmware-vcha vsan-dps

Step 3 – Start the applmgmt Service

To start the service, simply type:

Bash
service-control --start applmgmt

Bash
root@vcenter [ /var/log/vmware/applmgmt ]# service-control --start applmgmt
Operation not cancellable. Please wait for it to finish…
Performing start operation on service applmgmt…
Successfully started service applmgmt

Step 4 – Test Access to the VMware Virtual Appliance

Now log into the vCenter Appliance Management Interface

boom! it worked 🙂
Elsewhere On TurboGeek:  How to Migrate Red Hat 5 to RHEL 6/7/8/9

Richard.Bailey

Richard Bailey, a seasoned tech enthusiast, combines a passion for innovation with a knack for simplifying complex concepts. With over a decade in the industry, he's pioneered transformative solutions, blending creativity with technical prowess. An avid writer, Richard's articles resonate with readers, offering insightful perspectives that bridge the gap between technology and everyday life. His commitment to excellence and tireless pursuit of knowledge continues to inspire and shape the tech landscape.

You may also like...

2 Responses

  1. Michael says:

    Thanks a lot for this post. It worked in my case although I had some more services not running.

Leave a Reply

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

Translate »