AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system


#Operatingsystems
#Opensource
#AIX
#AIX Open Source
 View Only
  • 1.  unable to start sshd

    Posted Fri July 07, 2023 08:42 PM

    Hello Team ,

    I upgraded openssl from 1.0.2.2102 to 1.0.2.2104 

    after this , sshd broken .

    i am unable to start sshd , it gives this error .

    Need your help .

    ================================================================

    root@uaa11013:/ # lssrc -s sshd
    Subsystem         Group            PID          Status
     sshd             ssh                           inoperative
    root@uaa11013:/ #
    root@uaa11013:/ # startsrc -s sshd
    Could not load program /usr/sbin/sshd:
            Dependent module libcrypto.a(libcrypto.so.1.0.0)0513-059 The sshd Subsystem has been started. Subsystem PID is 9765300.
     could not be loaded.
    Could not load module libcrypto.a(libcrypto.so.1.0.0).
    System error: No such file or directory
    root@uaa11013:/ # Could not load program /usr/sbin/sshd:
            Dependent module libcrypto.a(libcrypto.so.1.0.0) could not be loaded.
    Could not load module libcrypto.a(libcrypto.so.1.0.0).
    System error: No such file or directory
    Could not load program /usr/sbin/sshd:
            Dependent module libcrypto.a(libcrypto.so.1.0.0) could not be loaded.
    Could not load module libcrypto.a(libcrypto.so.1.0.0).
    System error: No such file or directory

    root@uaa11013:/ # lslpp -l |grep openssl
      openssl.base            1.0.2.2104  COMMITTED  Open Secure Socket Layer
      openssl.license         1.0.2.2104  COMMITTED  Open Secure Socket License
      openssl.man.en_US       1.0.2.2104  COMMITTED  Open Secure Socket Layer
      openssl.base            1.0.2.2104  COMMITTED  Open Secure Socket Layer
    root@uaa11013:/ #
    root@uaa11013:/ # lssrc -s sshd
    Subsystem         Group            PID          Status
     sshd             ssh                           inoperative
    root@uaa11013:/ #
    root@uaa11013:/ # startsrc -s sshd
    Could not load program /usr/sbin/sshd:
            Dependent module libcrypto.a(libcrypto.so.1.0.0) could not be loaded.
    Could not load module libcrypto.a(libcrypto.so.1.0.0).
    System error: No such file or directory
    0513-059 The sshd Subsystem has been started. Subsystem PID is 6357440.
    root@uaa11013:/ # Could not load program /usr/sbin/sshd:
            Dependent module libcrypto.a(libcrypto.so.1.0.0) could not be loaded.
    Could not load module libcrypto.a(libcrypto.so.1.0.0).
    System error: No such file or directory
    Could not load program /usr/sbin/sshd:
            Dependent module libcrypto.a(libcrypto.so.1.0.0) could not be loaded.
    Could not load module libcrypto.a(libcrypto.so.1.0.0).
    System error: No such file or directory

    root@uaa11013:/ # lssrc -s sshd
    Subsystem         Group            PID          Status
     sshd             ssh                           inoperative
    root@uaa11013:/ # lslpp -l |grep openssl
      openssl.base            1.0.2.2104  COMMITTED  Open Secure Socket Layer
      openssl.license         1.0.2.2104  COMMITTED  Open Secure Socket License
      openssl.man.en_US       1.0.2.2104  COMMITTED  Open Secure Socket Layer
      openssl.base            1.0.2.2104  COMMITTED  Open Secure Socket Layer
    root@uaa11013:/ # oslevel -s
    7200-05-03-2135
    root@uaa11013:/ #
    =============================================================================



    ------------------------------
    Soosai Jeyson
    ------------------------------


  • 2.  RE: unable to start sshd

    Posted Fri July 07, 2023 08:43 PM

    root@uaa11013:/ # lppchk -c openssl.base
    lppchk:  File /usr/lib/libcrypto.a could not be located.
    root@uaa11013:/ #



    ------------------------------
    Soosai Jeyson
    ------------------------------



  • 3.  RE: unable to start sshd

    Posted Fri July 07, 2023 08:55 PM

    root@uaa11013:/ # rpm -q AIX-rpm --provides | grep libcrypto.so
    libcrypto.a.min(libcrypto.so)
    libcrypto_compat.a(libcrypto.so)
    libcrypto_compat.a(libcrypto.so.0.9.8)
    root@uaa11013:/ #

    root@uaa11013:/ # ls -lrt /opt/freeware/lib/libcrypto.a
    /opt/freeware/lib/libcrypto.a not found
    root@uaa11013:/ #
    root@uaa11013:/ # ls -lrt /usr/lib/libcrypto.a
    /usr/lib/libcrypto.a not found
    root@uaa11013:/ #

    i think , i messed up while trying to install dnz



    ------------------------------
    Soosai Jeyson
    ------------------------------



  • 4.  RE: unable to start sshd

    Posted Fri July 07, 2023 08:59 PM

    root@uaa11013:/ # rpm -qa
    zip-2.3-3.ppc
    libstdc++-4.2.0-3.ppc
    zlib-1.2.7-1.ppc
    gcc-java-4.2.0-3.ppc
    sudo-1.9.5-3.ppc
    openldap-devel-2.4.23-0.3.ppc
    unzip-5.51-1.ppc
    bash-doc-4.2-1.ppc
    automake-1.11-1.noarch
    perl-5.8.2-1.ppc
    libssh2-1.4.3-2.ppc
    python-docs-2.7.5-1.ppc
    pkg-config-0.19-6.ppc
    popt-1.7-2.ppc
    freetype-demo-1.3.1-9.ppc
    libXft-devel-2.3.1-1.ppc
    freetype2-2.5.3-1.ppc
    libXrender-devel-0.9.8-1.ppc
    tcsh-6.11-3.ppc
    apr-util-1.5.4-1.ppc
    libidn-1.29-1.ppc
    curl-devel-7.27.0-1.ppc
    expat-devel-2.0.1-3.ppc
    ganglia-mod_ibmams-3.6.0-2.ppc
    ganglia-p6-mod_ibmrperf-3.6.0-2.ppc
    tar-1.22-1.ppc
    xpm-devel-3.4k-8.ppc
    gcc-c++-4.2.0-3.ppc
    gdbm-devel-1.8.3-5.ppc
    which-2.14-1.ppc
    openssl-doc-1.0.1m-1.ppc
    bash-4.2-1.ppc
    autoconf213-2.13-1.noarch
    rsync-3.0.6-1.ppc
    ganglia-mod_aixdisk-3.6.0-2.ppc
    python-devel-2.7.5-1.ppc
    info-4.6-1.ppc
    grep-2.5.1-1.ppc
    freetype-1.3.1-9.ppc
    libXft-2.3.1-1.ppc
    libpng-devel-1.6.12-1.ppc
    fontconfig-devel-2.10.2-1.ppc
    coreutils-5.2.1-2.ppc
    apr-1.5.1-1.ppc
    readline-devel-6.3-5.ppc
    curl-7.27.0-1.ppc
    pcre-devel-8.36-1.ppc
    ganglia-mod_ibmame-3.6.0-2.ppc
    ganglia-p6-mod_ibmpower-3.6.0-2.ppc
    wazuh-agent-4.1.5-1.ppc
    python3-3.7.9-0.ppc
    libmodulemd-1.5.2-32_1.ppc
    libsmartcols-2.34-32_1.ppc
    librepo-1.11.0-32_1.ppc
    libdnf-0.39.1-32_1.ppc
    python3-hawkey-0.39.1-32_1.ppc
    python3-libcomps-0.1.11-32_1.ppc
    p11-kit-0.23.16-0.ppc
    dnf-data-4.2.17-32_1.noarch
    dnf-4.2.17-32_1.noarch
    ca-certificates-2020.06.01-0.ppc
    libgcc8-8.3.0-6.ppc
    AIX-rpm-7.2.5.100-4.ppc
    prngd-0.9.29-1.ppc
    db-3.3.11-4.ppc
    xpm-3.4k-8.ppc
    gcc-4.2.0-3.ppc
    gdbm-1.8.3-5.ppc
    openldap-2.4.23-0.3.ppc
    openssl-devel-1.0.1m-1.ppc
    ganglia-devel-3.6.0-2.ppc
    autoconf-2.63-1.noarch
    gzip-1.2.4a-10.ppc
    ganglia-lib-3.6.0-2.ppc
    python-2.7.5-1.ppc
    bzip2-1.0.5-3.ppc
    libconfuse-devel-2.7-1.ppc
    tcl-devel-8.6.2-1.ppc
    renderproto-0.11.1-1.ppc
    libpng-1.6.12-1.ppc
    fontconfig-2.10.2-1.ppc
    tk-devel-8.6.2-1.ppc
    libiconv-1.14-2.ppc
    readline-6.3-5.ppc
    libssh2-docs-1.4.3-2.ppc
    pcre-8.36-1.ppc
    ganglia-p6-gmond-3.6.0-2.ppc
    ganglia-mod_ibmnet-3.6.0-2.ppc
    VeeamAgent-2.0.0-256.ppc
    expect-5.42.1-3.ppc
    gettext-0.10.40-8.ppc
    libstdc++-devel-4.2.0-3.ppc
    zlib-devel-1.2.7-1.ppc
    gcc-locale-4.2.0-3.ppc
    wget-1.9.1-2ssl.ppc
    openssl-1.0.1m-1.ppc
    expat-2.0.1-3.ppc
    m4-1.4.13-1.ppc
    make-3.81-1.ppc
    vnc-3.3.3r2-6.ppc
    libssh2-devel-1.4.3-2.ppc
    python-tools-2.7.5-1.ppc
    libconfuse-2.7-1.ppc
    tcl-8.6.2-1.ppc
    freetype-devel-1.3.1-9.ppc
    libXrender-0.9.8-1.ppc
    freetype2-devel-2.5.3-1.ppc
    tk-8.6.2-1.ppc
    gdb-7.5-5.ppc
    apr-util-ldap-1.5.4-1.ppc
    libidn-devel-1.29-1.ppc
    gnupg-1.4.18-1.ppc
    apr-devel-1.5.1-1.ppc
    ganglia-mod_ibmfc-3.6.0-2.ppc
    lsof-4.88-1.ppc
    libzstd-1.4.4-32_1.ppc
    libsolv-0.7.9-32_1.ppc
    zchunk-libs-1.1.4-32_1.ppc
    rpm-python3-4.15.1-32_1.ppc
    python3-libdnf-0.39.1-32_1.ppc
    libcomps-0.1.11-32_1.ppc
    python3-gpgme-1.13.1-32_1.ppc
    p11-kit-tools-0.23.16-0.ppc
    python3-dnf-4.2.17-32_1.noarch
    dnf-automatic-4.2.17-32_1.noarch
    python3-librepo-1.11.0-32_1.ppc
    libgcc-8-1.ppc
    root@uaa11013:/ #



    ------------------------------
    Soosai Jeyson
    ------------------------------