AIX Open Source

 View Only
Expand all | Collapse all

Yum setup on NIM and NIM clients

  • 1.  Yum setup on NIM and NIM clients

    Posted Tue September 07, 2021 05:50 PM
    Hello All,

    I am working on a project to setup yum local repos on our NIM server and then configuring yum.conf on clients to be able to use yum repos. I was able to setup/create repos on NIM but having issues with clients to use it. I want some help in confirming that repos has been setup correctly on NIM server ? Once that is confirmed, need to know how i can configure nim clients to use that repos.

    nim:/:# yum repolist
    repo id repo name status
    AIX_Toolbox AIX generic repository 2,685
    AIX_Toolbox_71 AIX 7.1 specific repository 295
    AIX_Toolbox_72 AIX 7.2 specific repository 412
    AIX_Toolbox_noarch AIX noarch repository 285
    repolist: 3,677

    root@client:/:# yum repolist
    anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/repodata/repomd.xml:">https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/repodata/repomd.xml: [Errno 12] Timeout on anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/repodata/repomd.xml:">https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/repodata/repomd.xml: (28, 'Connection timed out after 30000 milliseconds')
    Trying other mirror.
    repo id repo name status
    AIX_Toolbox AIX generic repository 0
    AIX_Toolbox_71 AIX 7.1 specific repository 0
    AIX_Toolbox_noarch AIX noarch repository 0
    repolist: 0


    ------------------------------
    Ghouse Mohammed
    ------------------------------


  • 2.  RE: Yum setup on NIM and NIM clients

    Posted Wed September 08, 2021 01:59 AM
    Hi,

    The repos seem to be ok since the yum repolist you execute on the server shows the repos along with the number of packages. On client side take a look at /opt/freeware/etc/yum/yum.conf to verify that you point to your NIM server. Also remove the entry pointing to public.dhe.ibm.com which causes a timeout. If you use http as protocol you might also want to take a look at the access_log of the webserver to see the clients actually reach your NIM server.

    ------------------------------
    Oliver Stadler
    ------------------------------



  • 3.  RE: Yum setup on NIM and NIM clients

    Posted Wed September 08, 2021 02:13 AM
    Edited by SANKET RATHI Wed September 08, 2021 02:13 AM
    Thank you Oliver.

    Hi Ghouse,
    As Oliver pointed out on client you should be pointing to local yum repo not the AIX toolbox.
    As you are setting up local yum clients should be using that repo. Make sure you have http configured on NIM server and have placed rpms and repo at proper location. Use that path in yum.conf file at cleints.

    Here is an article on setting up local yum on AIX
    https://developer.ibm.com/articles/configure-yum-on-aix/

    ------------------------------
    SANKET RATHI
    ------------------------------



  • 4.  RE: Yum setup on NIM and NIM clients

    Posted Thu September 09, 2021 12:45 PM
    Thanks Sanket and Oliver for your input. Based on your inputs, i have changed the yum.conf on clients to point to NIM and i get this below error on client i am testing. Do i need to setup some httpd service on NIM ? I did telent from client to NIM on port 443 and connection is refused but port 443 is open in /etc/services on both client and nim

    root@client/:# yum repolist
    https://rmd-nim.******.com/toolbox_repo/AIX_Toolbox/AIX_Toolbox/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to rmd-nim.coremark.com port 443: Connection refused"


    root@client:/:# telnet nimserver 443
    Trying...
    telnet: connect: Connection refused




    ------------------------------
    Ghouse Mohammed
    ------------------------------



  • 5.  RE: Yum setup on NIM and NIM clients

    Posted Thu September 09, 2021 12:55 PM
    I have changed the https to http on client and now i get below error. On nim server i do see repomd.xml file under toolbox_repo/AIX_Toolbox/AIX_Toolbox/repodata/repomd.xml.

    root@client:/:# yum repolist
    http://rmd-nim.XXXXX.com/toolbox_repo/AIX_Toolbox/AIX_Toolbox/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
    Trying other mirror.
    repo id repo name status
    AIX_Toolbox AIX generic repository 0
    AIX_Toolbox_71 AIX 7.1 specific repository 0
    AIX_Toolbox_noarch AIX noarch repository 0
    repolist: 0

    ------------------------------
    Ghouse Mohammed
    ------------------------------



  • 6.  RE: Yum setup on NIM and NIM clients

    Posted Thu September 09, 2021 01:20 PM
    Hi,

    Based on the 404 error you get it looks like you have an httpd server configured on your NIM server but the repository cannot be found under the URL you specify in the yum.conf file. Now I don't know the configuration of your httpd server but basically you would either have to make sure that the toolbox_repo directory you refer to exists in the DocumentRoot of your httpd server. By default that is in /var/www/html. Alternatively you could also add an Alias statement to your httpd.conf (by default locate in /opt/freeware/etc/httpd/conf/httpd.conf) like this:

    Alias /toolbox_repo /somedir/where/toolbox_repo

    ------------------------------
    Oliver Stadler
    ------------------------------



  • 7.  RE: Yum setup on NIM and NIM clients

    Posted Fri September 10, 2021 10:28 AM
    You can check if you have proper connection to your local yum server from client by running  curl command.
    # curl http://rmd-nim.XXXXX.com/toolbox_repo/AIX_Toolbox/AIX_Toolbox/repodata/repomd.xml

    ------------------------------
    SANKET RATHI
    ------------------------------



  • 8.  RE: Yum setup on NIM and NIM clients

    Posted Mon December 05, 2022 02:59 PM
    Edited by Ghouse Mohammed Mon December 05, 2022 05:28 PM
    Issue on NIM server is fixed and nim is showing the repo list with no issues but i have issues on nim client as below when trying to access local repositories on NIM.

    root@rmd-nim:/:# yum repolist
    repo id repo name status
    AIX_Toolbox AIX generic repository 3,287
    AIX_Toolbox_71 AIX 7.1 specific repository 367
    AIX_Toolbox_72 AIX 7.2 specific repository 503
    AIX_Toolbox_noarch AIX noarch repository 361
    repolist: 4,518
    root@rmd-nim:/:


    root@client:/:# yum repolist
    http://rmd-nim.coremark.com/toolbox_repo/AIX_Toolbox/AIX_Toolbox/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to rmd-nim.coremark.com port 80: Connection refused"
    Trying other mirror.
    repo id repo name status
    AIX_Toolbox AIX generic repository 0
    AIX_Toolbox_71 AIX 7.1 specific repository 0
    AIX_Toolbox_noarch AIX noarch repository 0
    repolist: 0


  • 9.  RE: Yum setup on NIM and NIM clients

    Posted Mon December 05, 2022 05:49 PM
    Below is the error i get when i run curl on nim client 

    curl http://rmd-nim.coremark.com/toolbox_repo/AIX_Toolbo>
    curl: (7) Failed to connect to rmd-nim.coremark.com port 80: Connection refused

    ------------------------------
    Ghouse Mohammed
    ------------------------------



  • 10.  RE: Yum setup on NIM and NIM clients

    Posted Tue December 06, 2022 08:48 AM
    Looks like http server is not running or working on NIM server.

    ------------------------------
    SANKET RATHI
    ------------------------------



  • 11.  RE: Yum setup on NIM and NIM clients

    Posted Tue December 06, 2022 10:24 AM
    Yeah can you provide instructions on how to setup http on NIM. I tried to install and get below error.

    root@rmd-nim:/toolbox_repo:# rpm -qa | grep httpd
    root@rmd-nim:/toolbox_repo:# yum install httpd
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package httpd.ppc 0:2.4.54-3 will be installed
    --> Processing Dependency: apr >= 1.7.0 for package: httpd-2.4.54-3.ppc
    --> Processing Dependency: apr-util >= 1.6.1 for package: httpd-2.4.54-3.ppc
    --> Processing Dependency: expat >= 2.4.6 for package: httpd-2.4.54-3.ppc
    --> Processing Dependency: openldap >= 2.4.58-4 for package: httpd-2.4.54-3.ppc
    --> Processing Dependency: libcrypto.a(libcrypto.so.1.1) for package: httpd-2.4.54-3.ppc
    --> Processing Dependency: libssl.a(libssl.so.1.1) for package: httpd-2.4.54-3.ppc
    --> Running transaction check
    ---> Package apr.ppc 0:1.5.2-1 will be updated
    ---> Package apr.ppc 0:1.7.0-1 will be an update
    ---> Package apr-util.ppc 0:1.5.4-1 will be updated
    ---> Package apr-util.ppc 0:1.6.1-1 will be an update
    ---> Package expat.ppc 0:2.2.9-2 will be updated
    ---> Package expat.ppc 0:2.4.9-1 will be an update
    ---> Package httpd.ppc 0:2.4.54-3 will be installed
    --> Processing Dependency: libcrypto.a(libcrypto.so.1.1) for package: httpd-2.4.54-3.ppc
    --> Processing Dependency: libssl.a(libssl.so.1.1) for package: httpd-2.4.54-3.ppc
    ---> Package openldap.ppc 0:2.4.56-1 will be updated
    ---> Package openldap.ppc 0:2.4.58-4 will be an update
    --> Processing Dependency: cyrus-sasl >= 2.1.27 for package: openldap-2.4.58-4.ppc
    --> Processing Dependency: libcrypto.a(libcrypto.so.1.1) for package: openldap-2.4.58-4.ppc
    --> Processing Dependency: libsasl2.a(libsasl2.so.3) for package: openldap-2.4.58-4.ppc
    --> Processing Dependency: libssl.a(libssl.so.1.1) for package: openldap-2.4.58-4.ppc
    --> Running transaction check
    ---> Package cyrus-sasl.ppc 0:2.1.26-3 will be updated
    ---> Package cyrus-sasl.ppc 0:2.1.28-1 will be an update
    ---> Package httpd.ppc 0:2.4.54-3 will be installed
    --> Processing Dependency: libcrypto.a(libcrypto.so.1.1) for package: httpd-2.4.54-3.ppc
    --> Processing Dependency: libssl.a(libssl.so.1.1) for package: httpd-2.4.54-3.ppc
    ---> Package openldap.ppc 0:2.4.58-4 will be an update
    --> Processing Dependency: libcrypto.a(libcrypto.so.1.1) for package: openldap-2.4.58-4.ppc
    --> Processing Dependency: libssl.a(libssl.so.1.1) for package: openldap-2.4.58-4.ppc
    --> Finished Dependency Resolution
    Error: Package: openldap-2.4.58-4.ppc (AIX_Toolbox)
    Requires: libcrypto.a(libcrypto.so.1.1)
    Error: Package: httpd-2.4.54-3.ppc (AIX_Toolbox)
    Requires: libcrypto.a(libcrypto.so.1.1)
    Error: Package: httpd-2.4.54-3.ppc (AIX_Toolbox)
    Requires: libssl.a(libssl.so.1.1)
    Error: Package: openldap-2.4.58-4.ppc (AIX_Toolbox)
    Requires: libssl.a(libssl.so.1.1)
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest

    ------------------------------
    Ghouse Mohammed
    ------------------------------



  • 12.  RE: Yum setup on NIM and NIM clients

    Posted Tue December 06, 2022 10:33 AM
    Yum update on nim also fails.

    root@rmd-nim:/:# yum update
    Setting up Update Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package apr.ppc 0:1.5.2-1 will be updated
    ---> Package apr.ppc 0:1.7.0-1 will be an update
    ---> Package apr-util.ppc 0:1.5.4-1 will be updated
    ---> Package apr-util.ppc 0:1.6.1-1 will be an update
    ---> Package bash.ppc 0:5.0.18-1 will be updated
    ---> Package bash.ppc 0:5.1.16-1 will be an update
    ---> Package ca-certificates.ppc 0:2020.06.01-1 will be updated
    ---> Package ca-certificates.ppc 0:2021.2.52-3 will be an update
    ---> Package createrepo.noarch 0:0.10.3-3 will be obsoleted
    ---> Package createrepo_c.ppc 0:0.16.0-32_1 will be obsoleting
    --> Processing Dependency: createrepo_c-libs = 0.16.0-32_1 for package: createre po_c-0.16.0-32_1.ppc
    --> Processing Dependency: libcreaterepo_c.a(libcreaterepo_c.so.0) for package: createrepo_c-0.16.0-32_1.ppc
    ---> Package curl.ppc 0:7.74.0-1 will be updated
    ---> Package curl.ppc 0:7.85.0-1 will be an update
    --> Processing Dependency: (python3 >= 3.7.15 if dnf) for package: curl-7.85.0-1 .ppc
    --> Processing Dependency: libcrypto.a(libcrypto.so.1.1) for package: curl-7.85. 0-1.ppc
    --> Processing Dependency: libssl.a(libssl.so.1.1) for package: curl-7.85.0-1.pp c
    ---> Package cyrus-sasl.ppc 0:2.1.26-3 will be updated
    ---> Package cyrus-sasl.ppc 0:2.1.28-1 will be an update
    ---> Package expat.ppc 0:2.2.9-2 will be updated
    ---> Package expat.ppc 0:2.4.9-1 will be an update
    ---> Package expect.ppc 0:5.45.4-1 will be updated
    ---> Package expect.ppc 0:5.45.4-2 will be an update
    ---> Package freetype2.ppc 0:2.8-1 will be updated
    ---> Package freetype2.ppc 0:2.12.1-1 will be an update
    ---> Package gdbm.ppc 0:1.18.1-1 will be updated
    ---> Package gdbm.ppc 0:1.23-1 will be an update
    ---> Package gettext.ppc 0:0.20.2-1 will be updated
    ---> Package gettext.ppc 0:0.21-2 will be an update
    ---> Package glib2.ppc 0:2.56.1-2 will be updated
    ---> Package glib2.ppc 0:2.56.1-3 will be an update
    ---> Package harfbuzz.ppc 0:1.2.7-2 will be updated
    ---> Package harfbuzz.ppc 0:4.3.0-1 will be an update
    ---> Package info.ppc 0:6.6-2 will be updated
    ---> Package info.ppc 0:6.7-1 will be an update
    ---> Package krb5-libs.ppc 0:1.16.1-5 will be updated
    ---> Package krb5-libs.ppc 0:1.18.5-2 will be an update
    --> Processing Dependency: libcrypto.a(libcrypto.so.1.1) for package: krb5-libs- 1.18.5-2.ppc
    --> Processing Dependency: libssl.a(libssl.so.1.1) for package: krb5-libs-1.18.5 -2.ppc
    ---> Package libXrender.ppc 0:0.9.8-2waixX11 will be updated
    ---> Package libXrender.ppc 0:0.9.8-3waixX11 will be an update
    ---> Package libffi.ppc 0:3.2.1-3 will be updated
    ---> Package libffi.ppc 0:3.4.2-1 will be an update
    ---> Package libgcc8.ppc 0:8.3.0-4 will be updated
    ---> Package libgcc8.ppc 0:8.3.0-6 will be an update
    --> Processing Dependency: AIX-rpm < 7.2.0.0 for package: libgcc8-8.3.0-6.ppc
    ---> Package libgomp8.ppc 0:8.3.0-4 will be updated
    ---> Package libgomp8.ppc 0:8.3.0-6 will be an update
    --> Processing Dependency: AIX-rpm < 7.2.0.0 for package: libgomp8-8.3.0-6.ppc
    ---> Package libiconv.ppc 0:1.16-1 will be updated
    ---> Package libiconv.ppc 0:1.17-1 will be an update
    ---> Package libnghttp2.ppc 0:1.41.0-1 will be updated
    ---> Package libnghttp2.ppc 0:1.46.0-1 will be an update
    ---> Package libpng.ppc 0:1.6.27-3 will be updated
    ---> Package libpng.ppc 0:1.6.37-1 will be an update
    ---> Package libssh2.ppc 0:1.9.0-1 will be updated
    ---> Package libssh2.ppc 0:1.10.0-1 will be an update
    ---> Package libstdc++8.ppc 0:8.3.0-4 will be updated
    ---> Package libstdc++8.ppc 0:8.3.0-6 will be an update
    --> Processing Dependency: AIX-rpm < 7.2.0.0 for package: libstdc++8-8.3.0-6.ppc
    ---> Package libtextstyle.ppc 0:0.20.2-1 will be updated
    ---> Package libtextstyle.ppc 0:0.21-2 will be an update
    ---> Package libxml2.ppc 0:2.9.10-1 will be updated
    ---> Package libxml2.ppc 0:2.10.2-1 will be an update
    ---> Package libxml2-python.ppc 0:2.9.10-1 will be obsoleted
    ---> Package libxml2-python3.ppc 0:2.10.2-1 will be obsoleting
    ---> Package lz4.ppc 0:1.9.2-1 will be updated
    ---> Package lz4.ppc 0:1.9.3-1 will be an update
    ---> Package ncurses.ppc 0:6.2-2 will be updated
    ---> Package ncurses.ppc 0:6.3-1 will be an update
    ---> Package openldap.ppc 0:2.4.56-1 will be updated
    ---> Package openldap.ppc 0:2.4.58-4 will be an update
    --> Processing Dependency: libcrypto.a(libcrypto.so.1.1) for package: openldap-2 .4.58-4.ppc
    --> Processing Dependency: libssl.a(libssl.so.1.1) for package: openldap-2.4.58- 4.ppc
    ---> Package p11-kit.ppc 0:0.23.16-1 will be updated
    ---> Package p11-kit.ppc 0:0.23.22-1 will be an update
    --> Processing Dependency: libtasn1 >= 4.16.0 for package: p11-kit-0.23.22-1.ppc
    --> Processing Dependency: libtasn1.a(libtasn1.so.6) for package: p11-kit-0.23.2 2-1.ppc
    ---> Package p11-kit-tools.ppc 0:0.23.16-1 will be updated
    ---> Package p11-kit-tools.ppc 0:0.23.22-1 will be an update
    ---> Package pcre.ppc 0:8.44-1 will be updated
    ---> Package pcre.ppc 0:8.44-2 will be an update
    ---> Package perl.ppc 1:5.30.3-2 will be updated
    ---> Package perl.ppc 1:5.34.1-1 will be an update
    ---> Package python.ppc 0:2.7.18-1 will be updated
    ---> Package python.ppc 0:2.7.18-3 will be an update
    ---> Package python-devel.ppc 0:2.7.18-1 will be updated
    ---> Package python-devel.ppc 0:2.7.18-3 will be an update
    ---> Package python-tools.ppc 0:2.7.18-1 will be updated
    ---> Package python-tools.ppc 0:2.7.18-3 will be an update
    ---> Package python3.ppc 0:3.7.10-2 will be updated
    ---> Package python3.ppc 0:3.7.15-1 will be an update
    --> Processing Dependency: (libcomps >= 0.1.11-101 if dnf) for package: python3- 3.7.15-1.ppc
    --> Processing Dependency: libcrypto.a(libcrypto.so.1.1) for package: python3-3. 7.15-1.ppc
    --> Processing Dependency: libssl.a(libssl.so.1.1) for package: python3-3.7.15-1 .ppc
    ---> Package readline.ppc 0:8.0-2 will be updated
    ---> Package readline.ppc 0:8.1-1 will be an update
    ---> Package rrdtool.ppc 0:1.7.0-8 will be updated
    ---> Package rrdtool.ppc 0:1.7.2-2 will be an update
    ---> Package rrdtool-perl.ppc 0:1.7.0-8 will be updated
    ---> Package rrdtool-perl.ppc 0:1.7.2-2 will be an update
    ---> Package sqlite.ppc 0:3.32.3-1 will be updated
    ---> Package sqlite.ppc 0:3.39.3-1 will be an update
    ---> Package tcl.ppc 0:8.6.8-3 will be updated
    ---> Package tcl.ppc 0:8.6.11-1 will be an update
    ---> Package tk.ppc 0:8.6.8-3 will be updated
    ---> Package tk.ppc 0:8.6.11-1 will be an update
    ---> Package wget.ppc 0:1.21.1-1 will be updated
    ---> Package wget.ppc 0:1.21.2-1 will be an update
    ---> Package zlib.ppc 0:1.2.11-2 will be updated
    ---> Package zlib.ppc 0:1.2.12-1 will be an update
    --> Running transaction check
    ---> Package createrepo_c-libs.ppc 0:0.16.0-32_1 will be installed
    --> Processing Dependency: file-libs >= 5.39-1 for package: createrepo_c-libs-0. 16.0-32_1.ppc
    ---> Package curl.ppc 0:7.85.0-1 will be an update
    --> Processing Dependency: (python3 >= 3.7.15 if dnf) for package: curl-7.85.0-1 .ppc
    --> Processing Dependency: libcrypto.a(libcrypto.so.1.1) for package: curl-7.85. 0-1.ppc
    --> Processing Dependency: libssl.a(libssl.so.1.1) for package: curl-7.85.0-1.pp c
    ---> Package krb5-libs.ppc 0:1.18.5-2 will be an update
    --> Processing Dependency: libcrypto.a(libcrypto.so.1.1) for package: krb5-libs- 1.18.5-2.ppc
    --> Processing Dependency: libssl.a(libssl.so.1.1) for package: krb5-libs-1.18.5 -2.ppc
    ---> Package libgcc8.ppc 0:8.3.0-6 will be an update
    --> Processing Dependency: AIX-rpm < 7.2.0.0 for package: libgcc8-8.3.0-6.ppc
    ---> Package libgomp8.ppc 0:8.3.0-6 will be an update
    --> Processing Dependency: AIX-rpm < 7.2.0.0 for package: libgomp8-8.3.0-6.ppc
    ---> Package libstdc++8.ppc 0:8.3.0-6 will be an update
    --> Processing Dependency: AIX-rpm < 7.2.0.0 for package: libstdc++8-8.3.0-6.ppc
    ---> Package libtasn1.ppc 0:4.16.0-1 will be installed
    ---> Package openldap.ppc 0:2.4.58-4 will be an update
    --> Processing Dependency: libcrypto.a(libcrypto.so.1.1) for package: openldap-2 .4.58-4.ppc
    --> Processing Dependency: libssl.a(libssl.so.1.1) for package: openldap-2.4.58- 4.ppc
    ---> Package python3.ppc 0:3.7.15-1 will be an update
    --> Processing Dependency: (libcomps >= 0.1.11-101 if dnf) for package: python3- 3.7.15-1.ppc
    --> Processing Dependency: libcrypto.a(libcrypto.so.1.1) for package: python3-3. 7.15-1.ppc
    --> Processing Dependency: libssl.a(libssl.so.1.1) for package: python3-3.7.15-1 .ppc
    --> Running transaction check
    ---> Package curl.ppc 0:7.85.0-1 will be an update
    --> Processing Dependency: (python3 >= 3.7.15 if dnf) for package: curl-7.85.0-1 .ppc
    --> Processing Dependency: libcrypto.a(libcrypto.so.1.1) for package: curl-7.85. 0-1.ppc
    --> Processing Dependency: libssl.a(libssl.so.1.1) for package: curl-7.85.0-1.pp c
    ---> Package file-libs.ppc 0:5.41-1 will be installed
    ---> Package krb5-libs.ppc 0:1.18.5-2 will be an update
    --> Processing Dependency: libcrypto.a(libcrypto.so.1.1) for package: krb5-libs- 1.18.5-2.ppc
    --> Processing Dependency: libssl.a(libssl.so.1.1) for package: krb5-libs-1.18.5 -2.ppc
    ---> Package libgcc8.ppc 0:8.3.0-6 will be an update
    --> Processing Dependency: AIX-rpm < 7.2.0.0 for package: libgcc8-8.3.0-6.ppc
    ---> Package libgomp8.ppc 0:8.3.0-6 will be an update
    --> Processing Dependency: AIX-rpm < 7.2.0.0 for package: libgomp8-8.3.0-6.ppc
    ---> Package libstdc++8.ppc 0:8.3.0-6 will be an update
    --> Processing Dependency: AIX-rpm < 7.2.0.0 for package: libstdc++8-8.3.0-6.ppc
    ---> Package openldap.ppc 0:2.4.58-4 will be an update
    --> Processing Dependency: libcrypto.a(libcrypto.so.1.1) for package: openldap-2 .4.58-4.ppc
    --> Processing Dependency: libssl.a(libssl.so.1.1) for package: openldap-2.4.58- 4.ppc
    ---> Package python3.ppc 0:3.7.15-1 will be an update
    --> Processing Dependency: (libcomps >= 0.1.11-101 if dnf) for package: python3- 3.7.15-1.ppc
    --> Processing Dependency: libcrypto.a(libcrypto.so.1.1) for package: python3-3. 7.15-1.ppc
    --> Processing Dependency: libssl.a(libssl.so.1.1) for package: python3-3.7.15-1 .ppc
    --> Finished Dependency Resolution
    Error: Package: libgomp8-8.3.0-6.ppc (AIX_Toolbox_71)
    Requires: AIX-rpm < 7.2.0.0
    Installed: AIX-rpm-7.2.5.103-14.ppc (installed)
    AIX-rpm = 7.2.5.103-14
    Error: Package: openldap-2.4.58-4.ppc (AIX_Toolbox)
    Requires: libcrypto.a(libcrypto.so.1.1)
    Error: Package: curl-7.85.0-1.ppc (AIX_Toolbox)
    Requires: libcrypto.a(libcrypto.so.1.1)
    Error: Package: krb5-libs-1.18.5-2.ppc (AIX_Toolbox)
    Requires: libcrypto.a(libcrypto.so.1.1)
    Error: Package: libstdc++8-8.3.0-6.ppc (AIX_Toolbox_71)
    Requires: AIX-rpm < 7.2.0.0
    Installed: AIX-rpm-7.2.5.103-14.ppc (installed)
    AIX-rpm = 7.2.5.103-14
    Error: Package: libgcc8-8.3.0-6.ppc (AIX_Toolbox_71)
    Requires: AIX-rpm < 7.2.0.0
    Installed: AIX-rpm-7.2.5.103-14.ppc (installed)
    AIX-rpm = 7.2.5.103-14
    Error: Package: python3-3.7.15-1.ppc (AIX_Toolbox)
    Requires: libcrypto.a(libcrypto.so.1.1)
    Error: Package: krb5-libs-1.18.5-2.ppc (AIX_Toolbox)
    Requires: libssl.a(libssl.so.1.1)
    Error: Package: curl-7.85.0-1.ppc (AIX_Toolbox)
    Requires: (python3 >= 3.7.15 if dnf)
    Error: Package: python3-3.7.15-1.ppc (AIX_Toolbox)
    Requires: libssl.a(libssl.so.1.1)
    Error: Package: curl-7.85.0-1.ppc (AIX_Toolbox)
    Requires: libssl.a(libssl.so.1.1)
    Error: Package: openldap-2.4.58-4.ppc (AIX_Toolbox)
    Requires: libssl.a(libssl.so.1.1)
    Error: Package: python3-3.7.15-1.ppc (AIX_Toolbox)
    Requires: (libcomps >= 0.1.11-101 if dnf)
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest

    ------------------------------
    Ghouse Mohammed
    ------------------------------



  • 13.  RE: Yum setup on NIM and NIM clients

    Posted Tue December 06, 2022 11:37 AM

    I think two things are wrong.

    1. You need openssl 1.1.1 on NIM server
    2. I think your NIM server is AIX 7.2 but your yum.conf file has AIX_Toolbox_71, it should point to AIX_Toolbox_72 specific repo.

     

    Thanks,

     

    Sanket Rathi

     






  • 14.  RE: Yum setup on NIM and NIM clients

    Posted Tue December 06, 2022 11:38 AM

    First you need to upgrade your openssl to 1.1.1 from AIX web download.

     

    Thanks,

     

    Sanket Rathi

     






  • 15.  RE: Yum setup on NIM and NIM clients

    Posted Mon December 12, 2022 05:18 PM
    Hello Sanket,

    I have installed the httpd on the nim server as below but still have the issue. Do i need to do anything so as to sart the httpd server on NIM after install?

    root@rmd-nim:/:# rpm -qa | grep httpd
    httpd-2.4.54-3.ppc
    root@rmd-nim:/:

    On client curl command fails.

    root@client:/:# .com/toolbox_repo/AIX_Toolbox <
    curl: (7) Failed to connect to rmd-nim.coremark.com port 80: Connection refused
    root@client:/:# curl https://rmd-nim.coremark.com/toolbox_repo/AIX_Toolb>
    curl: (7) Failed to connect to rmd-nim.coremark.com port 443: Connection refused
    root@dc000slmsbx

    regarding the AIX 7.2 REPO .I have setup both AIX 7.2 and 7.2 Repos on NIM as we have clients which are at 7.1 and 7.2 in our environment and want the NIm server to serve as yum repos for both AIX 7.1 and 7.2 clients.

    root@rmd-nim:/:# yum repolist
    repo id repo name status
    AIX_Toolbox AIX generic repository 3,290
    AIX_Toolbox_71 AIX 7.1 specific repository 367
    AIX_Toolbox_72 AIX 7.2 specific repository 503
    AIX_Toolbox_noarch AIX noarch repository 361
    repolist: 4,521
    root@rmd-nim:/:#




    ------------------------------
    Ghouse Mohammed
    ------------------------------



  • 16.  RE: Yum setup on NIM and NIM clients

    Posted Tue December 20, 2022 12:18 PM
    After installing http server have you configured and started httpd on nim server ?

    ------------------------------
    SANKET RATHI
    ------------------------------



  • 17.  RE: Yum setup on NIM and NIM clients

    Posted Wed December 28, 2022 09:05 AM
    Edited by Ghouse Mohammed Wed December 28, 2022 09:09 AM
    I have not  done any configuration or started httpd on nim server. Can you please point me to steps to configure and start httpd on nim server ?

    ------------------------------
    Ghouse Mohammed
    ------------------------------