Free SAN and storage performance and capacity monitoring

Perl HTTPS support

If you get an errors like
  • Missing LWP::Protocol::https
  • Connection reset by peer
  • 500 SSL negotiation failed
then follow this docu and upgrade perl LWP to 6.x version.

Check actual version:
# su - stor2rrd
. /home/stor2rrd/stor2rrd/etc/stor2rrd.cfg
$PERL -MLWP -e 'print "LWP Version: $LWP::VERSION\n"'
  LWP Version: 5.86
If it is not 6.x then upgrade as per below:

  • Linux
    • Install
      yum:
      # yum install perl-LWP-Protocol-https perl-Mozilla-CA perl-Crypt-SSLeay 
      
      CPAN:
      # cpan -f install LWP::Protocol:https
      
    • Check:
      # rpm -qa | egrep "perl-LWP-Protocol-https|perl-Mozilla-CA|perl-Crypt-SSLeay"
        perl-Mozilla-CA-20130114-5.el7.noarch
        perl-LWP-Protocol-https-6.04-4.el7.noarch
        perl-Crypt-SSLeay-0.64-5.el7.x86_64
      
  • AIX
    • Install Perl-Crypt-SSLeay if it is not installed, download it from sourceforge.net or stor2rrd.com
      # rpm -qa | grep -i Crypt-SSLeay
      # rpm -Uvh perl-Crypt-SSLeay-0.57-2.aix6.1.ppc.rpm
      
    • Install Perl-Net_SSLeay if it is not installed, download it from sourceforge.net or stor2rrd.com
      # rpm -qa | grep -i Net_SSLeay
      # rpm -Uvh --nodeps perl-Net_SSLeay.pm-1.55-3.aix6.1.ppc.rpm
      
    • Install Perl libraries and other scripts under stor2rrd user if your STOR2RRD version is below 2.03-5.
      Download package from here
      # su - stor2rrd
      $ umask 022
      $ cd /home/stor2rrd/stor2rrd
      $ gunzip https_aix_support.tar.Z
      $ tar xvf https_aix_support.tar
      $ ls -l lib/LWP/Protocol/https.pm 
        -rwxr-xr-x    1 stor2rrd staff          6734 Sep  2 12:21 lib/LWP/Protocol/https.pm
      
    • Verify it, it must show 6.06 version.
      # su - stor2rrd
      . /home/stor2rrd/stor2rrd/etc/stor2rrd.cfg
      $PERL -MLWP -e 'print "LWP Version: $LWP::VERSION\n"'
        LWP Version: 6.06
      
  • Solaris follow this to get it working

After installation on any platform this test should not provide any output:
cd /home/stor2rrd/stor2rrd
. etc/stor2rrd.cfg
$PERL bin/perl_modules_check.pl

 

Links

Download

Others

Contact