Fails to run vmware-cmd
You may receive the following errors:
/usr/bin/vmware-cmd requires the VMware::VmPerl Perl libraries to be installed. Check that your installation did not encounter errors.
Can't locate VMware/VmPerl.pm in @INC (@INC contains: blib/arch -Iblib/lib -I/usr/lib/perl5/5.6.0/i386-linux -I/usr/lib/perl5/5.6.0 -
linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-
linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0/i386-
linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl . blib/arch
blib/lib /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0/i386-
linux /usr/lib/perl5/5.6.0 .) at /usr/bin/vmware-cmd line
121. /usr/bin/vmware-cmd requires the VMware::VmPerl Perl libraries to be
installed. Check that your installation did not encounter errors.
This problem happens when there was an installation problem with the PERL libraries. These libraries are required to run the vmware-cmd utility script.
To troubleshoot the error:
Open an SSH terminal connected to the service console of the ESX host.
Ensure that the system time is correct on the ESX host. To check and adjust the time and date settings, see Adjusting ESX Server Time Zone (1436).
If you are using ESX 2.x, or ESX 3.x run the following commands to reinstall the PERL libraries:
tar xvf control.tar
If you are running ESX 3.x you can use the RPM installer to reinstall the PERL libraries from the setup disc.
Find the PERL installation RPM package on the ESX host setup disc.
The file name is similar to:
Run the RPM command to install and update the PERL library package:
rpm -ivh --replacepkgs VMware-esx-srvmgmt-3.0.1-32039.rpm