VMware {code} Community
Funtoosh
Enthusiast
Enthusiast
Jump to solution

Error "Can't locate AppUtil/VMUtil.pm in @INC (@INC"

I am getting following error when I try to run script "report-infovmtools.pl " (I did obtain it from VMTM) .

C:\Documents and Settings\xxxx\Desktop\perl>perl report-infovmtools.pl --server

xxxxxxxx --username xxxxx --password xxxxxx

Can't locate AppUtil/VMUtil.pm in @INC (@INC contains: C:/Documents and Settings/

mar45/Desktop/perl/../ C:/Program Files/VMware/VMware VI Perl Toolkit/Perl/site/

lib C:/Program Files/VMware/VMware VI Perl Toolkit/Perl/lib .) at report-infovmt

ools.pl line 15.

BEGIN failed--compilation aborted at report-infovmtools.pl line 15.

I searched thru the forum and could not find anything help. Now I have limited knowledge about scripting but still trying to learn.

Can some one help me with running this script

Thanks in advance and happy holiday

0 Kudos
1 Solution

Accepted Solutions
StefanPahrmann
Jump to solution

When you install the Vi perl toolkit, a folder "AppUtil" is created under "Apps". When you copy this folder to your script-location (or copy ypur script to the Apps-folder) it should be able to find VMutil.pm

-Stefan

View solution in original post

0 Kudos
2 Replies
StefanPahrmann
Jump to solution

When you install the Vi perl toolkit, a folder "AppUtil" is created under "Apps". When you copy this folder to your script-location (or copy ypur script to the Apps-folder) it should be able to find VMutil.pm

-Stefan

0 Kudos
Funtoosh
Enthusiast
Enthusiast
Jump to solution

Thanks Stefan that work.

Funtoosh

0 Kudos