Update Lpar2rrd 7.2 server

Hello team:
When trying to upgrade Lpar2rrd server from version 7.1 to 7.2 on a linux 6.1 server. I present the following error:


[lpar2rrd@ibmmon lpar2rrd-7.20]$ sh ./update.sh
Where is LPAR2RRD actually located [/home/lpar2rrd/lpar2rrd]:
Extracting distribution
Backing up original version : 7.10 to /home/lpar2rrd/lpar2rrd/BACKUP-INSTALL/lpar2rrd-7.10
Saving 7.10 configuration
Copy new version to the target destination
Configuring new /home/lpar2rrd/lpar2rrd/etc/lpar2rrd.cfg
Setting file/dir permissions, it might take some time in big environments
chmod -R o+r,o+x /home/lpar2rrd/lpar2rrd/data


Stopping LPAR2RRD daemon

ERROR: Perl module has not been found: IO::Socket::IP
       Check its existenci via: /usr/bin/perl -e 'use IO::Socket::IP'
ERROR: Perl module has not been found: IO::Socket::IP
       Check its existenci via: /usr/bin/perl -e 'use IO::Socket::IP'
Warning: LWP::Protocol::https should be version 6.x (act version: 5.833)
VMware and IBM Power REST API support might require that
Upgrade to 6.x: http://www.lpar2rrd.com/https.htm

Install all missing Perl modules and do this test again, check http://www.lpar2rrd.com/https.htm:
Usage: cd <LPAR2RRD WORK DIR>; . etc/lpar2rrd.cfg; $PERL bin/perl_modules_check.pl


./bin/alert_history_log_fmt.sh
INFO: /home/lpar2rrd/lpar2rrd/logs/alert_history.log copied to /home/lpar2rrd/lpar2rrd/logs/alert_history.log.bkp
INFO: Reformatted /home/lpar2rrd/lpar2rrd/logs/alert_history.log


[lpar2rrd@ibmmon lpar2rrd-7.20]$
[lpar2rrd@ibmmon ~]$ cd /home/lpar2rrd/lpar2rrd
[lpar2rrd@ibmmon lpar2rrd]$ . etc/lpar2rrd.cfg
[lpar2rrd@ibmmon lpar2rrd]$ $PERL bin/perl_modules_check.pl

ERROR: Perl module has not been found: IO::Socket::IP
       Check its existenci via: /usr/bin/perl -e 'use IO::Socket::IP'
ERROR: Perl module has not been found: IO::Socket::IP
       Check its existenci via: /usr/bin/perl -e 'use IO::Socket::IP'
Warning: LWP::Protocol::https should be version 6.x (act version: 5.833)
VMware and IBM Power REST API support might require that
Upgrade to 6.x: http://www.lpar2rrd.com/https.htm

Install all missing Perl modules and do this test again, check http://www.lpar2rrd.com/https.htm:
Usage: cd <LPAR2RRD WORK DIR>; . etc/lpar2rrd.cfg; $PERL bin/perl_modules_check.pl

[lpar2rrd@ibmmon lpar2rrd]$
lpar2rrd@ibmmon lpar2rrd]$ rpm -qa|grep perl
perl-Time-HiRes-1.9721-144.el6.x86_64
perl-XML-NamespaceSupport-1.10-3.el6.noarch
perl-XML-SAX-0.96-7.el6.noarch
perl-TimeDate-1.16-13.el6.noarch
perl-libs-5.10.1-144.el6.x86_64
perl-5.10.1-144.el6.x86_64
perl-Compress-Zlib-2.021-144.el6.x86_64
perl-IO-Tty-1.08-4.el6.x86_64
perl-PDF-API2-2.021-1.el6.noarch
perl-XML-LibXML-1.70-5.el6.x86_64
perl-HTML-Parser-3.64-2.el6.x86_64
perl-XML-Parser-2.36-7.el6.x86_64
perl-Pod-Escapes-1.04-144.el6.x86_64
perl-Pod-Simple-3.13-144.el6.x86_64
perl-version-0.77-144.el6.x86_64
perl-Compress-Raw-Zlib-2.021-144.el6.x86_64
perl-IO-Compress-Zlib-2.021-144.el6.x86_64
perl-libwww-perl-5.833-5.el6.noarch
perl-Font-TTF-0.45-6.el6.noarch
perl-URI-1.40-2.el6.noarch
perl-HTML-Tagset-3.20-4.el6.noarch
perl-XML-Simple-2.18-6.el6.noarch
rrdtool-perl-1.3.8-10.el6.x86_64
perl-Module-Pluggable-3.90-144.el6.x86_64
perl-IO-Compress-Base-2.021-144.el6.x86_64
perl-CGI-3.51-144.el6.x86_64
perl-Crypt-SSLeay-0.57-17.el6.x86_64
[lpar2rrd@ibmmon lpar2rrd]$


