Error with stor2rrd installation

Hi

I'm installing stor2rrd 2.20 and get the following error:

ERROR: Perl module has not been found: Date::Parse
ERROR: Perl module has not been found: LWP::Protocol::https
       It is a must for VMAX, VPLEX, Huawei, Compellent, NetApp, PureStorage, Infinibox, Isilon, BNA
       by some others which use HTTPS protocol if is configured in etc/storage-list.cfg
Note that it does not affect storages where is not used HTTPS API for getting data
Refer here how to resolve it: http://www.stor2rrd.com/https.htm

Install all missing Perl modules and do this test again, check http://www.stor2rrd.com/install.htm:
Usage: cd ./scripts/.; . etc/stor2rrd.cfg; $PERL bin/perl_modules_check.pl

Check for LWP version shows this:

$PERL -MLWP -e 'print "LWP Version: $LWP::VERSION\n"'
LWP Version: 6.06

lpar2rrd 5.05 is already running.

Comments

  • Linux or AIX?
    # rpm -qa| grep -i perl-TimeDate
    perl-TimeDate-2.30-2.el7.noarch


  • AIX 7.1

    rpm -qa| grep -i perl-TimeDate
    perl-TimeDate-1.20-1

  • Should I first update lpar2rrd to 5.07 before I continue with stor2rrd ?

  • Then probably this path missing in etc/stor2rrd.cfg and PERL5LIB, place it at the end:
    /opt/freeware/lib/perl5/vendor_perl/5.8.8

    . etc/stor2rrd.cfg; $PERL bin/perl_modules_check.pl


  • This was the Setting:

    echo $PERL5LIB
    /stor2rrd/lib:/opt/freeware/lib/perl/5.1.1:/usr/opt/perl5/lib/site_perl/5.1.1:/opt/freeware/lib/perl5/vendor_perl/5.8.8/5.1.1:/usr/lib64/perl5/vendor_perl/5.1.1:/usr/lib64/perl5:/opt/freeware/lib/perl/5.8.8:/opt/freeware/lib/perl/5.8.0:/usr/opt/perl5/lib/site_perl/5.8.2:/usr/lib/perl5/vendor_perl/5.8.5:/usr/share/perl5:/usr/lib/perl5:/usr/opt/perl5/lib/site_perl/5.8.8/aix-thread-multi:/opt/freeware/lib/perl5/vendor_perl/5.8.8/ppc-thread-multi:/usr/lib64/perl5/vendor_perl:/usr/lib/perl5/vendor_perl

    I changed it into this:  PERL5LIB=/stor2rrd/lib:/opt/freeware/lib/perl5/vendor_perl/5.8.8:/opt/freeware/lib/perl/5.8.8:/usr/opt/perl5/lib/site_perl/5.8.8:/usr/opt/perl5/lib/site_perl/5.8.8/aix-thread-multi:/opt/freeware/lib/perl5/vendor_perl/5.8.8/ppc-thread-multi:/opt/freeware/lib/perl/5.8.8:/opt/freeware/lib/perl5/vendor_perl/5.8.8

    Now one of the two Errors is gone:

    . etc/stor2rrd.cfg; $PERL bin/perl_modules_check.pl

    ERROR: Perl module has not been found: LWP::Protocol::https
           It is a must for VMAX, VPLEX, Huawei, Compellent, NetApp, PureStorage, Infinibox, Isilon, BNA
           by some others which use HTTPS protocol if is configured in etc/storage-list.cfg
    Note that it does not affect storages where is not used HTTPS API for getting data
    Refer here how to resolve it: http://www.stor2rrd.com/https.htm

    Install all missing Perl modules and do this test again, check http://www.stor2rrd.com/install.htm:
    Usage: cd .; . etc/stor2rrd.cfg; $PERL bin/perl_modules_check.pl

  • I changed the entry for PERL in etc/stor2rrd.cfg:

    #  PERL=/usr/bin/perl
      PERL=/opt/freeware/bin/perl

    Now bin/perl_modules_check.pl doesn't show any error anymore.

    Maybe because of this:

     ls -la /usr/bin/perl
    lrwxrwxrwx    1 root     system           29 Jan 10 08:42 /usr/bin/perl -> /usr/opt/perl5/bin/perl5.10.1

    Should I run again the install.sh ?

  • yes, use /opt/freeware/bin/perl
    Then it is all fine, continue in configuration.
Sign In or Register to comment.