VMware Cloud Community
netstormxls
Contributor
Contributor

All Server shut down - Process vmtoolsd.exe Reason: Shutdown Legacy-API

Hello,

today all of our VMs shut down and rebooted some minutes later.

We are using ESXi 5.0.0 and 3 of 3 Hosts were affected.

All of them had the following Event in the System log: (Translated from german to english.)

"The process C:\Program Files\VMware\VMware Tools\vmtoolsd.exe ("SERVERNAME") has initiated the shutdown for user NT-AUTORITÄT\SYSTEM due to the following reson: Shutdown by Legacy-API."

SOURCE: USER32 - EVENT-ID: 1074

I already googled for the issue but couldn't find help.

Shutdown by Legacy-API could be caused by many different things, but as the Event says, it was initiated by vmtoolsd.exe.

Maybe someone here on the forums can help me. Smiley Happy

greetings,

netstormxls

0 Kudos
7 Replies
homerzzz
Hot Shot
Hot Shot

That event is generated when Update Manager remediates Vmware Tools Upgrade to Match Host baseline. Do you have a scheduled task to remediate these VMs?

0 Kudos
munkybob
Contributor
Contributor

We had the same issue here, and it was due to the UPS going into bypass mode and telling the vMA to shutdown all the VMs

0 Kudos
ashishsingh1508
Enthusiast
Enthusiast

It should be either because someone shutdown VM from vSphere or a API was called to shutdown the VM.

Ashish Singh VCP-6.5, VCP-NV 6, VCIX-6,VCIX-6.5, vCAP-DCV, vCAP-DCD
0 Kudos
miguelbaez74
Contributor
Contributor

Today we had the same issue with a vm, I reviewed the host baseline compliance and it is not compliant (this was checked by the update manager 3 day ago). Cannot see what else happened in the events and task. Any advice please?

0 Kudos
e_espinel
Virtuoso
Virtuoso

Hello.
I suggest to check the VMware Tools version with the RVTools utility (requires user root or administrator) from a PC.
Link:https://www.robware.net/rvtools/


If the VMs are out of date perform a manual update of the VMware tools on some of the VMs as a test.
VMware Tools vs ESXi version link: https://packages.vmware.com/tools/versions

Link to download VMware Tools versions

https://packages.vmware.com/tools/esx/index.html

 

 

Enrique Espinel
Senior Technical Support on IBM, Lenovo, Veeam Backup and VMware vSphere.
VSP-SV, VTSP-SV, VTSP-HCI, VTSP
Please mark my comment as Correct Answer or assign Kudos if my answer was helpful to you, Thank you.
Пожалуйста, отметьте мой комментарий как Правильный ответ или поставьте Кудо, если мой ответ был вам полезен, Спасибо.
0 Kudos
miguelbaez74
Contributor
Contributor

Thank you Enrique, the vmtools are up to date. What else I could review?

Thanks again...

Tags (1)
0 Kudos
e_espinel
Virtuoso
Virtuoso

Hello.
What build of version 5.0 do you have installed?
Have you installed the latest patch for version 5.0 ?
Attached link: https://kb.vmware.com/s/article/2143832

Did you check the hardware logs of the servers?

It is also useful to update the Firmware of the Servers.


You should consider migrating to version 5.5 or 6.X if your hardware allows it, or if you have 6.X licenses.

Enrique Espinel
Senior Technical Support on IBM, Lenovo, Veeam Backup and VMware vSphere.
VSP-SV, VTSP-SV, VTSP-HCI, VTSP
Please mark my comment as Correct Answer or assign Kudos if my answer was helpful to you, Thank you.
Пожалуйста, отметьте мой комментарий как Правильный ответ или поставьте Кудо, если мой ответ был вам полезен, Спасибо.
0 Kudos