VMware Cloud Community
virtualdive
VMware Employee
VMware Employee
Jump to solution

vSphere CLI - perl.exe - Unable to Locate Component

Hi,

I installed the vSphere CLI 4.1 on the Windows Server 2003 SP2 (x32) and when I try to connect using vicfg-nas.pl it gives below error. W2K3 x32 bit is well supported according to the vSphere CLI document. I am not sure where it is going wrong then.


perl.exe - Unable to Locate Component

This application has failed to start because libxml2.dll was not found. Re-installing the application may fix this problem.


Any suggetions would be appreciated.

Thanks

Regards,

'V'
thevshish.blogspot.in
vExpert-2014-2021
Tags (1)
0 Kudos
1 Solution

Accepted Solutions
mbaecke
VMware Employee
VMware Employee
Jump to solution

The Perl installation is not in the Path environment variable. Add the following location to the Path environment variable:

I think the Perl installation is not in the Path environment variable.

C:\Program Files\VMware\VMware VI Remote CLI\Perl\bin

- Right click My Computer
- Select Properties from the context menu
- Select the Advanced system  settings
- Click Environment Variables button
- Select Path in the System Variables and click Edit
- Add the following line ";C:\Program Files\VMware\VMware VI Remote CLI\Perl\bin" to the Path variable

Restart the command prompt  for the Path to take effect

Martijn Baecke | http://thinkcloud.nl

View solution in original post

0 Kudos
4 Replies
mbaecke
VMware Employee
VMware Employee
Jump to solution

The Perl installation is not in the Path environment variable. Add the following location to the Path environment variable:

I think the Perl installation is not in the Path environment variable.

C:\Program Files\VMware\VMware VI Remote CLI\Perl\bin

- Right click My Computer
- Select Properties from the context menu
- Select the Advanced system  settings
- Click Environment Variables button
- Select Path in the System Variables and click Edit
- Add the following line ";C:\Program Files\VMware\VMware VI Remote CLI\Perl\bin" to the Path variable

Restart the command prompt  for the Path to take effect

Martijn Baecke | http://thinkcloud.nl
0 Kudos
virtualdive
VMware Employee
VMware Employee
Jump to solution

Fantastic! worked like charm!

Thanks v much Baecke

Regards,

'V'
thevshish.blogspot.in
vExpert-2014-2021
0 Kudos
mbaecke
VMware Employee
VMware Employee
Jump to solution

Np have fun with it Smiley Happy

Martijn Baecke | http://thinkcloud.nl
0 Kudos
slaclair
VMware Employee
VMware Employee
Jump to solution

At my customer site the CLI install put a incorrect PATH variable in, but when you preview the dialog box the most recently added one was obviously the CLI folder so I skipped past that step.  I had to look again and for whatever reason the installer gave it this path variable

C:\Program Files\VMware\VMware VI Remote CLI\Perl\site\bin

not sure where "site" came from, bug perhaps?

VCAP5-DCD/DCA/CIA, VCA4-DT
0 Kudos