3 Replies Latest reply on Aug 29, 2013 8:44 PM by Bill Robinson

    Perl Error with Bladelogic 8.3 - 64 bit

    Adam Khan

      I have a script which was written in perl by one of the engineering. This script moves log files from one server to another.

      The script works fine in Bladelogic 7.6 with the 32 bit version or perl that is installed.

      I am trying to test the same script in 64 bit windows which has Bladelogic 8.3 64bit installed and at first it could not find perl which i resolved by installed 64 bit version of perl from Active State now i am getting the following error:


      Error      Aug 27, 2013 5:11:01 PM               Can't locate loadable object for module NSH in @INC (@INC contains: C:/Perl/site/lib C:/Perl/lib .) at C:/Program Files (x86)/BMC Software/BladeLogic/NSH/tmp/application_server/scripts/job__244b5120-546b-4cf3-8331-41fefbc61422/script_DBKey-SJobKeyImpl-2078905-5__9b7230e5-0baa-4de4-b4c4-db6622ccc7cc.2018834.1_logmover3.pl line 5.

       

      Error      Aug 27, 2013 5:11:01 PM               Compilation failed in require at C:/Program Files (x86)/BMC Software/BladeLogic/NSH/tmp/application_server/scripts/job__244b5120-546b-4cf3-8331-41fefbc61422/script_DBKey-SJobKeyImpl-2078905-5__9b7230e5-0baa-4de4-b4c4-db6622ccc7cc.2018834.1_logmover3.pl line 5.

       

      Error      Aug 27, 2013 5:11:01 PM               BEGIN failed--compilation aborted at C:/Program Files (x86)/BMC Software/BladeLogic/NSH/tmp/application_server/scripts/job__244b5120-546b-4cf3-8331-41fefbc61422/script_DBKey-SJobKeyImpl-2078905-5__9b7230e5-0baa-4de4-b4c4-db6622ccc7cc.2018834.1_logmover3.pl line 5.

       

      It has an issue with line 5 of the script which is "use NSH"

       

      #!/usr/local/bin/perl

       

      use strict;

      use warnings;

       

      use NSH;

      use POSIX qw(strftime);

      use Time::Local;