Comments

  • Hi,

    ok, you are on CentOS 6.x, you can ignore it, it is only warning
  • well, just to make sure, is the product working after the upgrade?

  • this output yet:
    rpm --eval '%{rhel}'

  • Hello:
      The service was not working after the update attempt. These types of errors appear in logs:

    BEGIN failed - compilation aborted at /home/lpar2rrd/lpar2rrd/bin/lpar2rrd-daemon.pl line 25.
    Compilation failed in require at /home/lpar2rrd/lpar2rrd/bin/lpar2rrd-daemon.pl line 25.
    BEGIN failed - compilation aborted at /home/lpar2rrd/lpar2rrd/lib/IO/Socket/IP.pm line 33.
    Socket version 1.97 required - this is only version 1.82 at /home/lpar2rrd/lpar2rrd/lib/IO/Socket/IP.pm line 33.

    [root @ ibmmon ~] # rpm --eval '% {rhel}'
    6
    [root @ ibmmon ~] # cat / etc / oracle-release
    Oracle Linux Server release 6.10
    [root @ ibmmon ~] #
  • Hi,

    ok, I see it, it was fixed recently, upgrade to https://www.lpar2rrd.com/download-static/lpar2rrd-7.21.tar


  • Hello:
      With this new installer it was possible to activate the lpar2rrd monitoring service. Thank you so much.


    [lpar2rrd@ibmmon lpar2rrd-7.21]$ sh ./update.sh
    Where is LPAR2RRD actually located [/home/lpar2rrd/lpar2rrd]:
    Extracting distribution
    Backing up original version : 7.20 to /home/lpar2rrd/lpar2rrd/BACKUP-INSTALL/lpar2rrd-7.20
    Saving 7.20 configuration
    Copy new version to the target destination
    Configuring new /home/lpar2rrd/lpar2rrd/etc/lpar2rrd.cfg
    Setting file/dir permissions, it might take some time in big environments
    chmod -R o+r,o+x /home/lpar2rrd/lpar2rrd/data


    Stopping LPAR2RRD daemon
    Warning: LWP::Protocol::https should be version 6.x (act version: 5.833)
    VMware and IBM Power REST API support might require that
    Upgrade to 6.x: http://www.lpar2rrd.com/https.htm


    Upgrade to version 7.21 is done
    Now you can start the tool:

     cd /home/lpar2rrd/lpar2rrd
     ./load.sh 2>&1 | tee logs/load.out-initial

    Wait for finishing of that, then refresh the GUI (Ctrl-F5)

    [lpar2rrd@ibmmon lpar2rrd-7.21]$  cd /home/lpar2rrd/lpar2rrd
    [lpar2rrd@ibmmon lpar2rrd]$  ./load.sh 2>&1 | tee logs/load.out-initial
    Thu Jul  8 15:00:09 -04 2021: There is already running another copy of load.sh, exiting ...
    Thu Jul  8 15:00:09 -04 2021: There is already running another copy of load_vmware.sh, exiting ...
    [lpar2rrd@ibmmon lpar2rrd]$



Sign In or Register to comment.