Elm License Server Is Not Responsive Try Again Later

Recently we've had some weird issues on one of our customers vCenter Servers. For starters the vMotion and Storage vMotion features weren't working anymore because of fourth dimension-outs. Which is weird and something I've never seen earlier. So we started troubleshooting the VCSA server and noticed that it couldn't retrieve the installed licenses (VMware vSphere Enterprise Plus) from the product ESXi hosts anymore.

Going to the "Licensed Features" tab in the vSphere Client (VCSA version 6.0 GA) normally gives you a nice overview of what vSphere license is installed, only this time information technology was but empty. Going to the ESXi host directly you could however see that the license was present and activated. We also noticed that the License module in the vSphere client was also providing united states of america with a timeout.

Once nosotros dove into the log files from the license service in "/var/log/vmware/cis-license/license.log" nosotros noticed some Security Token Service STS service, SSO service and web-customer service issues in regards to certificates. Which got me thinking and looking at the certificates for this vCenter Server Appliance. Below you can find some snippets of logs which might be interesting for you to match your problem to the one I was having:

You tin can utilise the following cli cmdlets to cheque your certificate stores and the certificates that are in them:

All certificates checked out but estimate what, the "MACHINE_SSL_CERT" didn't. Turns out it was expired. Funny affair though is that this item vCenter Apparatus should'nt even be working anymore considering one time the document is expired, well-nigh of the fourth dimension it won't fifty-fifty kickoff all of the vCenter services once you reboot it. In our case somehow information technology did.

And so we went alee and fired up the "certificate-manager" tool which can exist found in "/usr/lib/vmware-vmca/bin/document-manager", picked option 3 to supercede the the Machine SSL with a VMCA certificate (which is a self-signed certificate but that's fine for this environment), entered the data which was nowadays in the electric current certificate such as hostnames and IP-address information and accepted all changes.

Certificate-director tool on the vCenter Server Appliance

Once y'all accepted the change it is proposing it will update the certificates in the locations information technology is needed and end and first all services. Slice of cake. Our certificate-manager however decided it was time to throw an error:

Once we checked that log we saw that the certificate-manager tooling couldn't start the "vmware-eam" service, see the below log snippet which can be establish in "/var/log/vmware/vmcad/certificate-manager.log":

Sure enough we were hitting a bug in our vCenter Server Appliance. This bug prevented the EAM service from starting subsequently a vCenter reboot. This bug basically deletes the "eam.backdrop" file in the "/etc/vmware-eam/" directory. This file is crucial for the service to first and know what to exercise. Since this file was missing in our surround, the "vmware-eam" service was cleaved. This VMware KB explains how to set this. Which basically ways that you take to download the attachment chosen "Recreate_eam.properties.sh" and run it. This script recreates the eam.properties file so that your "vmware-eam" service can start again. Delight not that you can merely run this when yous run the EAM service on the vCenter Server yous are working on. The steps to run this script are described beneath:

In our situation this almost stock-still our issues. We were forced to break the certificate-director procedure in the middle where it starts starting the services once more after information technology updated the "MACHINE_SSL_CERT" in the places information technology has to. You tin can do this past just pressing CTRL+C on the right time in the procedure. To find this correct time you can open another putty session to the VMware vCenter server and using the following control:

Simply press CTRL+C when the following log entries pass by:

Once you are at this point just start the services yourself with:

This should commencement all the services nicely. Subsequently this betoken we had our VMware vCenter Server Appliance working once again with a new fresh "MACHINE_SSL_CERT" document. As a last check yous can execute the following command and verify the expiration date:

In that location you have it. I figured information technology would be easy plenty and fix this quickly, turned out we were facing a bug in the "vmware-eam" service. I hope this post helps when yous are finding the aforementioned issues we plant.

wattlondect.blogspot.com

Source: https://vcloudvision.com/2019/05/13/how-to-fix-an-expired-vcsa-machine-ssl-certificate-with-a-bugged-vmware-eam-service/

0 Response to "Elm License Server Is Not Responsive Try Again Later"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel