AIX Open Source

 View Only
Expand all | Collapse all

veeamagent config failed with libcrypto.so error

  • 1.  veeamagent config failed with libcrypto.so error

    Posted Thu March 02, 2023 01:04 AM

    Hi, 

    I tried to run veeamconfig command but getting below errors..

    :(/tmp/veeam_upgrade)# echo $LIBPATH

     

    :(/tmp/veeam_upgrade)# rpm -qa |grep Veeam*

    VeeamAgent-4.0.0.891-ppc64.rpm

     

    :(/tmp/veeam_upgrade)# veeamconfig mode info

    exec(): 0509-036 Cannot load program veeamconfig because of the following errors:

            0509-150   Dependent module /usr/lib/libcrypto.a(libcrypto.so) could not be loaded.

            0509-103   The module has an invalid magic number.

     

    :(/tmp/veeam_upgrade)# veeamconfig mode setVBRsettings --cfg AIX_Agent.xml

    exec(): 0509-036 Cannot load program veeamconfig because of the following errors:

            0509-150   Dependent module /usr/lib/libcrypto.a(libcrypto.so) could not be loaded.

            0509-103   The module has an invalid magic number.

    Please help me to fix the issue.

    Thanks

    MMR



    ------------------------------
    Mizanur Rahman
    ------------------------------



  • 2.  RE: veeamagent config failed with libcrypto.so error

    Posted Fri March 03, 2023 02:31 AM

    What is the openssl version installed in the machine ? lslpp -l | grep openssl 
    And who provides VeeamAgent-4.0.0.891-ppc64.rpm ?



    ------------------------------
    Ayappan P
    ------------------------------



  • 3.  RE: veeamagent config failed with libcrypto.so error

    Posted Mon March 06, 2023 12:44 AM

    Hi, 

    Below are the openssl we are using on the system.

    # lslpp -l |grep ssl
      openssl.base            1.0.2.1300  COMMITTED  Open Secure Socket Layer
      openssl.man.en_US       1.0.2.1300  COMMITTED  Open Secure Socket Layer
      pware53-64.openssl.rte    0.9.8.13  COMMITTED  OpenSSL 0.9.8m (64-bit)
      openssl.base            1.0.2.1300  COMMITTED  Open Secure Socket Layer

    We got VeeamAgent rpm from veeam vendor.

    Thanks,



    ------------------------------
    Mizanur Rahman
    ------------------------------



  • 4.  RE: veeamagent config failed with libcrypto.so error

    Posted Mon March 06, 2023 01:56 PM

    Hi, 

    Any update, how to resolve this libcrypto.so issue?

    Thanks,



    ------------------------------
    Mizanur Rahman
    ------------------------------



  • 5.  RE: veeamagent config failed with libcrypto.so error

    Posted Tue March 07, 2023 05:51 AM

    You also have a fileset "pware53-64.openssl.rte" which might be problematic. You need to check what are the files shipped by this fileset and whether they are overwriting IBM openssl.base files. 
    lslpp -f pware53-64.openssl.rte



    ------------------------------
    Ayappan P
    ------------------------------



  • 6.  RE: veeamagent config failed with libcrypto.so error

    Posted Tue March 07, 2023 06:03 PM
      |   view attached

    Hi, 

    Thats give huge output, which I attached.

    Thanks,

    -Miz



    ------------------------------
    Mizanur Rahman
    ------------------------------

    Attachment(s)



  • 7.  RE: veeamagent config failed with libcrypto.so error

    Posted Wed March 08, 2023 06:07 AM

    Can you reinstall the openssl.base and check again ?



    ------------------------------
    Ayappan P
    ------------------------------



  • 8.  RE: veeamagent config failed with libcrypto.so error

    Posted Wed March 08, 2023 10:40 AM

    Hi, 

    Could you please let me know how to re-install openssl.base.

    Thanks,



    ------------------------------
    Mizanur Rahman
    ------------------------------



  • 9.  RE: veeamagent config failed with libcrypto.so error

    Posted Thu March 09, 2023 08:53 AM

    Hi,

    Any update on the reinstalling steps?

    Thanks,



    ------------------------------
    Mizanur Rahman
    ------------------------------



  • 10.  RE: veeamagent config failed with libcrypto.so error

    Posted Tue March 14, 2023 12:33 AM

    Hi,

    Could you please let me know the steps to re-install openssl.base.

    Thanks.



    ------------------------------
    Mizanur Rahman
    ------------------------------



  • 11.  RE: veeamagent config failed with libcrypto.so error

    Posted Tue March 14, 2023 05:59 AM

    You can get the openssl fileset from https://www-01.ibm.com/marketing/iwm/iwm/web/pickUrxNew.do?source=aixbp
    Then use smitty or installp command to reinstall it. 



    ------------------------------
    Ayappan P
    ------------------------------



  • 12.  RE: veeamagent config failed with libcrypto.so error

    Posted Wed March 29, 2023 07:23 PM

    Hi, 

    I am still getting below error..

    :(/tmp/veeam_upgrade)# veeamconfig mode setVBRsettings --cfg AIX_Agent.xml

    exec(): 0509-036 Cannot load program veeamconfig because of the following errors:

            0509-150   Dependent module /usr/lib/libcrypto.a(libcrypto.so) could not be loaded.

            0509-103   The module has an invalid magic number.

    I am seeing libcrypto.a and .so is inside, /usr/lib  ...

    :(/usr/lib)# ls -la |grep -i libcrypto.a
    -r-xr-xr-x    1 root     system     18199400 Aug 03 2018  libcrypto.a

    :(/usr/lib)# ls -la |grep -i libcrypto.so
    -rwxr-xr-x    1 root     system      3050171 Feb 19 2018  libcrypto.so

    # rpm -q --whatprovides /usr/lib/libcrypto.so
    file /usr/lib/libcrypto.so is not owned by any package

    :(/usr/lib)# lslpp -f openssl.base|grep libcrypt
                            /usr/lib/libcrypto_compat.a
                            /usr/lib/libcrypto.a

     :(/usr/lib)# ar -t /usr/lib/libcrypto.a
    libcrypto.so
    libcrypto.so.0.9.8
    libcrypto.so.1.0.0

    Please help me to fix the issue.

    Thanks,



    ------------------------------
    Mizanur Rahman
    ------------------------------



  • 13.  RE: veeamagent config failed with libcrypto.so error

    Posted Thu March 30, 2023 08:46 AM
    Edited by C- -T Thu March 30, 2023 08:47 AM
    I am seeing libcrypto.a and .so is inside, /usr/lib  ...
    
    :(/usr/lib)# ls -la |grep -i libcrypto.a
    -r-xr-xr-x    1 root     system     18199400 Aug 03 2018  libcrypto.a
    
    :(/usr/lib)# ls -la |grep -i libcrypto.so
    -rwxr-xr-x    1 root     system      3050171 Feb 19 2018  libcrypto.so

    the above output shows that your "/usr/lib/libcrypto.so" is older than your libcrypto.a, so this file is not to be trusted. libcrypto.so is not part of the aix openssl distribution (only *.a) so should be removed.



    ------------------------------
    I regret starting this entire conversation
    ------------------------------



  • 14.  RE: veeamagent config failed with libcrypto.so error

    Posted Thu March 30, 2023 02:58 PM

    Hi, 

    After I remove libcrypto.so, still getting below error..

    (/usr/lib)# mv /usr/lib/libcrypto.so /usr/lib/libcrypto.so.bkup

    # veeamconfig mode info
    exec(): 0509-036 Cannot load program veeamconfig because of the following errors:
            0509-150   Dependent module /usr/lib/libcrypto.a(libcrypto.so) could not be loaded.
            0509-103   The module has an invalid magic number.

    :(/usr/lib)# unset LIBPATH

    :(/usr/lib)# echo $LIBPATH

    Thanks,



    ------------------------------
    Mizanur Rahman
    ------------------------------



  • 15.  RE: veeamagent config failed with libcrypto.so error

    Posted Fri March 31, 2023 12:56 AM

    "Invalid magic number". Generally this error comes if 64bit applications only finds 32bit shared objects in the archive or the vice-versa.
    Can you share the output of "ar -X32_64 -tv /usr/lib/libcrypto.a" ?



    ------------------------------
    Ayappan P
    ------------------------------



  • 16.  RE: veeamagent config failed with libcrypto.so error

    Posted Fri March 31, 2023 10:53 PM

    Hi, 
    Here is the output..

    :(/usr/lib)# ar -X32_64 -tv /usr/lib/libcrypto.a
    rwxr-xr-x     0/0     3052083 Apr 10 14:22 2018 libcrypto.so
    rw-r--r--     0/0     2186744 Apr 10 14:15 2018 libcrypto.so.0.9.8
    rwxr-xr-x     0/0     3052083 Apr 10 14:10 2018 libcrypto.so.1.0.0
    rwxr-xr-x     0/0     3467407 Apr 10 14:24 2018 libcrypto64.so
    rw-r--r--     0/0     2527801 Apr 10 14:15 2018 libcrypto64.so.0.9.8
    rwxr-xr-x     0/0     3467407 Apr 10 14:11 2018 libcrypto64.so.1.0.0

    Thanks,



    ------------------------------
    Mizanur Rahman
    ------------------------------



  • 17.  RE: veeamagent config failed with libcrypto.so error

    Posted Mon April 03, 2023 02:28 AM

    Your libraries are not proper. Download & install openssl from AIX web download pack programs as I mentioned in the earlier thread. 
    (File --> openssl-1.1.2.1202.tar.Z) 
    uncompress openssl-1.1.2.1202.tar.Z
    tar -xf openssl-1.1.2.1202.tar
    cd openssl-1.1.2.1202
    installp -acXYFd . *



    ------------------------------
    Ayappan P
    ------------------------------



  • 18.  RE: veeamagent config failed with libcrypto.so error

    Posted Wed April 05, 2023 02:19 PM

    Hi, 
    If I upgraded openssl to that version you suggested, will it having any issue with openssh 6.0.0.6201 ?

    Let me know. 

    Thanks, 



    ------------------------------
    Mizanur Rahman
    ------------------------------



  • 19.  RE: veeamagent config failed with libcrypto.so error

    Posted Fri March 31, 2023 10:00 AM

    if you have test server download DNF and install it and use DNF. DNF resolves dependencies. that could help you.

    AIX Toolbox for Open Source Software : Downloads alpha

    Ibm remove preview
    AIX Toolbox for Open Source Software : Downloads alpha
    AIX Toolbox for Open Source Software contains a collection of open source and GNU software built for AIX IBM Systems. These tools provide the basis of the development environment of choice for many Linux application developers.
    View this on Ibm >


     Resolving RPM libssl.a and libcrypto.a errors

    Ibm remove preview
    Resolving RPM libssl.a and libcrypto.a errors
    importantFont {font-family: Arial, Helvetica, sans-serif!important;font-size: 12px!important;letter-spacing: .5px!important;word-spacing: .5px!important;color: #A04858!important;font-weight: 800!important;text-decoration: none!important;font-style: oblique!important;font-variant: normal!important;text-transform: none!important;}table.grayTableMain { border: 1px solid #1C6EA4 !important; background-color: #EAEAEA!important; width: 90%!important; text-align: left!important; border-collapse: collapse!important;}table.grayTableMain td, table.grayTableMain th { border: 1px solid #1C6EA4 !important; padding: 2px 2px!important;}table.grayTableMain tbody td, table.grayTableMain tbody div, table.grayTableMain tbody td, table.grayTableMain tbody
    View this on Ibm >


    https://www.ibm.com/support/pages/node/720655



    ------------------------------
    minesh patel
    ------------------------------