VLR IP customization recovery fails for Debian OS with "Can't locate File/Find.pm"
search cancel

VLR IP customization recovery fails for Debian OS with "Can't locate File/Find.pm"

book

Article ID: 396104

calendar_today

Updated On:

Products

VMware Live Recovery

Issue/Introduction


 [2025-04-14T05:43:06.875Z] [   error] Customization command failed with exitcode: 2, stderr: 'Can't locate File/Find.pm in @INC (you may need to install the File::Find module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 /usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl) at /var/run/.vmware-imgcust-dvMsuEY/guestals.pl line 12.
> BEGIN failed--compilation aborted at /var/run/.vmware-imgcust-dvMsuEY/guestals.pl line 12

Environment

VMware Site Recovery Manager 8.x
VMware Live Recovery Manager 9.x 

Cause

Missing module 'Find.pm' in Perl installation

Resolution

  • SRM guest alias relies on the Perl runtime. Find file is a core Perl module that should be included in any standard Perl installation.
  • Use following script to verify if module is indeed not loading. ===> Indent the script, or use code tags
  • Install missing module or reinstall complete Perl package
    •  Create check_file_find.pl with following content:
      #!/usr/bin/perl
      use strict;
      use warnings;

      use File::Find;

      print "File::Find loaded successfully!";

    • Run the script with:
      perl check_file_find.pl 

 

Additional Information

SRM guest alias relies on the Perl runtime. T. File::Find is a core Perl module that should be included in any standard Perl installation.