The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
Issues Upgrading from ESX Server 2.5.x to ESX Server 3.0 or ESX Server 3.0.1 VmPerl Scripting API (10130)
After upgrading the VmPerl scripting API from the ESX Server 2.5.x version to the ESX Server 3.0 or ESX 3.0.1 version, the VmPerl.dll can't be found. API calls such as execution of vmware-cmd command fail with the following error:
Can't load 'C:\VMPerl/perl5/site_perl/5.005/MSWin32-x86/auto/VMware/VmPerl/VmPerl.dll' for module VMware::VmPerl: load_file:The specified procedure could not be found at C:\VMPerl/perl5/site_perl/5.005/DynaLoader.pm line 169. at C:\VMPerl\vmware-cmd line 121
C:\VMPerl\vmware-cmd requires the VMware::VmPerl Perl libraries to be installed
Check that your installation did not encounter errors.
Callback called exit at C:\VMPerl\vmware-cmd line 135.
BEGIN failed--compilation aborted at C:\VMPerl\vmware-cmd line 135.
You can prevent the problem by uninstalling the older API version before upgrading to the ESX Server 3.0 or 3.0.1 versions. If you have already encountered this problem, uninstall the new API version and then manually delete all files in the API installation directory before reinstalling the newer API version.
To uninstall the API from a Microsoft Windows host:
From the Windows desktop, choose Start > Settings > Control Panel > Add or Remove Programs
Select the API from the list.
Click on Change/Remove and follow the wizard prompts to completely uninstall the API.
This issue has been resolved in the ESX Server 3.0.2 installation (or any higher version). The older API does not need to be uninstalled prior to upgrading to the ESX Server 3.0.2 version.
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.