not really more information there... :-)
Original Message:
Sent: Thu September 08, 2022 04:58 AM
From: C- -T
Subject: lpar2rrd not working after updating rrdtool and Perl
See /root/.cpanm/work/1662626818.20578742/build.log for details.
------------------------------
I regret starting this entire conversation
Original Message:
Sent: Thu September 08, 2022 04:50 AM
From: Joerg Kauke
Subject: lpar2rrd not working after updating rrdtool and Perl
Hi C- -T,
thanks for the commands...
Unfortunately it's not working:
Fetching http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7046.tar.gz-> OKUnpacking App-cpanminus-1.7046.tar.gzEntering App-cpanminus-1.7046Checking configure dependencies from META.jsonChecking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.62)Configuring App-cpanminus-1.7046Running Makefile.PLChecking if your kit is complete...Looks goodGenerating a Unix-style MakefileWriting Makefile for App::cpanminusWriting MYMETA.yml and MYMETA.json-> OKChecking dependencies from MYMETA.json ...Checking if you have Test::More 0 ... Yes (1.302183)Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.62)Building and testing App-cpanminus-1.7046cp lib/App/cpanminus.pm blib/lib/App/cpanminus.pmcp lib/App/cpanminus/fatscript.pm blib/lib/App/cpanminus/fatscript.pm cp bin/cpanm blib/script/cpanm "/opt/freeware/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/cpanmManifying 1 pod documentManifying 2 pod documents PERL_DL_NONLAZY=1 "/opt/freeware/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t# App::cpanminus/1.7046t/happy_cpantesters.t .. okAll tests successful.Files=1, Tests=1, 0 wallclock secs ( 0.01 usr 0.00 sys + 0.02 cusr 0.00 csys = 0.03 CPU)Result: PASStrue: not foundmake: The error code from the last command is 1.Stop.-> FAIL Installing App::cpanminus failed. See /root/.cpanm/work/1662626818.20578742/build.log for details. Retry with --force to force install it.
Maybe you have a solution for that too...???
Many thanks in advance.
best regards,
Joerg
------------------------------
Joerg Kauke
Unix Administrator
COOP Switzerland
Original Message:
Sent: Wed September 07, 2022 11:19 AM
From: C- -T
Subject: lpar2rrd not working after updating rrdtool and Perl
i would recommend using cpanminus to install perl modules, easy as could be. cpanminus needs to be isntalled first of course.
curl -L https://cpanmin.us | /opt/freeware/bin/perl - --sudo App::cpanminus
on to modules install:
/opt/freeware/bin/cpanm --notest --reinstall TimeDate XML::Simple XML::Parser URI XML::SAX XML::LibXML XML::SAX::Base XML::NamespaceSupport \ Crypt::SSLeay Net::SSLeay PDF::API2 Compress::Raw::Zlib
then check with lpar2rrd module check script
"run the following as the lpar2rdd user in the lpar2rrd install dir". etc/lpar2rrd.cfg; $PERL bin/perl_modules_check.pl
this whole stuff needs internet access!
help on lpar2rrd configuration is available on their homepage via premium support...insert coins!
------------------------------
I regret starting this entire conversation
Original Message:
Sent: Wed September 07, 2022 10:07 AM
From: Joerg Kauke
Subject: lpar2rrd not working after updating rrdtool and Perl
Hi C- -T,
sounds good... but what modules and where do I get it from? I'm not familiar with perl...
This is install at my system:
svrsrrd-1:/root#rpm -qa | grep perl
perl-Crypt-SSLeay-0.57-2.ppc
rrdtool-perl-1.7.2-2.ppc
mod_perl-2.0.11-3.ppc
perl-Net_SSLeay.pm-1.55-3.ppc
perl-5.34.1-1.ppc
best regards,
Jörg
------------------------------
Joerg Kauke
Unix Administrator
COOP Switzerland
Original Message:
Sent: Wed September 07, 2022 09:55 AM
From: C- -T
Subject: lpar2rrd not working after updating rrdtool and Perl
install the required perl modules for the new perl version? this is is what i have to do after perl upgrade to make lpar2rrd work again.
------------------------------
I regret starting this entire conversation
Original Message:
Sent: Wed September 07, 2022 02:11 AM
From: Joerg Kauke
Subject: lpar2rrd not working after updating rrdtool and Perl
Dear Team,
yesterday I've updated to the newest toolbox rpms for perl and rrdtool. Since then lpar2rrd is not working anymore.
Using /usr/bin/perl I get following error:
./load.sh 2>&1 | tee logs/load.out-initialCan't load '/usr/opt/perl5/lib/site_perl/5.28.1/aix-thread-multi/auto/XML/Parser/Expat/Expat.so' for module XML::Parser::Expat: Could not load module /usr/opt/perl5/lib/site_perl/5.28.1/aix-thread-multi/auto/XML/Parser/Expat/Expat.so. Dependent module libexpat.a(libexpat.so.1) could not be loaded.Could not load module libexpat.a(libexpat.so.1).System error: No such file or directoryCould not load module /usr/opt/perl5/lib/site_perl/5.28.1/aix-thread-multi/auto/XML/Parser/Expat/Expat.so. Dependent module /usr/opt/perl5/lib/site_perl/5.28.1/aix-thread-multi/auto/XML/Parser/Expat/Expat.so could not be loaded. at /usr/opt/perl5/lib/5.28.1/aix-thread-multi/DynaLoader.pm line 193. at /usr/opt/perl5/lib/site_perl/5.28.1/aix-thread-multi/XML/Parser.pm line 18.Compilation failed in require at /usr/opt/perl5/lib/site_perl/5.28.1/aix-thread-multi/XML/Parser.pm line 18.BEGIN failed--compilation aborted at /usr/opt/perl5/lib/site_perl/5.28.1/aix-thread-multi/XML/Parser.pm line 22.Compilation failed in require.BEGIN failed--compilation aborted.
Using /opt/freeware/bin/perl looks like this:
./load.sh 2>&1 | tee logs/load.out-initialExpat.c: loadable library and perl binaries are mismatched (got handshake key 8700080, needed 9600080)VMware : not identified, no credentialsjobs -l vmware :installing WWW : install-html.sh vmwareHost identif : AIXtimestamp : Wed Sep 7 08:09:16 CEST 2022Updating : start updating rrdfiles with vcenter data in backgroundMenu : no menu refresh for vmwaredate end all VM: Wed Sep 7 08:09:16 CEST 2022SSLeay.c: loadable library and perl binaries are mismatched (got handshake key 8700080, needed 9600080)SSLeay.c: loadable library and perl binaries are mismatched (got handshake key 8700080, needed 9600080)SSLeay.c: loadable library and perl binaries are mismatched (got handshake key 8700080, needed 9600080)
It seems that there is no XML/Parser.pl for the new version...
Any clue what I can do?
best regards,
Joerg
------------------------------
Joerg Kauke
Unix Administrator
COOP Switzerland
------------------------------