Open Source Development

Power Open Source Development

Connect, learn, share, and engage with IBM Power.


#Power


#Power
 View Only
Expand all | Collapse all

DNF installation

  • 1.  DNF installation

    Posted Mon December 11, 2023 10:40 PM

    Hi,

    I am trying to install dnf toolbox in one of our lpars. I am getting an error that states:

    lwp-download: 500 Can't connect to public.dhe.ibm.com:443
    Failed to download dnf_bundle_aix_71_72.tar

    Any idea how to fix this?

    Thanks



    ------------------------------
    Ivan Lemuel Salvador
    ------------------------------

    #AIXOpenSource


  • 2.  RE: DNF installation

    Posted Tue December 12, 2023 05:07 AM

    Hi Ivan,

    do you have Internet access from your AIX LPAR? Can you download other files?



    ------------------------------
    Andrey Klyachkin

    https://www.power-devops.com
    ------------------------------



  • 3.  RE: DNF installation

    Posted Wed December 13, 2023 12:39 AM

    Hi Andrey,

    Yes. I was able to ping google from the AIX LPAR.



    ------------------------------
    Ivan Lemuel Salvador
    ------------------------------



  • 4.  RE: DNF installation

    Posted Tue December 12, 2023 05:30 AM

    Hi!

    Sounds like general network / proxy related problems.  Can you download files from other websites to that system?

    Best regards,

      Alexander



    ------------------------------
    Alexander Reichle-Schmehl
    ------------------------------



  • 5.  RE: DNF installation

    Posted Wed December 13, 2023 12:40 AM

    HI,

    I haven't tried it yet. Will check if we can download



    ------------------------------
    Ivan Lemuel Salvador
    ------------------------------



  • 6.  RE: DNF installation

    Posted Tue December 12, 2023 11:23 PM

    Hi Ivan,

    It looks like a firewall issue. I ran into the same problem and had to submit a firewall request to my network team to open that port from my server to the ibm site. Once that got done, I was good to go.

    You can try to telnet to see if you can connect.

    # telnet public.dhe.ibm.com 443
    Trying...
    Connected to public.southdata.ibm.com.
    Escape character is '^]'.
    ^CConnection closed.

    Good luck,

    Rubi 



    ------------------------------
    Rubi Carrillo
    ------------------------------



  • 7.  RE: DNF installation

    Posted Wed December 13, 2023 12:40 AM

    Hi Rubi,

    Thanks! Will try to execute your suggestions.



    ------------------------------
    Ivan Lemuel Salvador
    ------------------------------



  • 8.  RE: DNF installation

    Posted Wed December 13, 2023 12:43 AM

    HI,

    This was the result once i tried connecting thru telnet:

    telnet: Unknown host public.dhe.ibm.com



    ------------------------------
    Ivan Lemuel Salvador
    ------------------------------



  • 9.  RE: DNF installation

    Posted Wed December 13, 2023 02:46 AM

    Hi!

    That looks like it fails an earlier state protocol wise, before even reaching firewalls.

    Two question:  Do you know if this machine is connected directly to the internet? Then it seems you name resolution has a problem.  Probably you just have to add some nameservers?

    Or if your machine is not directly connected, but via proxy:  You'll have to set the HTTPS_PROXY="http://yourproxy:yourport/" variable.  Otherwise the script will try to download directly.


    Best regards,

      Alexander



    ------------------------------
    Alexander Reichle-Schmehl
    ------------------------------



  • 10.  RE: DNF installation

    Posted Wed December 13, 2023 11:48 AM

    Hello,

    Just went through this myself. I added an export line into the dnf_toolbox.sh script before running to include my proxy. We use BigFix to push this script out and it works nicely. 

    export https_proxy=<proxy>

    Thanks,

    Patrick Warren



    ------------------------------
    Patrick Warren
    ------------------------------



  • 11.  RE: DNF installation

    Posted Wed December 13, 2023 10:25 PM

    Hi Alexander,

    I was able to ping 8.8.8.8. Already set google in the Domain under Nameserver.



    ------------------------------
    Ivan Lemuel Salvador
    ------------------------------



  • 12.  RE: DNF installation

    Posted Wed December 13, 2023 12:58 PM

    What happens if you use the IP instead fo the name? I ran an nslookup on public.dhe.ibm.com to get the IP. 

    # telnet 170.225.126.18 443
    Trying...
    Connected to 170.225.126.18.
    Escape character is '^]'.
    Connection closed.



    ------------------------------
    Rubi Carrillo
    ------------------------------



  • 13.  RE: DNF installation

    Posted Wed December 13, 2023 09:05 PM

    Hi Rubi,

    I get the same result as you when i tried connecting thru telnet thru the IP.



    ------------------------------
    Ivan Lemuel Salvador
    ------------------------------



  • 14.  RE: DNF installation

    Posted Thu December 14, 2023 08:17 AM

    Try the below command and check whether it is able to connect. 
    openssl s_client 170.225.126.18:443 




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



  • 15.  RE: DNF installation

    Posted Fri August 16, 2024 03:11 AM

    Hi, 
    Could be add hostname in hosts file

    vi /etc/hosts

    170.225.126.18  public.dhe.ibm.com

    "/etc/hosts" 63 lines, 2277 characters

    root@AIX72(/backup)# ping public.dhe.ibm.com

    PING public.dhe.ibm.com: (170.225.126.18): 56 data bytes

    64 bytes from 170.225.126.18: icmp_seq=0 ttl=243 time=34 ms

    64 bytes from 170.225.126.18: icmp_seq=1 ttl=243 time=35 ms

    try next:

    root@Test-Desa(/backup)# telnet public.dhe.ibm.com 443

    Trying...

    Connected to public.dhe.ibm.com.

    Escape character is '^]'.

    ^CConnection closed.

    root@Test-Desa(/backup)#. 

     



    ------------------------------
    Sergio Mauricio Romo Caballero
    ------------------------------