Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  error exec ssh command 0509-136

    Posted Tue September 10, 2019 09:49 AM

    Originally posted by: aparaschiv


    On my AIX 7.2 TL 2 SP2 I need to install the sudo package 1.8.21 with the dependancies
    openldap, openssl, zlib, but I encounterd the following error:

    +-----------------------------------------------------------------------------+
    RPM Error Summary:
    +-----------------------------------------------------------------------------+
    The following RPM packages were requested for installation
    but they are already installed or superseded by a package installed
    at a higher level:
    zlib-1.2.11-1.ppc is already installed.

    The following errors occurred during installation:
    file /opt/freeware/64 from install of openssl-1.0.2n-1.ppc conflicts with file from package libjpeg-6b-6.ppc
    file /opt/freeware/64/lib from install of openssl-1.0.2n-1.ppc conflicts with file from package libjpeg-6b-6.ppc


    As result I deinstalled libjpeg-6b-6.ppc and tightvnc-1.3.10-1.ppc and installed succesfully the sudo package with openldap-2.4.44, openssl-1.0.2n-1 and zlib-1.2.11-1.

    But after that I get the following error running any ssh command:

    #ssh
    exec(): 0509-036 Cannot load program ssh because of the following errors:
    0509-130 Symbol resolution failed for ssh because:
    0509-136 Symbol AES_encrypt (number 208) is not exported from
    dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
    0509-136 Symbol EVP_aes_256_gcm (number 320) is not exported from
    dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
    0509-136 Symbol EVP_aes_256_ctr (number 321) is not exported from
    dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
    0509-136 Symbol EVP_aes_192_ctr (number 323) is not exported from
    dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
    0509-136 Symbol EVP_aes_128_gcm (number 325) is not exported from
    dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
    0509-136 Symbol EVP_aes_128_ctr (number 326) 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.

     

    Can anyone tell me how to resolve this error?

    I reinstalled openssl, openssh and rpm.rte but without any change.The error in ssh still persist.

     

    Thanks

     


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 2.  Re: error exec ssh command 0509-136

    Posted Tue September 10, 2019 11:41 AM

    Originally posted by: siga1975


    force removing of zlib (rpm -e --nodeps zlib) if not coming from the toolbox, maybe you have the perzl version, I actually removed ALL the perzl packages, no sense anymore to have them.

    you will have to absolutely remove openssl as RPM, which for sure is not coming from the aix toolbox, they alway rely on standard openssl coming from lpp

    then you will have to update the virtual package dependencies, with updtvpkg command in order to build the openssl dependencies in the AIX-rpm virtual package

    now you can reinstall your sudo

     

    be aware that:

    - if using pam you will have to update the pam.conf file with the sudo entries

    - openldap package will broke some symlinks, it will warn during installation on the command needed to fix the links

     


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 3.  Re: error exec ssh command 0509-136

    Posted Wed September 11, 2019 03:58 AM

    Originally posted by: aparaschiv


    Thank for response.

     

    I remove zlib ,openldap,openssl and sudo. Run the updtvpkg .I have openssl 1.0.2.1500 installed from lpp .I tried to reinstall sudo 1.8.21 but unfortunately requires openssl 1.0.2n-1 from rpm .If I install this openssl beside 1.0.2.1500, the error from above returns:

    #ssh
    exec(): 0509-036 Cannot load program ssh because of the following errors:
    0509-130 Symbol resolution failed for ssh because:
    0509-136 Symbol AES_encrypt (number 208) is not exported from
    dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.0).
    'dump -Tv' command.

    So then I uninstall again sudo 1.8.21 and install from a AIX toolbox sudo 1.8.20p2 and openldap 2.4.40-2(without any openssl from AIX toolbox).

    It seems to work now , but i`m not at the version of sudo I desired, that is 1.8.21 .Can you help me with a sudo 1.8.21 from an AIX-rpm virtual package?

     

    Thanks

     


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 4.  Re: error exec ssh command 0509-136

    Posted Wed September 11, 2019 06:23 AM

    Originally posted by: AyappanP


    AIX Toolbox has sudo 1.8.21p2 & sudo 1.8.27 with the latter being the recent. 

    What is the reason for sticking with sudo 1.8.21 version ?


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 5.  Re: error exec ssh command 0509-136

    Posted Wed September 11, 2019 06:27 AM

    Originally posted by: aparaschiv


    Can you give me the link for that versions? The reason is that we tested 1.8.21 on our test environment. 


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 6.  Re: error exec ssh command 0509-136

    Posted Wed September 11, 2019 06:36 AM


  • 7.  Re: error exec ssh command 0509-136

    Posted Wed September 11, 2019 07:07 AM

    Originally posted by: aparaschiv


    Thanks for the link.I will try to install the newer version


    #AIXOpenSource
    #AIX-Open-Source-Software