VMware Cloud Community
heinrich82
Contributor
Contributor

VmPerl.pm missing

Hello,

We are trying to back-up VM's which are running on a ESX4 host with HP Dataprotector 6.

If the VM's are down we can back-up them, if there are running then not.

Then we get the error message:

Can't locate VMware/VmPerl.pm in @INC (@INC

contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi

/usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi

/usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi

/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi

/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7

/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl

/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi

/usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi

/usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi

/usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi

/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7

/usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5

/usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi

/usr/lib/perl5/5.8.8 .) at /opt/omni/bin/DPvmware_createsnapshot.pl line 14.

I can not found VmPerl.pm in the Perl directory's.

Does someone have a idea?

Greetz Heinrich

0 Kudos
5 Replies
lamw
Community Manager
Community Manager

You best bet is probably to contact the backup vendor, in this case it's HP to figure out why you're running into this issue. If it's in fact a VMware issue, you'll get better support by opening up an SR with VMware. Though I think your first contact should be HP, as it's their tool that's doing the backup.

=========================================================================

William Lam

VMware vExpert 2009

VMware ESX/ESXi scripts and resources at:

Twitter: @lamw

VMware Code Central - Scripts/Sample code for Developers and Administrators

VMware Developer Community

If you find this information useful, please award points for "correct" or "helpful".

0 Kudos
arkturas
Enthusiast
Enthusiast

Got the same error - with ESX4.0 Update 2 /we are using DP6.0 with the integration packet.

I found a vmware KB article referencing the problem but the perl rpm is only for ESX3.5.x - Did you find a solution ?

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=994791...

0 Kudos
arkturas
Enthusiast
Enthusiast

comparing ESX3.5 & ESX4.0 - I found the following perl module missing: VmPerl.pm

for example on:

ESX3.5, the Dataprotector createsnapshot.pl uses VMware::VmPerl;

found here:

/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/VMware

VmPerl.pm

on ESX4.0 udpate 2 - 5.8.0 does not exist.

/usr/lib/perl5/site_perl/

5.8.5 (empty)

5.8.6 (empty)

5.8.7 (empty)

5.8.8 (empty)

does anyone know how to install the missing perl module ?

0 Kudos
Gelu
Contributor
Contributor

Hello,

Did anyone found a solution on this matter?

I am trying to integrate theese days Hp DP6.0 with ESX 4.1 and I get similar error:

/opt/omni/lbin/DPvmware_preexec.sh

Can't locate VMware/VmPerl.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /opt/omni/bin/DPvmware_createsnapshot.pl line 21.
BEGIN failed--compilation aborted at /opt/omni/bin/DPvmware_createsnapshot.pl line 21.
2011-05-11-15:56:21 DPvmware_createsnapshot.pl Script failed. Not proceeding with the DP session.

I must recognize that perl is not my best friend but it seems that VmPerl.pm is missing from our installation.

Can anyone help?

Thanks,

Gelu

0 Kudos
arkturas
Enthusiast
Enthusiast

Unfortunately there is no fix for this - DP6.0 is not supported with vmware vSphere 4. We had to upgrade to DP6.11 & use the vmware VEPA integration module.

0 Kudos