Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

VMware Tools power-on script fails to run successfully (2010481)

Symptoms

  • VMware Tools fails to run a custom virtual machine power-on script
  • When powering on a virtual machine, you see this error in the VI client or vmware.log file:

    The VMware Tools power-on script did not run successfully in this virtual machine. If you have configured a custom power-on script in this virtual machine, make sure that it contains no errors. You can also submit a support request to report this issue.

Cause

VMware Tools can run custom scripts to automate actions when the power state of a virtual machine changes, such as during power-on. This issue is reported by VMware Tools when a custom script within the virtual machine fails.

Resolution

To resolve this issue when you have configured a power-on script for the virtual machine:
  • Ensure that the script name and path do not contain any errors and point to a valid file.
  • Investigate the custom power-on script file and ensure that it does not contain errors and returns 0 on success.
For more information on configuring and querying custom scripts with VMware Tools, see the Use Custom VMware Tools Scripts section of the VMware Tools Configuration Utility User's Guide.
 
If your custom scripts do not have any issues:
  1. Enable VMware Tools debug logging. For more information, see  Enabling debug logging for VMware Tools within a guest operating system (1007873)
  2. Open a support request with VMware Support.
  3. Run vm-support from the VMware Tools installation folder and attach the collected data/vmware.log files to the support request. 
For more information, see How to File a Support Request.

See Also

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 0 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
  • 0 Ratings
Actions
KB: