wbemcli not work in AIX - MSA HP

Hi, 
LIBPATH do not work, I made the setup in the user stor2rrd .profile.

LIBPATH=/opt/freeware/lib; export LIBPATH

Logs : /home/stor2rrd/stor2rrd/load_dothillperf.sh

Subroutine main::md5_hex redefined at /opt/freeware/lib/perl5/5.8.8/Exporter.pm line 67.
 at (eval 11) line 1
Could not load program /opt/freeware/bin/wbemcli:
Could not load module /usr/lib/libidn.a(libidn.so.11).
        Dependent module /usr/lib/libiconv.a(libiconv.so.2) could not be loaded.
        Member libiconv.so.2 is not found in archive
Could not load module wbemcli.
        Dependent module /usr/lib/libidn.a(libidn.so.11) could not be loaded.
Mon Apr  9 12:24:03 2018: command failed: /opt/freeware/bin/wbemcli -nl -t -noverify ei 'http://stor2rrd:Stor2rrd1@10.144.0.241:5988/root/dhs:cim_computersystem' /home/stor2rrd/stor2rrd/bin/dothillperf.pl:2136 :
Could not load program /opt/freeware/bin/wbemcli:
Could not load module /usr/lib/libidn.a(libidn.so.11).
        Dependent module /usr/lib/libiconv.a(libiconv.so.2) could not be loaded.
        Member libiconv.so.2 is not found in archive




>>>>>>



[lpar2rrd]/home/stor2rrd# /opt/freeware/bin/wbemcli
usage:  wbemcli gc|gcd|dc|ec|ecn|gi|ci|mi|di|ei|ein|ain|ai|rin|ri|gp|sp|cm|cmx
                [-nl] [-dx] [-t] [-cte] [-h] [-v] [-w <waittime>] [-e100]
                [-noverify] [-cacert <file>] [-clientcert <file>] [-clientkey <file>]
                [-ac <assocClass>] [-arc <resultClass>] [-ar <role>] [-arr <resultRole>]
                objectPath [prop=value,[...]] [props[,...]]

        example: wbemcli gi 'http://localhost:5988/root/cimv2:rpm_package.name="glibc"'

        Use man wbemcli for details
[lpar2rrd]/home/stor2rrd# id
uid=213(stor2rrd) gid=1(staff)


SSH not work  == LIBPATH=/opt/freeware/lib; export LIBPATH


[lpar2rrd]/home/stor2rrd# ssh
exec(): 0509-036 Cannot load program ssh because of the following errors:
        0509-130 Symbol resolution failed for ssh because:
        0509-136   Symbol EVP_aes_256_ctr (number 305) is not exported from
                   dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
        0509-136   Symbol EVP_aes_192_ctr (number 307) is not exported from
                   dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
        0509-136   Symbol EVP_aes_128_ctr (number 309) is not exported from
                   dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
        0509-192 Examine .loader section symbols with the
                 'dump -Tv' command.
[lpar2rrd]/home/stor2rrd#


Script dothillperf.pl   load LIBPATH ??? 

Tranks.

Comments

  • Hi,

    try to

    1. revert LIBPATH

    2. I suppose you have 2 ssl installed.
                    lslpp -L |grep -i ssl
                    rpm -qa |grep ssl
            RPM one come from rrdtool installation as a prerequisite package.
            Remove it like this, AIX system openssl will persit there
                    rpm -e openssl-1.0.0g-1 -nodeps #  adjust version number if necessary


Sign In or Register to comment.