Join the community today
Register Now

Beta Branch wget 1.19.5 default in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Nov 28, 2018.

  1. eva2000

    eva2000 Administrator Staff Member

    37,228
    8,133
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,521
    Local Time:
    5:57 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
  2. Sunka

    Sunka Well-Known Member

    1,045
    286
    83
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +464
    Local Time:
    8:57 AM
    Nginx 1.15.0
    MariaDB 10.2.15
  3. eva2000

    eva2000 Administrator Staff Member

    37,228
    8,133
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,521
    Local Time:
    5:57 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    hmm didn't have problems on my servers

    but I see error related to wget's openssl
    Code (Text):
    openssl.o: In function `init_prng':
    /svr-setup/wget-1.19.5/src/openssl.c:90: undefined reference to `RAND_egd'
    openssl.o: In function `ssl_init':
    /svr-setup/wget-1.19.5/src/openssl.c:203: undefined reference to `SSL_library_init'
    /svr-setup/wget-1.19.5/src/openssl.c:204: undefined reference to `SSL_load_error_strings'
    /svr-setup/wget-1.19.5/src/openssl.c:207: undefined reference to `OPENSSL_add_all_algorithms_noconf'
    /svr-setup/wget-1.19.5/src/openssl.c:208: undefined reference to `SSL_library_init'
    /svr-setup/wget-1.19.5/src/openssl.c:221: undefined reference to `SSLv3_client_method'
    /svr-setup/wget-1.19.5/src/openssl.c:227: undefined reference to `SSLv23_client_method'
    openssl.o: In function `ssl_connect_wget':
    /svr-setup/wget-1.19.5/src/openssl.c:646: undefined reference to `SSL_state'
    openssl.o: In function `ssl_check_certificate':
    /svr-setup/wget-1.19.5/src/openssl.c:914: undefined reference to `sk_num'
    /svr-setup/wget-1.19.5/src/openssl.c:918: undefined reference to `sk_value'
    /svr-setup/wget-1.19.5/src/openssl.c:959: undefined reference to `sk_pop_free'
    /svr-setup/wget-1.19.5/src/openssl.c:959: undefined reference to `sk_pop_free'
    /svr-setup/wget-1.19.5/src/openssl.c:959: undefined reference to `sk_pop_free'
    collect2: error: ld returned 1 exit status
    make[2]: *** [wget] Error 1
    make[2]: Leaving directory `/svr-setup/wget-1.19.5/src'
    make[1]: *** [install-recursive] Error 1
    make[1]: Leaving directory `/svr-setup/wget-1.19.5'
    make: *** [install] Error 2
    

    seems 1.19.5 updated some openssl.c related stuff according to that file's commit history mirror/wget
    what's current output for
    Code (Text):
    ldd /usr/local/bin/wget
    

    and curl version
    Code (Text):
    curl -V
    

    do you have any yum updates needed to do like for gnutls and openssl and c-ares ?
    Code (Text):
    yum list updates
    yum list gnutls openssl c-ares
    

    also cpu model used
    Code (Text):
    lscpu
    


    what if you try to manually run wget update script
    Code (Text):
    cd /usr/local/src/centminmod/addons
    ./wget.sh install
    


    for now you can prevent the wget 1.19.5 update attempts by setting previous version in persistent config file at /etc/centminmod/custom_config.inc
    Code (Text):
    WGET_VERSION='1.19.4'
    
     
    • Useful Useful x 1
  4. Sunka

    Sunka Well-Known Member

    1,045
    286
    83
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +464
    Local Time:
    8:57 AM
    Nginx 1.15.0
    MariaDB 10.2.15
    Code (Text):
    # ldd /usr/local/bin/wget
            linux-vdso.so.1 =>  (0x00007ffd8156c000)
            libpcre.so.1 => /usr/local/lib/libpcre.so.1 (0x00007fe44bf08000)
            libssl.so.10 => /lib64/libssl.so.10 (0x00007fe44bc96000)
            libcrypto.so.10 => /lib64/libcrypto.so.10 (0x00007fe44b835000)
            libz.so.1 => /lib64/libz.so.1 (0x00007fe44b61f000)
            libc.so.6 => /lib64/libc.so.6 (0x00007fe44b252000)
            libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fe44b036000)
            libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007fe44ade9000)
            libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007fe44ab01000)
            libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007fe44a8fd000)
            libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007fe44a6ca000)
            libdl.so.2 => /lib64/libdl.so.2 (0x00007fe44a4c6000)
            /lib64/ld-linux-x86-64.so.2 (0x00007fe44c177000)
            libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007fe44a2b8000)
            libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007fe44a0b4000)
            libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fe449e9b000)
            libselinux.so.1 => /lib64/libselinux.so.1 (0x00007fe449c74000)


    Code (Text):
    # curl -V
    curl 7.62.0 (x86_64-redhat-linux-gnu) libcurl/7.62.0 NSS/3.36 zlib/1.2.7 libpsl/0.7.0 (+libicu/50.1.2) libssh2/1.8.0 nghttp2/1.31.1
    Release-Date: 2018-10-31
    Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
    Features: AsynchDNS IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz HTTP2 UnixSockets HTTPS-proxy PSL Metalink 


    Code (Text):
    # yum list updates
    Loaded plugins: fastestmirror, priorities, versionlock
    Loading mirror speeds from cached hostfile
    epel/x86_64/metalink                                                                    |  30 kB  00:00:00     
     * base: mirror.fra10.de.leaseweb.net
     * epel: ftp.plusline.net
     * extras: mirror.eu.oneandone.net
     * rpmforge: mirror.de.leaseweb.net
     * updates: mirror.eu.oneandone.net
    base                                                                                    | 3.6 kB  00:00:00     
    centos-sclo-rh                                                                          | 3.0 kB  00:00:00     
    centos-sclo-sclo                                                                        | 2.9 kB  00:00:00     
    elasticsearch-6.x                                                                       | 1.3 kB  00:00:00     
    epel                                                                                    | 3.2 kB  00:00:00     
    extras                                                                                  | 3.4 kB  00:00:00     
    mariadb                                                                                 | 2.9 kB  00:00:00     
    rpmforge                                                                                | 1.9 kB  00:00:00     
    updates                                                                                 | 3.4 kB  00:00:00     
    (1/2): epel/x86_64/primary                                                              | 3.6 MB  00:00:00     
    (2/2): epel/x86_64/updateinfo                                                           | 930 kB  00:00:00     
    epel                                                                                               12720/12720
    282 packages excluded due to repository priority protections


    Code (Text):
    # yum list gnutls openssl c-ares
    Loaded plugins: fastestmirror, priorities, versionlock
    Loading mirror speeds from cached hostfile
     * base: mirror.fra10.de.leaseweb.net
     * epel: ftp.plusline.net
     * extras: mirror.eu.oneandone.net
     * rpmforge: mirror.de.leaseweb.net
     * updates: mirror.eu.oneandone.net
    282 packages excluded due to repository priority protections
    Installed Packages
    c-ares.x86_64                                 1.15.0-1.0.cf.rhel7                                 @city-fan.org
    gnutls.x86_64                                 3.3.26-9.el7                                        @base       
    openssl.x86_64                                1:1.0.2k-12.el7                                     @base        


    Code (Text):
    # lscpu
    Architecture:          x86_64
    CPU op-mode(s):        32-bit, 64-bit
    Byte Order:            Little Endian
    CPU(s):                4
    On-line CPU(s) list:   0-3
    Thread(s) per core:    1
    Core(s) per socket:    1
    Socket(s):             4
    NUMA node(s):          1
    Vendor ID:             GenuineIntel
    CPU family:            6
    Model:                 79
    Model name:            Intel(R) Xeon(R) CPU E5-2687W v4 @ 3.00GHz
    Stepping:              1
    CPU MHz:               2999.994
    BogoMIPS:              5999.98
    Hypervisor vendor:     KVM
    Virtualization type:   full
    L1d cache:             32K
    L1i cache:             32K
    L2 cache:              4096K
    L3 cache:              16384K
    NUMA node0 CPU(s):     0-3
    Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx smap xsaveopt arat


    Same thing
    Code (Text):
    wget 1.19.5 failed to update, still using system wget
     
  5. eva2000

    eva2000 Administrator Staff Member

    37,228
    8,133
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,521
    Local Time:
    5:57 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    what's output for
    Code (Text):
    updatedb
    locate libssl.so
    
     
  6. Sunka

    Sunka Well-Known Member

    1,045
    286
    83
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +464
    Local Time:
    8:57 AM
    Nginx 1.15.0
    MariaDB 10.2.15
    Code (Text):
    [[email protected] ~]# updatedb
    [[email protected] ~]# locate libssl.so
    /opt/libressl/lib/libssl.so
    /opt/libressl/lib/libssl.so.39
    /opt/libressl/lib/libssl.so.39.0.0
    /opt/libressl/lib/libssl.so.43
    /opt/libressl/lib/libssl.so.43.0.2
    /opt/libressl/lib/libssl.so.44
    /opt/libressl/lib/libssl.so.44.0.1
    /usr/lib64/.libssl.so.1.0.2k.hmac
    /usr/lib64/.libssl.so.10.hmac
    /usr/lib64/libssl.so
    /usr/lib64/libssl.so.1.0.2k
    /usr/lib64/libssl.so.10
     
  7. eva2000

    eva2000 Administrator Staff Member

    37,228
    8,133
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,521
    Local Time:
    5:57 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    very old nginx libressl instances at /opt/libressl which shouldn't really cause any problems but since you nginx version uses openssl 1.1.1a now instead of libressl, probably can be removed too.

    try removing them and see what happens
    Code (Text):
    cd /opt
    rm -rf /opt/libressl
    ldconfig
    cd /usr/local/src/centminmod/addons 
    ./wget.sh install
    
     
  8. Sunka

    Sunka Well-Known Member

    1,045
    286
    83
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +464
    Local Time:
    8:57 AM
    Nginx 1.15.0
    MariaDB 10.2.15
    Again error :(
    link
     
  9. eva2000

    eva2000 Administrator Staff Member

    37,228
    8,133
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,521
    Local Time:
    5:57 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    well until i can figure out the problem, you can prevent the wget 1.19.5 update attempts by setting previous version in persistent config file at /etc/centminmod/custom_config.inc

    WGET_VERSION='1.19.4'
     
    • Agree Agree x 1
..