Join the community today
Become a Member

Upgrade PHP-FPM Centmin Mod .09 beta branch Testing

Discussion in 'Beta release code' started by eva2000, Aug 12, 2015.

Tags:
  1. eva2000

    eva2000 Administrator Staff Member

    42,052
    9,489
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,600
    Local Time:
    4:46 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    • Like Like x 2
    • Useful Useful x 1
  2. eva2000

    eva2000 Administrator Staff Member

    42,052
    9,489
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,600
    Local Time:
    4:46 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    • Like Like x 1
    • Informative Informative x 1
  3. eva2000

    eva2000 Administrator Staff Member

    42,052
    9,489
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,600
    Local Time:
    4:46 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x

    Nginx 1.9.11 Dynamic Module Update & Compatibility



    Updated both Centmin Mod 123.08stable and 123.09beta01 builds to default to Nginx 1.9.11 which has added Dynamic Nginx Module support. Only Centmin Mod 123.09beta has been updated with Dynamic Nginx Module routines to support Nginx 1.9.11. Centmin Mod 123.08stable hasn't been updated yet.
    • Specifically, for Centmin Mod 123.08stable, ngx_pagespeed 1.9 branch and nginx lua modules have been temporarily disabled due to compatibility issues with Nginx 1.9.11's dynamic module features. You can read up on the issues discussed throughout the thread at Nginx - Nginx 1.9.11 next version with dynamic module support ! | Centmin Mod Community
    • Centmin Mod 123.09beta01's ngx_pagespeed 1.9 build is also broken now, but ngx_pagespeed folks have a fix in ngx_pagespeed 1.10 branch via a patch so 123.09beta01 will get patched as it supports ngx_pagespeed 1.10's higher GCC requirements via a workaround.
    • Unfortunately Centmin Mod 123.08stable does support the ngx_pagespeed 1.10 workarounds so is reason why it has been temporarily disabled for now.
    To update your Centmin Mod builds follow instructions at centminmod.com/upgrade.html and respective version threads below:
     
  4. eva2000

    eva2000 Administrator Staff Member

    42,052
    9,489
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,600
    Local Time:
    4:46 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    If everyone and anyone can start or retest the latest Centmin Mod 123.09beta01 code on CentOS 6.7 and/or CentOS 7.2 as soon as possible it would be much appreciated. In light of nginx 1.9.11 compatibility issues with some nginx modules, it's clear the gap between 123.09beta01 and 123.08stable features is getting wider. Centmin Mod 123.09beta01 improved code is just better equipped to handle work arounds for nginx 1.9.11 and nginx module incompatibility than 123.08stable.

    So with enough 123.09beta01 beta testing and feedback by everyone, I am thinking of pushing an earlier 123.09stable release rather than keep backporting fixes into 123.08stable.

    So test away guys :D ;)
     
    • Like Like x 3
  5. Sunka

    Sunka Well-Known Member

    1,104
    300
    83
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +484
    Local Time:
    7:46 AM
    Nginx 1.15.8
    MariaDB 10.3.12
    Updated just now. Is it OK?
    Any log file you need or something else?
     
  6. eva2000

    eva2000 Administrator Staff Member

    42,052
    9,489
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,600
    Local Time:
    4:46 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    edited your post to use QUOTE tags for nginx -V output, easier to read

    did you disable ngx_pagespeed ? need to re-enable it to and recompile nginx
     
  7. ethanpil

    ethanpil Active Member

    170
    53
    28
    Nov 8, 2015
    Ratings:
    +99
    Local Time:
    4:46 PM
    Linode 96GB 96 GB 20 Cores @ Newark NJ
    Fresh Centos 7 Linode default image

    Note: Noticed that for some reason during install systemctl start mysql.service took 90 seconds or so...

    Nginx didnt start after install.
    Code:
    -- Unit nginx.service has begun starting up.
    Feb 10 22:32:05 localhost.localdomain nginx[5635]: Starting nginx: nginx: [emerg] unknown directive "geoip_country" in /usr/local/nginx/conf/geoip.conf:2
    
    I commented out geoip_country and geoip_city and tried a restart:

    Code:
    Feb 10 22:34:57 localhost.localdomain nginx[5813]: Starting nginx: nginx: [emerg] unknown "geoip_country_code" variable
    
    Code:
    ---------------------------------------------------------------------------
    Total Curl Installer YUM Time: 129.2779 seconds
    Total YUM Time: 207.640396253 seconds
    Total YUM + Source Download Time: 236.2356
    Total Nginx First Time Install Time: 120.4970
    Total PHP First Time Install Time: 291.1933
    Download Zip From Github Time: 1.9661
    Total Time Other eg. source compiles: 390.9626
    Total Centmin Mod Install Time: 1038.8885
    ---------------------------------------------------------------------------
    Total Install Time (curl yum + cm install + zip download): 1170.1325 seconds
    ---------------------------------------------------------------------------
    
     
    Last edited: Feb 11, 2016
    • Informative Informative x 1
  8. Sunka

    Sunka Well-Known Member

    1,104
    300
    83
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +484
    Local Time:
    7:46 AM
    Nginx 1.15.8
    MariaDB 10.3.12
    Yep, I do not use ngx_pagespeed
    Code:
    [[email protected] ~]# cat /etc/centminmod/custom_config.inc
    NGINX_LIBBROTLI=y # Brotly exension
    NGINX_PAGESPEED=n # nginx page speed
    PHP_MEMCACHE=n # memcache PHP extension
    PHP_MEMCACHED=n # memcached PHP extension
     
  9. eva2000

    eva2000 Administrator Staff Member

    42,052
    9,489
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,600
    Local Time:
    4:46 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    strange if you have the initial install log in /root/centminlogs for that install run posted to pastebin.com or gist.github.com that would help

    cheers guess need to test different combinations too
     
    • Optimistic Optimistic x 1
  10. ethanpil

    ethanpil Active Member

    170
    53
    28
    Nov 8, 2015
    Ratings:
    +99
    Local Time:
    4:46 PM
  11. eva2000

    eva2000 Administrator Staff Member

    42,052
    9,489
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,600
    Local Time:
    4:46 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
  12. ethanpil

    ethanpil Active Member

    170
    53
    28
    Nov 8, 2015
    Ratings:
    +99
    Local Time:
    4:46 PM
  13. Matt

    Matt Moderator Staff Member

    848
    372
    63
    May 25, 2014
    Rotherham, UK
    Ratings:
    +579
    Local Time:
    6:46 AM
    1.5.15
    MariaDB 10.2
    Works for me now
    Code:
    [[email protected] centminmod]# nginx -V
    nginx version: nginx/1.9.11
    built by clang 3.4.2 (tags/RELEASE_34/dot2-final)
    built with LibreSSL 2.2.6
    TLS SNI support enabled
    configure arguments: --with-ld-opt='-lrt -ljemalloc -Wl,-z,relro -Wl,-rpath,/usr/local/lib' --with-cc-opt='-m64 -mtune=native -mfpmath=sse -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wno-sign-compare -Wno-string-plus-int -Wno-deprecated-declarations -Wno-unused-parameter -Wno-unused-const-variable -Wno-conditional-uninitialized -Wno-mismatched-tags -Wno-c++11-extensions -Wno-sometimes-uninitialized -Wno-parentheses-equality -Wno-tautological-compare -Wno-self-assign -Wno-deprecated-register -Wno-deprecated -Wno-invalid-source-encoding -Wno-pointer-sign -Wno-parentheses -Wno-enum-conversion -Wno-c++11-compat-deprecated-writable-strings' --sbin-path=/usr/local/sbin/nginx --conf-path=/usr/local/nginx/conf/nginx.conf --with-http_stub_status_module --with-http_secure_link_module --with-openssl-opt=enable-tlsext --add-module=../nginx-module-vts --with-libatomic --with-threads --with-stream=dynamic --with-stream_ssl_module --with-http_gzip_static_module --add-module=../ngx_pagespeed-release-1.10.33.4-beta --with-http_sub_module --with-http_addition_module --with-http_image_filter_module=dynamic --with-http_geoip_module=dynamic --with-http_realip_module --add-module=../nginx-accesskey-2.0.3 --add-module=../nginx-http-concat-master --add-module=../ngx-fancyindex-ngx-fancyindex --add-module=../ngx_cache_purge-2.3 --add-module=../ngx_devel_kit-0.2.19 --add-module=../set-misc-nginx-module-0.29 --add-module=../echo-nginx-module-0.58 --add-module=../redis2-nginx-module-0.12 --add-module=../ngx_http_redis-0.3.7 --add-module=../lua-nginx-module-0.9.20 --add-module=../lua-upstream-nginx-module-0.04 --add-module=../lua-upstream-cache-nginx-module-0.1.1 --add-module=../nginx_upstream_check_module-0.3.0 --add-module=../openresty-memc-nginx-module-4f6f78f --add-module=../openresty-srcache-nginx-module-ffa9ab7 --add-module=../headers-more-nginx-module-0.29 --with-pcre=../pcre-8.38 --with-pcre-jit --with-http_ssl_module --with-http_v2_module --with-openssl=../libressl-2.2.6
    
     
  14. eva2000

    eva2000 Administrator Staff Member

    42,052
    9,489
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,600
    Local Time:
    4:46 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    K got it now :)

    thanks Matt for the confirmation :)
     
  15. eva2000

    eva2000 Administrator Staff Member

    42,052
    9,489
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,600
    Local Time:
    4:46 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    • Like Like x 1
    • Informative Informative x 1
  16. eva2000

    eva2000 Administrator Staff Member

    42,052
    9,489
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,600
    Local Time:
    4:46 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x

    Add tools/email.sh setup



    New tools/email.sh script added to setup primary and secondary system admin email registered files. They are currently not used for anything but planned for future features which require email notifications etc. The script is triggered on non-initial install centmin.sh runs and only runs if primary and secondary registered email files don't exist (not setup yet).

    example
    Code:
    ---------------------------------------------
    Setup Server Administration Email
    ---------------------------------------------
    Hit Enter To Skip...
    ---------------------------------------------
    enter primary email: [email protected]
    enter secondary email: [email protected]
    ---------------------------------------------
    
    Primary: [email protected]
    setup at /etc/centminmod/email-primary.ini
    
      [email protected]
    
    Secondary: [email protected]
    setup at /etc/centminmod/email-secondary.ini
    
      [email protected]
    
     
    • Like Like x 1
    • Winner Winner x 1
  17. eva2000

    eva2000 Administrator Staff Member

    42,052
    9,489
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,600
    Local Time:
    4:46 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    latest local virtualbox 123.09beta01 fresh installs seems to have a minor bug some where
    Code:
    ---------------------------------------------------------------------------
    Total Curl Installer YUM Time: 129.6763 seconds
    Total YUM Time: 148.098499979 seconds
    Total YUM + Source Download Time: 202.0294
    Total Nginx First Time Install Time: 293.3682
    Total PHP First Time Install Time: 482.4975
    Download Zip From Github Time: 7.9479
    Total Time Other eg. source compiles: 527.7607
    Total Centmin Mod Install Time: 1505.6558
    ---------------------------------------------------------------------------
    Total Install Time (curl yum + cm install + zip download): 1643.2800 seconds
    ---------------------------------------------------------------------------
    bash: line 214: syntax error near unexpected token `fi'
    bash: line 214: `fi'
    Code:
    *************************************************
    * Post-Install Check List....
    *************************************************
    
    --------------------------------------------------------
    Check ccache Version:
    --------------------------------------------------------
    ccache version 3.2.4
    
    Copyright (C) 2002-2007 Andrew Tridgell
    Copyright (C) 2009-2015 Joel Rosdahl
    
    This program is free software; you can redistribute it and/or modify it under
    the terms of the GNU General Public License as published by the Free Software
    Foundation; either version 3 of the License, or (at your option) any later
    version.
    
    --------------------------------------------------------
    Check Nginx Version:
    --------------------------------------------------------
    nginx version: nginx/1.9.11
    built by clang 3.4.2 (tags/RELEASE_34/dot2-final)
    built with LibreSSL 2.2.6
    TLS SNI support enabled
    configure arguments: --with-ld-opt='-lrt -ljemalloc -Wl,-z,relro -Wl,-rpath,/usr/local/lib' --with-cc-opt='-m64 -mtune=native -mfpmath=sse -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wno-sign-compare -Wno-string-plus-int -Wno-deprecated-declarations -Wno-unused-parameter -Wno-unused-const-variable -Wno-conditional-uninitialized -Wno-mismatched-tags -Wno-c++11-extensions -Wno-sometimes-uninitialized -Wno-parentheses-equality -Wno-tautological-compare -Wno-self-assign -Wno-deprecated-register -Wno-deprecated -Wno-invalid-source-encoding -Wno-pointer-sign -Wno-parentheses -Wno-enum-conversion -Wno-c++11-compat-deprecated-writable-strings' --sbin-path=/usr/local/sbin/nginx --conf-path=/usr/local/nginx/conf/nginx.conf --with-http_stub_status_module --with-http_secure_link_module --with-openssl-opt=enable-tlsext --add-module=../nginx-module-vts --with-libatomic --with-threads --with-stream=dynamic --with-stream_ssl_module --with-http_gzip_static_module --add-module=../ngx_pagespeed-release-1.10.33.4-beta --with-http_sub_module --with-http_addition_module --with-http_image_filter_module=dynamic --with-http_geoip_module=dynamic --with-http_realip_module --add-module=../nginx-accesskey-2.0.3 --add-module=../nginx-http-concat-master --add-module=../ngx-fancyindex-ngx-fancyindex --add-module=../ngx_cache_purge-2.3 --add-module=../ngx_devel_kit-0.2.19 --add-module=../set-misc-nginx-module-0.29 --add-module=../echo-nginx-module-0.58 --add-module=../redis2-nginx-module-0.12 --add-module=../ngx_http_redis-0.3.7 --add-module=../lua-nginx-module-0.9.20 --add-module=../lua-upstream-nginx-module-0.04 --add-module=../lua-upstream-cache-nginx-module-0.1.1 --add-module=../nginx_upstream_check_module-0.3.0 --add-module=../openresty-memc-nginx-module-4f6f78f --add-module=../openresty-srcache-nginx-module-ffa9ab7 --add-module=../headers-more-nginx-module-0.29 --with-pcre=../pcre-8.38 --with-pcre-jit --with-http_ssl_module --with-http_v2_module --with-openssl=../libressl-2.2.6
    
    --------------------------------------------------------
    Check PHP-FPM Version:
    --------------------------------------------------------
    PHP 5.5.32 (cli) (built: Feb 11 2016 11:47:40)
    Copyright (c) 1997-2015 The PHP Group
    Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies
        with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
    
    --------------------------------------------------------
    Check MariaDB installed RPM Versions:
    --------------------------------------------------------
    MariaDB-common-10.0.23-1.el7.centos.x86_64
    MariaDB-shared-10.0.23-1.el7.centos.x86_64
    MariaDB-client-10.0.23-1.el7.centos.x86_64
    MariaDB-compat-10.0.23-1.el7.centos.x86_64
    MariaDB-devel-10.0.23-1.el7.centos.x86_64
    MariaDB-server-10.0.23-1.el7.centos.x86_64
    
    --------------------------------------------------------
    Check Memcached Server Version:
    --------------------------------------------------------
    memcached 1.4.25
    
    --------------------------------------------------------
    Check CSF Firewall Version:
    --------------------------------------------------------
    csf: v8.12 (generic)
    
    --------------------------------------------------------
    Check Siege Benchmark Version:
    --------------------------------------------------------
    SIEGE 3.1.3
    
    Copyright (C) 2015 by Jeffrey Fulmer, et al.
    This is free software; see the source for copying conditions.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS
    FOR A PARTICULAR PURPOSE.
    
    
    --------------------------------------------------------
    Check ngx_pagespeed Control Script:
    http://centminmod.com/nginx_ngx_pagespeed.html
    --------------------------------------------------------
    pscontrol admin
    pscontrol handler
    pscontrol edit
    pscontrol on
    pscontrol off
    pscontrol statson
    pscontrol statsoff
    
    --------------------------------------------------------
    Check mysqlreport version:
    --------------------------------------------------------
    mysqlreport v3.5-maria11 Jul 4 2013
    
    --------------------------------------------------------
    Check NSD Bind Version:
    --------------------------------------------------------
    NSD version 3.2.18
    Written by NLnet Labs.
    
    Copyright (C) 2001-2011 NLnet Labs.  This is free software.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS
    FOR A PARTICULAR PURPOSE.
    
    --------------------------------------------------------
    Check pure-ftpd Version:
    --------------------------------------------------------
    pure-ftpd v1.0.42
    
    --------------------------------------------------------
    Check YUM Repo List
    --------------------------------------------------------
    Loaded plugins: fastestmirror, priorities
    Loading mirror speeds from cached hostfile
    * base: centos.mirror.crucial.com.au
    * epel: fedora.uberglobalmirror.com
    * extras: centos.mirror.crucial.com.au
    * rpmforge: mirror.ventraip.net.au
    * updates: centos.mirror.crucial.com.au
    230 packages excluded due to repository priority protections
    repo id            repo name                                         status
    base/7/x86_64      CentOS-7 - Base                                   6,977+2,030
    epel/x86_64        Extra Packages for Enterprise Linux 7 - x86_64      8,575+834
    extras/7/x86_64    CentOS-7 - Extras                                       189+2
    mariadb            MariaDB                                                  10+4
    rpmforge           RHEL 7 - RPMforge.net - dag                            156+89
    updates/7/x86_64   CentOS-7 - Updates                                     467+85
    repolist: 16,374
    
    --------------------------------------------------------
    mytimes check:
    /usr/bin/mytimes
    --------------------------------------------------------
    Thu Feb 11 11:55:07 UTC 2016    [UTC]
    Thu Feb 11 21:55:07 AEST 2016   [Australia/Brisbane]
    Thu Feb 11 03:55:07 PST 2016    [America/Los_Angeles]
    Thu Feb 11 05:55:07 CST 2016    [America/Chicago]
    Thu Feb 11 06:55:07 EST 2016    [America/New_York]
    Thu Feb 11 11:55:07 GMT 2016    [Europe/London]
    --------------------------------------------------------
     
  18. Matt

    Matt Moderator Staff Member

    848
    372
    63
    May 25, 2014
    Rotherham, UK
    Ratings:
    +579
    Local Time:
    6:46 AM
    1.5.15
    MariaDB 10.2
    Just tried updating nginx to 1.9.11

    Code:
            -o objs/addon/src/ngx_http_lua_util.o \
            ../lua-nginx-module-0.9.20/src/ngx_http_lua_util.c
    In file included from ../lua-nginx-module-0.9.20/src/ngx_http_lua_util.c:38:
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.h:34:5: error: unknown type name 'ngx_udp_connection_t'
        ngx_udp_connection_t             udp_connection;
        ^
    1 error generated.
    make[1]: *** [objs/addon/src/ngx_http_lua_util.o] Error 1
    make[1]: Leaving directory `/svr-setup/nginx-1.9.11'
    make: *** [install] Error 2
    
    real    0m0.463s
    user    0m0.360s
    sys     0m0.067s
    
    Thu Feb 11 16:14:40 PST 2016
    Success: Nginx was installed properly
    Using latest 09 beta from git.
     
    • Informative Informative x 1
  19. eva2000

    eva2000 Administrator Staff Member

    42,052
    9,489
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,600
    Local Time:
    4:46 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    same problems as @dorobo discussion here https://community.centminmod.com/posts/26312/ some new commits there should help

    still one outstanding one is pesky error at end of install, haven't figured out where that's coming from yet
    Code:
    ---------------------------------------------------------------------------
    Total Install Time (curl yum + cm install + zip download): 1643.2800 seconds
    ---------------------------------------------------------------------------
    bash: line 214: syntax error near unexpected token `fi'
    bash: line 214: `fi'
     
  20. eva2000

    eva2000 Administrator Staff Member

    42,052
    9,489
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,600
    Local Time:
    4:46 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    looks like ngx_pagespeed 1.10.33.4 patch doesn't work now on 123.09beta01 and lua nginx 0.9.20 broken but seems lua nginx 0.10.1rc0 was released with nginx 1.9.11 support but lua nginx 0.10 will trigger switch from libressl to openssl 1.0.2f for nginx as lua nginx 0.10 has features only available in openssl but not libressl

    this is latest 123.09beta01 with ngx_pagespeed disabled for now and lua nginx 0.10.1rc0 set via persistent config file at /etc/centminmod/custom_config.inc with:
    Code:
    ORESTY_LUANGINX='y'
    NGINX_PAGESPEED=n
    ORESTY_LUANGINXVER='0.10.1rc0'
    or for now you can disable ngx_pagespeed and nginx lua via persistent config file at /etc/centminmod/custom_config.inc and then recompile nginx 1.9.11 via centmin.sh menu option 4
    Code:
    ORESTY_LUANGINX='n''
    NGINX_PAGESPEED=n