Welcome to Centmin Mod Community
Become a Member

Beta Branch axel 2.6 centos 6 workaround for openssl download url in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Sep 6, 2016.

  1. eva2000

    eva2000 Administrator Staff Member

    55,404
    12,256
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,836
    Local Time:
    8:53 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    axel 2.6 centos 6 workaround for openssl download url in 123.09beta01

    axel 2.6 doesn't support if download url is forced to HTTPS as it complains of too many redirects errors and was fixed in axel 2.11 but centos 6 only supports axel 2.6 while centos 7 installs axel 2.11. This is a workaround to just use wget instead of axel for centos 6

    Continue reading...


    123.09beta01 branch
     
  2. eva2000

    eva2000 Administrator Staff Member

    55,404
    12,256
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,836
    Local Time:
    8:53 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    something funky going on with openssl.org downloads

    axel complains of too many redirects so switch to wget but that reports
    Code (Text):
    HTTP/1.1 200 OK
    Download openssl-1.1.0.tar.gz ...
    2016-09-05 18:15:57 URL:https://www.openssl.org/source/openssl-1.1.0.tar.gz [5146831/5146831] -> "openssl-1.1.0.tar.gz" [1]
    http://: Invalid host name.
    FINISHED --2016-09-05 18:15:57--
    Total wall clock time: 0.4s
    Downloaded: 1 files, 4.9M in 0.2s (28.4 MB/s)
    Error: openssl-1.1.0.tar.gz download failed.
    check Centmin Mod log for details at /root/centminlogs/
    Aborting script...
    Total Nginx Upgrade Time: 6.594606234 seconds


    ah it's /etc/resolv.conf related seems using web hosts resolves didn't work for openssl.org domain
     
  3. eva2000

    eva2000 Administrator Staff Member

    55,404
    12,256
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,836
    Local Time:
    8:53 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    strangely this only happens on openssl.org https downloads, other downloads over https work fine with axel 2.6 !