Welcome to Centmin Mod Community
Become a Member

Nginx [nginx-announce] nginx-1.15.9

Discussion in 'Nginx and PHP-FPM news & discussions' started by eva2000, Feb 27, 2019.

  1. eva2000

    eva2000 Administrator Staff Member

    54,647
    12,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,799
    Local Time:
    7:49 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Changes with nginx 1.15.9 26 Feb 2019

    *) Feature: variables support in the "ssl_certificate" and
    "ssl_certificate_key" directives.

    *) Feature: the "poll" method is now available on Windows when using
    Windows Vista or newer.

    *) Bugfix: if the "select" method was used on Windows and an error
    occurred while establishing a backend connection, nginx waited for
    the connection establishment timeout to expire.

    *) Bugfix: the "proxy_upload_rate" and "proxy_download_rate" directives
    in the stream module worked incorrectly when proxying UDP datagrams.



    --
    Maxim Dounin
    http://nginx.org/
    _______________________________________________
    nginx-announce mailing list
    nginx-announce@nginx.org
    http://mailman.nginx.org/mailman/listinfo/nginx-announce

    Continue reading...
     
  2. eva2000

    eva2000 Administrator Staff Member

    54,647
    12,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,799
    Local Time:
    7:49 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
     
  3. Sunka

    Sunka Well-Known Member

    1,150
    325
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +525
    Local Time:
    10:49 PM
    Nginx 1.17.9
    MariaDB 10.3.22
    Seems OK

     
  4. pamamolf

    pamamolf Premium Member Premium Member

    4,084
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    11:49 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    Ok for Centos 7 but failed on Centos 6 :(

    I am using latest Centminmod just updated ....

    Code:
    ./configure: error: the invalid value in --with-ld-opt="-Wl,-E -L/usr/local/zlib-cf/lib -L/usr/local/lib -ljemalloc -Wl,-z,relro -Wl,-rpath,/usr/local/zlib-cf/lib:/usr/local/lib"

    Can't post the output of the log file here/pastebin as it seems to be very big so i just upload i here...
     

    Attached Files:

    Last edited: Feb 27, 2019
  5. pamamolf

    pamamolf Premium Member Premium Member

    4,084
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    11:49 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    Also:

    Code:
    Error: 2, Nginx make failed
    
    report errors on the forums at community.centminmod.com/forums/8/
    
                 total       used       free     shared    buffers     cached
    Mem:         15920      15390        530        534        466      11471
    -/+ buffers/cache:       3452      12468
    Swap:         8191          0       8191
    
    Filesystem     Type   Size  Used Avail Use% Mounted on
    /dev/sda2      ext4   908G   77G  785G   9% /
    tmpfs          tmpfs  7.8G     0  7.8G   0% /dev/shm
    /dev/sda1      ext4   772M  167M  565M  23% /boot
    tmpfs          tmpfs  7.8G   12K  7.8G   1% /tmp
    
    CPU: Intel(R) Xeon(R) CPU E3-1240 V2 @ 3.40GHz (8)
    
    version increment history
    123.09beta01.b097 #Tue Feb 12 02:25:12 EET 2019
    123.09beta01.b097 #Tue Feb 12 21:50:07 EET 2019
    123.09beta01.b101 #Mon Feb 25 23:08:04 EET 2019
    123.09beta01.b101 #Tue Feb 26 03:35:18 EET 2019
    123.09beta01.b104 #Wed Feb 27 02:48:46 EET 2019
    
    last Centmin Mod local git commit entry
    /usr/local/src/centminmod /svr-setup/nginx-1.15.9
    
    ea5edb8 George Liu Wed, 27 Feb 2019 09:07:12 +1000
    add USEAXEL='y' variable in 123.09beta01
    
    4       3       centmin.sh
    3       3       inc/downloads.inc
     2 files changed, 7 insertions(+), 6 deletions(-)
    /svr-setup/nginx-1.15.9
    
    log files saved at /root/centminlogs
    -rw-r--r-- 1 root root    0 Feb 27 02:51 patch_opensslpatches_270219-024843.log
    -rw-r--r-- 1 root root   44 Feb 27 02:52 centminmod_opensslinstalltime_270219-024843.log
    -rw-r--r-- 1 root root  158 Feb 27 02:52 patch_patchnginx_270219-024843.log
    -rw-r--r-- 1 root root 2.0K Feb 27 02:52 nginx-configure-270219-024843.log
    -rw-r--r-- 1 root root 637K Feb 27 02:52 centminmod_123.09beta01.b104_270219-024843_nginx_upgrade.log
     
  6. eva2000

    eva2000 Administrator Staff Member

    54,647
    12,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,799
    Local Time:
    7:49 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    re-run cmupdate to update 123.09beta01 code as a few fixes were made for centos 6 to fallback to devtoolset-7 GCC 7.3.1 as it seems devtoolset-8 GCC 8.2.1 only exists for centos 7's SCL yum repo.
     
  7. eva2000

    eva2000 Administrator Staff Member

    54,647
    12,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,799
    Local Time:
    7:49 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    hmm seems you already on latest code
     
  8. pamamolf

    pamamolf Premium Member Premium Member

    4,084
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    11:49 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    Yes i always update Centminmod before i run upgrade tasks...
     
  9. eva2000

    eva2000 Administrator Staff Member

    54,647
    12,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,799
    Local Time:
    7:49 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    openssl 1.1.1b download failed so breaks nginx compiles
    Code (Text):
    1
    [1;32;40mError: openssl-1.1.1b.tar.gz download failed.
    (B[mPING e3102.dscx.akamaiedge.net (23.35.117.14) 56(84) bytes of data.
    64 bytes from a23-35-117-14.deploy.static.akamaitechnologies.com (23.35.117.14): icmp_seq=1 ttl=60 time=0.769 ms
    64 bytes from a23-35-117-14.deploy.static.akamaitechnologies.com (23.35.117.14): icmp_seq=2 ttl=60 time=0.766 ms
    64 bytes from a23-35-117-14.deploy.static.akamaitechnologies.com (23.35.117.14): icmp_seq=3 ttl=60 time=0.783 ms
    64 bytes from a23-35-117-14.deploy.static.akamaitechnologies.com (23.35.117.14): icmp_seq=4 ttl=60 time=0.772 ms
    
    --- e3102.dscx.akamaiedge.net ping statistics ---
    4 packets transmitted, 4 received, 0% packet loss, time 3001ms
    rtt min/avg/max/mdev = 0.766/0.772/0.783/0.028 ms
    
    ; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.68.rc1.el6_10.1 <<>> www.openssl.org
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51933
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;www.openssl.org.        IN    A
    
    ;; ANSWER SECTION:
    www.openssl.org.    250    IN    CNAME    www-ds.openssl.org.edgekey.net.
    www-ds.openssl.org.edgekey.net.    10629 IN CNAME    e3102.dscx.akamaiedge.net.
    e3102.dscx.akamaiedge.net. 15    IN    A    23.35.117.14
    
    ;; Query time: 218 msec
    ;; SERVER: 62.210.16.6#53(62.210.16.6)
    ;; WHEN: Wed Feb 27 02:51:17 2019
    ;; MSG SIZE  rcvd: 129
    
    
    [1;33;40m----------------------------------------------------------------------------------
    (B[mcheck Centmin Mod log for details at /root/centminlogs/
    Aborting script...
    [1;33;40m----------------------------------------------------------------------------------
    (B[m[1;33;40mopenssl-1.1.1b.tar.gz valid file.
    
     
  10. eva2000

    eva2000 Administrator Staff Member

    54,647
    12,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,799
    Local Time:
    7:49 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    seems actually related to this error, but this i know i fixed in latest 123.09beta01 updates for centos 6
    Code (Text):
    inc/nginx_configure.inc: line 2667: /opt/rh/devtoolset-8/enable: No such file or directory
    /opt/rh/devtoolset-6/root/usr/bin/gcc
    /opt/rh/devtoolset-6/root/usr/bin/g++
    
     
  11. pamamolf

    pamamolf Premium Member Premium Member

    4,084
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    11:49 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    Don't know but i have the same issue on both of my Centos 6 servers :(

    Maybe the issue is that i was run a few days ago or yesterday don't remember a cmupdate and then centminmod before you do that revert to your code about Centos 6 and maybe that install something or did something that cause that issue... ?
     
  12. eva2000

    eva2000 Administrator Staff Member

    54,647
    12,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,799
    Local Time:
    7:49 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    what do you have in your persistent config file /etc/centminmod/custom_config.inc
     
  13. pamamolf

    pamamolf Premium Member Premium Member

    4,084
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    11:49 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    Code:
    NSD_INSTALL='n'
    NGINX_SUB='n'
    NGINX_ADDITION='n'
    NGINX_IMAGEFILTER='n'
    NGINX_HTTPCONCAT='n'
    NGINX_PAGESPEED='n'
    NGINX_DYNAMICTLS='y'
    CLOUDFLARE_ZLIB='y'
    CLOUDFLARE_ZLIBPHP='y'
    PHP_TUNING='n'
    PHP_OVERWRITECONF='n'
    AUTOTUNE_CLIENTMAXBODY='n'
    DISABLE_IPVSIX='y'
     
  14. eva2000

    eva2000 Administrator Staff Member

    54,647
    12,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,799
    Local Time:
    7:49 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    none of those would cause problems .. i have updated 123.09beta01 with additional checks so re-run cmupdate and try again
     
  15. pamamolf

    pamamolf Premium Member Premium Member

    4,084
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    11:49 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    It works now !

    Code:
    nginx -V
    nginx version: nginx/1.15.9 (270219-034842)
    built by gcc 6.3.1 20170216 (Red Hat 6.3.1-3) (GCC)
    built with OpenSSL 1.1.1b  26 Feb 2019
     
  16. eva2000

    eva2000 Administrator Staff Member

    54,647
    12,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,799
    Local Time:
    7:49 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    hmmm, 123.09beta01 update for centos 6 nginx should now use devtoolset-7 gcc 7.3.1 and not devtoolset-6 gcc 6.3.1
     
  17. pamamolf

    pamamolf Premium Member Premium Member

    4,084
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    11:49 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    Here is the new log:
     

    Attached Files:

  18. eva2000

    eva2000 Administrator Staff Member

    54,647
    12,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,799
    Local Time:
    7:49 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    updated 123.09beta01 with more fixes for centos 6 nginx builds - should see nginx built using gcc 7.3.1 on centos 6 now and gcc 8.2.1 on centos 7
     
  19. pamamolf

    pamamolf Premium Member Premium Member

    4,084
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    11:49 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    All good now but only for the current server...

    Code:
    nginx -V
    nginx version: nginx/1.15.9 (270219-051250)
    built by gcc 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC)
    For my second Centos 6 server with updated Centminmod just now it is not ok:

    Code:
    nginx -V
    nginx version: nginx/1.15.9 (270219-051259)
    built by gcc 6.3.1 20170216 (Red Hat 6.3.1-3) (GCC)
    built with OpenSSL 1.1.1b  26 Feb 2019
    I am attaching the log file for the second Centos 6 server...
     

    Attached Files:

    Last edited: Feb 27, 2019
  20. eva2000

    eva2000 Administrator Staff Member

    54,647
    12,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,799
    Local Time:
    7:49 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    log has
    Code (Text):
    [1;32;40m* CLOUDFLARE_ZLIB='y' detected but cpu SSE4.2 or AES-NI support not available
    (B[m[1;32;40m* Fallback to standard zlib support in Nginx due to SSE4.2 not supported
    (B[m
    [1;32;40m* nginx updated
    

    higher GCC version is only used for cloudflare zlib enabled Nginx. But because your cpu doesn't support SSE4.2 and/or has AES-NI not supported, cloudflare zlib is disabled and fallback to standard zlib. Will see if there's further updates for this.