2025-05-02T08:44:33Z Er(11) esxupdate[12124143]: Error locking file /var/run/esximg.pid: [Errno 11] Resource temporarily unavailable, the file is currently locked by process with PID #####
2025-05-02T08:44:33Z Wa(12) esxupdate[12124143]: Failed to acquire lock: ('/var/run/esximg.pid', 'Error locking file /var/run/esximg.pid: [Errno 11] Resource temporarily unavailable, the file is currently locked by process with PID #####')
The VIBs installation fails due to the file /var/run/esximg.pid is being locked by a process.
This is a condition that may occur in a vSphere/NSX environment. In case you believe you face this issue, please follow the steps:
kill -9 PID
Note: The ESXi host can also be restarted to clear any stale processes