module /opt/freeware/lib/libnetsnmp.a(libnetsnmp.so.25), but a runtime definition

Hi again, 
I think I know the cause of this issue, but I'll appreciate your confirmation. Store2rrd version 2.50

Issue: No graphs in SAN switches,

Output of config and snmpwalk commands below:
=========================
SWITCH: 172.16.x.x
=========================
  UDP connection to "172.16.x.x" on port "161" is ok

san_verify.pl:
Can't load '/opt/freeware/lib/perl5/vendor_perl/5.8.8/ppc-thread-multi/auto/NetSNMP/default_store/default_store.so' for module NetSNMP::default_store: rtld: 0712-001 Symbol memmove was referenced
      from module /opt/freeware/lib/libnetsnmp.a(libnetsnmp.so.25), but a runtime definition
            of the symbol was not found.
rtld: 0712-001 Symbol strcat was referenced
      from module /opt/freeware/lib/libnetsnmp.a(libnetsnmp.so.25), but a runtime definition
            of the symbol was not found. at /opt/freeware/lib/perl5/5.8.8/ppc-thread-multi/DynaLoader.pm line 227.
 at /opt/freeware/lib/perl5/vendor_perl/5.8.8/ppc-thread-multi/SNMP.pm line 19
Compilation failed in require at /opt/freeware/lib/perl5/vendor_perl/5.8.8/ppc-thread-multi/SNMP.pm line 19.
BEGIN failed--compilation aborted at /opt/freeware/lib/perl5/vendor_perl/5.8.8/ppc-thread-multi/SNMP.pm line 19.
Compilation failed in require at /home/stor2rrd/stor2rrd/bin/SNMP_lib.pm line 5.
BEGIN failed--compilation aborted at /home/stor2rrd/stor2rrd/bin/SNMP_lib.pm line 5.
Compilation failed in require at /home/stor2rrd/stor2rrd/bin/san_verify.pl line 7.
BEGIN failed--compilation aborted at /home/stor2rrd/stor2rrd/bin/san_verify.pl line 7.
  connection failed!!
  Check network connectivity and user access


=========================
SWITCH: 172.16.x.x
=========================
[stor2rrd@lpar2rrd:/home/stor2rrd/stor2rrd/bin] /opt/freeware/bin/snmpwalk -v 1 -c snmpXYZ 172.16.x.x 1.3.6.1.2.1.1.5
exec(): 0509-036 Cannot load program /opt/freeware/bin/snmpwalk because of the following errors:
        0509-130 Symbol resolution failed for /opt/freeware/lib/libnetsnmp.a(libnetsnmp.so.25) because:
        0509-136   Symbol strcmp (number 127) is not exported from
                   dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.1).
        0509-136   Symbol memmove (number 131) is not exported from
                   dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.1).
        0509-136   Symbol strcpy (number 142) is not exported from
                   dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.1).
        0509-136   Symbol strcat (number 144) is not exported from
                   dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.1).
        0509-136   Symbol bcopy (number 145) is not exported from
                   dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.1).
        0509-026 System error: Error 0
        0509-192 Examine .loader section symbols with the
                 'dump -Tv' command.

I think issue is due to an up upgrade of openssl package because of an audit requierement.

I'll upload logs in few minutes.

Thanks once more.

Cheers from Andorra.

Comments

  • yep, exactly, it will not work with higher openssl

  • Hi Pavel,

    it will not work only for AIx systems? Or the issue is the same for Linux? Any work future work arround for this issue?

    In our case we can not downgrade openssl (AUDIT requierements)

  • AIX is affected, snmp package require some openssl.
    BTW this openssl is not used anyhow, all programs using system openss (lslpp -L| grep -i openssl), it is just dependency , nothing else

    Upgrade to higher snmp packages could be a solution but do not do it, we have bad experience with it on AIX

    Linux is not affected anyhow by this, it is solely AIX dependecy hell
  • Thx pavel,

    openssl was updated as  part of a new version of httpd server (also upgraded). I'll try to upgrade snmp pkgs.

    Agree, I know AIX package manager is very bad.

    Maybe it's time to migrate lpar2rrd/stor2rrd to RHEL on intel.

    cheers
  • Last question Pavel,

    If I install from scratch lpar2rrd/stor2rrd in RHEL, is possible to migrate data already stored in AIX to Linux?

    I'd not like to lost data from  lpar2rrd/stor2rrd.
  • yes, however it is not easy if you want to do it youself.
    if you have support we can provide you scripts.
Sign In or Register to comment.