Welcome to Centmin Mod Community
Become a Member

Install Nginx keeps failing, centos6/7

Discussion in 'Install & Upgrades or Pre-Install Questions' started by jcat, Feb 11, 2016.

Tags:
  1. jcat

    jcat Member

    153
    22
    18
    Jun 21, 2015
    New Jersey
    Ratings:
    +64
    Local Time:
    7:56 AM
    I feel like someone would of already reported this but on both centos 6 and 7, Nginx fails to install initially, even when using menu 4 it continues to fail:

    Code:
                    ../lua-nginx-module-0.9.20/src/ngx_http_lua_phase.c
    ccache /usr/bin/clang -ferror-limit=0 -c -I/usr/local/include/luajit-2.1  -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Werror -g -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  -DNDK_SET_VAR -DNDK_UPSTREAM_LIST -DNDK_SET_VAR  -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../ngx_pagespeed-release-1.9.32.13-beta/psol/include -I ../ngx_pagespeed-release-1.9.32.13-beta/psol/include/third_party/chromium/src -I ../ngx_pagespeed-release-1.9.32.13-beta/psol/include/third_party/google-sparsehash/src -I ../ngx_pagespeed-release-1.9.32.13-beta/psol/include/third_party/google-sparsehash/gen/arch/linux/x64/include -I ../ngx_pagespeed-release-1.9.32.13-beta/psol/include/third_party/protobuf/src -I ../ngx_pagespeed-release-1.9.32.13-beta/psol/include/third_party/re2/src -I ../ngx_pagespeed-release-1.9.32.13-beta/psol/include/out/Release/obj/gen -I ../ngx_pagespeed-release-1.9.32.13-beta/psol/include/out/Release/obj/gen/protoc_out/instaweb -I ../ngx_pagespeed-release-1.9.32.13-beta/psol/include/third_party/apr/src/include -I ../ngx_pagespeed-release-1.9.32.13-beta/psol/include/third_party/aprutil/src/include -I ../ngx_pagespeed-release-1.9.32.13-beta/psol/include/third_party/apr/gen/arch/linux/x64/include -I ../ngx_pagespeed-release-1.9.32.13-beta/psol/include/third_party/aprutil/gen/arch/linux/x64/include -I ../ngx_devel_kit-0.2.19/objs -I objs/addon/ndk -I /usr/local/include/luajit-2.1 -I ../lua-nginx-module-0.9.20/src/api -I ../nginx_upstream_check_module-0.3.0 -I ../pcre-8.38 -I ../libressl-2.2.6/.openssl/include -I objs -I src/http -I src/http/modules -I src/http/v2 -I ../ngx_devel_kit-0.2.19/src -I src/mail -I src/stream \
                    -o objs/addon/src/ngx_http_lua_uthread.o \
                    ../lua-nginx-module-0.9.20/src/ngx_http_lua_uthread.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_resolver_connection_t'; did you mean 'ngx_peer_connection_t'?
        ngx_resolver_connection_t        udp_connection;
        ^~~~~~~~~~~~~~~~~~~~~~~~~
        ngx_peer_connection_t
    src/event/ngx_event_connect.h:22:39: note: 'ngx_peer_connection_t' declared here
    typedef struct ngx_peer_connection_s  ngx_peer_connection_t;
                                          ^
    1 error generated.
    make[1]: *** [objs/addon/src/ngx_http_lua_util.o] Error 1
    make[1]: *** Waiting for unfinished jobs....
    In file included from ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:13:
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.h:34:5: error: unknown type name 'ngx_resolver_connection_t'; did you mean 'ngx_peer_connection_t'?
        ngx_resolver_connection_t        udp_connection;
        ^~~~~~~~~~~~~~~~~~~~~~~~~
        ngx_peer_connection_t
    src/event/ngx_event_connect.h:22:39: note: 'ngx_peer_connection_t' declared here
    typedef struct ngx_peer_connection_s  ngx_peer_connection_t;
                                          ^
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:57:43: error: unknown type name 'ngx_resolver_connection_t'; did you mean 'ngx_peer_connection_t'?
    static ngx_int_t ngx_http_lua_udp_connect(ngx_resolver_connection_t *uc);
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
                                              ngx_peer_connection_t
    src/event/ngx_event_connect.h:22:39: note: 'ngx_peer_connection_t' declared here
    typedef struct ngx_peer_connection_s  ngx_peer_connection_t;
                                          ^
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:172:5: error: unknown type name 'ngx_resolver_connection_t'; did you mean 'ngx_peer_connection_t'?
        ngx_resolver_connection_t   *uc;
        ^~~~~~~~~~~~~~~~~~~~~~~~~
        ngx_peer_connection_t
    src/event/ngx_event_connect.h:22:39: note: 'ngx_peer_connection_t' declared here
    typedef struct ngx_peer_connection_s  ngx_peer_connection_t;
                                          ^
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:247:31: error: no member named 'udp' in 'struct ngx_peer_connection_s'
            if (u->udp_connection.udp) {
                ~~~~~~~~~~~~~~~~~ ^
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:281:13: error: assigning to 'ngx_log_t *' (aka 'struct ngx_log_s *') from incompatible type 'ngx_log_t' (aka 'struct ngx_log_s'); remove *
        uc->log = *r->connection->log;
                ^ ~~~~~~~~~~~~~~~~~~~
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:643:5: error: unknown type name 'ngx_resolver_connection_t'; did you mean 'ngx_peer_connection_t'?
        ngx_resolver_connection_t       *uc;
        ^~~~~~~~~~~~~~~~~~~~~~~~~
        ngx_peer_connection_t
    src/event/ngx_event_connect.h:22:39: note: 'ngx_peer_connection_t' declared here
    typedef struct ngx_peer_connection_s  ngx_peer_connection_t;
                                          ^
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:663:13: error: no member named 'server' in 'struct ngx_peer_connection_s'
            uc->server = ur->host;
            ~~  ^
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:700:13: error: no member named 'udp' in 'struct ngx_peer_connection_s'
        c = uc->udp;
            ~~  ^
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:807:40: error: no member named 'udp' in 'struct ngx_peer_connection_s'
        if (u == NULL || u->udp_connection.udp == NULL) {
                         ~~~~~~~~~~~~~~~~~ ^
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:813:52: error: no member named 'udp' in 'struct ngx_peer_connection_s'
                              u, u ? u->udp_connection.udp : NULL);
                                     ~~~~~~~~~~~~~~~~~ ^
    src/core/ngx_log.h:87:67: note: expanded from macro 'ngx_log_error'
        if ((log)->log_level >= level) ngx_log_error_core(level, log, __VA_ARGS__)
                                                                      ^
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:882:36: error: no member named 'udp' in 'struct ngx_peer_connection_s'
        n = ngx_send(u->udp_connection.udp, query.data, query.len);
                     ~~~~~~~~~~~~~~~~~ ^
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:938:40: error: no member named 'udp' in 'struct ngx_peer_connection_s'
        if (u == NULL || u->udp_connection.udp == NULL) {
                         ~~~~~~~~~~~~~~~~~ ^
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:944:60: error: no member named 'udp' in 'struct ngx_peer_connection_s'
                              "c:%p", u, u ? u->udp_connection.udp : NULL);
                                             ~~~~~~~~~~~~~~~~~ ^
    src/core/ngx_log.h:87:67: note: expanded from macro 'ngx_log_error'
        if ((log)->log_level >= level) ngx_log_error_core(level, log, __VA_ARGS__)
                                                                      ^
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:1095:27: error: no member named 'udp' in 'struct ngx_peer_connection_s'
        if (u->udp_connection.udp) {
            ~~~~~~~~~~~~~~~~~ ^
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:1099:48: error: no member named 'udp' in 'struct ngx_peer_connection_s'
            ngx_close_connection(u->udp_connection.udp);
                                 ~~~~~~~~~~~~~~~~~ ^
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:1100:27: error: no member named 'udp' in 'struct ngx_peer_connection_s'
            u->udp_connection.udp = NULL;
            ~~~~~~~~~~~~~~~~~ ^
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:1146:27: error: no member named 'udp' in 'struct ngx_peer_connection_s'
        c = u->udp_connection.udp;
            ~~~~~~~~~~~~~~~~~ ^
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:1152:40: error: no member named 'udp' in 'struct ngx_peer_connection_s'
        n = ngx_udp_recv(u->udp_connection.udp,
                         ~~~~~~~~~~~~~~~~~ ^
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:1199:27: error: no member named 'udp' in 'struct ngx_peer_connection_s'
        c = u->udp_connection.udp;
            ~~~~~~~~~~~~~~~~~ ^
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:1349:26: error: unknown type name 'ngx_resolver_connection_t'; did you mean 'ngx_peer_connection_t'?
    ngx_http_lua_udp_connect(ngx_resolver_connection_t *uc)
                             ^~~~~~~~~~~~~~~~~~~~~~~~~
                             ngx_peer_connection_t
    src/event/ngx_event_connect.h:22:39: note: 'ngx_peer_connection_t' declared here
    typedef struct ngx_peer_connection_s  ngx_peer_connection_t;
                                          ^
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:1362:9: error: member reference base type 'ngx_log_t *' (aka 'struct ngx_log_s *') is not a structure or union
            ngx_log_error(NGX_LOG_ALERT, &uc->log, ngx_socket_errno,
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/core/ngx_log.h:87:14: note: expanded from macro 'ngx_log_error'
        if ((log)->log_level >= level) ngx_log_error_core(level, log, __VA_ARGS__)
            ~~~~~^ ~~~~~~~~~
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:1362:38: error: incompatible pointer types passing 'ngx_log_t **' (aka 'struct ngx_log_s **') to parameter of type 'ngx_log_t *' (aka 'struct ngx_log_s *'); remove & [-Werror,-Wincompatible-pointer-types]
            ngx_log_error(NGX_LOG_ALERT, &uc->log, ngx_socket_errno,
                                         ^~~~~~~~
    src/core/ngx_log.h:87:62: note: expanded from macro 'ngx_log_error'
        if ((log)->log_level >= level) ngx_log_error_core(level, log, __VA_ARGS__)
                                                                 ^
    src/core/ngx_log.h:89:54: note: passing argument to parameter 'log' here
    void ngx_log_error_core(ngx_uint_t level, ngx_log_t *log, ngx_err_t err,
                                                         ^
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:1368:31: error: incompatible pointer types passing 'ngx_log_t **' (aka 'struct ngx_log_s **') to parameter of type 'ngx_log_t *' (aka 'struct ngx_log_s *'); remove & [-Werror,-Wincompatible-pointer-types]
        c = ngx_get_connection(s, &uc->log);
                                  ^~~~~~~~
    src/core/ngx_connection.h:223:65: note: passing argument to parameter 'log' here
    ngx_connection_t *ngx_get_connection(ngx_socket_t s, ngx_log_t *log);
                                                                    ^
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:1372:13: error: member reference base type 'ngx_log_t *' (aka 'struct ngx_log_s *') is not a structure or union
                ngx_log_error(NGX_LOG_ALERT, &uc->log, ngx_socket_errno,
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/core/ngx_log.h:87:14: note: expanded from macro 'ngx_log_error'
        if ((log)->log_level >= level) ngx_log_error_core(level, log, __VA_ARGS__)
            ~~~~~^ ~~~~~~~~~
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:1372:42: error: incompatible pointer types passing 'ngx_log_t **' (aka 'struct ngx_log_s **') to parameter of type 'ngx_log_t *' (aka 'struct ngx_log_s *'); remove & [-Werror,-Wincompatible-pointer-types]
                ngx_log_error(NGX_LOG_ALERT, &uc->log, ngx_socket_errno,
                                             ^~~~~~~~
    src/core/ngx_log.h:87:62: note: expanded from macro 'ngx_log_error'
        if ((log)->log_level >= level) ngx_log_error_core(level, log, __VA_ARGS__)
                                                                 ^
    src/core/ngx_log.h:89:54: note: passing argument to parameter 'log' here
    void ngx_log_error_core(ngx_uint_t level, ngx_log_t *log, ngx_err_t err,
                                                         ^
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:1380:9: error: member reference base type 'ngx_log_t *' (aka 'struct ngx_log_s *') is not a structure or union
            ngx_log_error(NGX_LOG_ALERT, &uc->log, ngx_socket_errno,
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/core/ngx_log.h:87:14: note: expanded from macro 'ngx_log_error'
        if ((log)->log_level >= level) ngx_log_error_core(level, log, __VA_ARGS__)
            ~~~~~^ ~~~~~~~~~
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:1380:38: error: incompatible pointer types passing 'ngx_log_t **' (aka 'struct ngx_log_s **') to parameter of type 'ngx_log_t *' (aka 'struct ngx_log_s *'); remove & [-Werror,-Wincompatible-pointer-types]
            ngx_log_error(NGX_LOG_ALERT, &uc->log, ngx_socket_errno,
                                         ^~~~~~~~
    src/core/ngx_log.h:87:62: note: expanded from macro 'ngx_log_error'
        if ((log)->log_level >= level) ngx_log_error_core(level, log, __VA_ARGS__)
                                                                 ^
    src/core/ngx_log.h:89:54: note: passing argument to parameter 'log' here
    void ngx_log_error_core(ngx_uint_t level, ngx_log_t *log, ngx_err_t err,
                                                         ^
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:1386:13: error: member reference base type 'ngx_log_t *' (aka 'struct ngx_log_s *') is not a structure or union
                ngx_log_error(NGX_LOG_ALERT, &uc->log, ngx_socket_errno,
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/core/ngx_log.h:87:14: note: expanded from macro 'ngx_log_error'
        if ((log)->log_level >= level) ngx_log_error_core(level, log, __VA_ARGS__)
            ~~~~~^ ~~~~~~~~~
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:1386:42: error: incompatible pointer types passing 'ngx_log_t **' (aka 'struct ngx_log_s **') to parameter of type 'ngx_log_t *' (aka 'struct ngx_log_s *'); remove & [-Werror,-Wincompatible-pointer-types]
                ngx_log_error(NGX_LOG_ALERT, &uc->log, ngx_socket_errno,
                                             ^~~~~~~~
    src/core/ngx_log.h:87:62: note: expanded from macro 'ngx_log_error'
        if ((log)->log_level >= level) ngx_log_error_core(level, log, __VA_ARGS__)
                                                                 ^
    src/core/ngx_log.h:89:54: note: passing argument to parameter 'log' here
    void ngx_log_error_core(ngx_uint_t level, ngx_log_t *log, ngx_err_t err,
                                                         ^
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:1396:14: error: incompatible pointer types assigning to 'ngx_log_t *' (aka 'struct ngx_log_s *') from 'ngx_log_t **' (aka 'struct ngx_log_s **'); remove & [-Werror,-Wincompatible-pointer-types]
        rev->log = &uc->log;
                 ^ ~~~~~~~~
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:1397:14: error: incompatible pointer types assigning to 'ngx_log_t *' (aka 'struct ngx_log_s *') from 'ngx_log_t **' (aka 'struct ngx_log_s **'); remove & [-Werror,-Wincompatible-pointer-types]
        wev->log = &uc->log;
                 ^ ~~~~~~~~
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:1399:9: error: no member named 'udp' in 'struct ngx_peer_connection_s'
        uc->udp = c;
        ~~  ^
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:1415:22: error: no member named 'udp' in 'struct ngx_peer_connection_s'
            if (bind(uc->udp->fd, &addr, sizeof(sa_family_t)) != 0) {
                     ~~  ^
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:1416:13: error: member reference base type 'ngx_log_t *' (aka 'struct ngx_log_s *') is not a structure or union
                ngx_log_error(NGX_LOG_CRIT, &uc->log, ngx_socket_errno,
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/core/ngx_log.h:87:14: note: expanded from macro 'ngx_log_error'
        if ((log)->log_level >= level) ngx_log_error_core(level, log, __VA_ARGS__)
            ~~~~~^ ~~~~~~~~~
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:1416:41: error: incompatible pointer types passing 'ngx_log_t **' (aka 'struct ngx_log_s **') to parameter of type 'ngx_log_t *' (aka 'struct ngx_log_s *'); remove & [-Werror,-Wincompatible-pointer-types]
                ngx_log_error(NGX_LOG_CRIT, &uc->log, ngx_socket_errno,
                                            ^~~~~~~~
    src/core/ngx_log.h:87:62: note: expanded from macro 'ngx_log_error'
        if ((log)->log_level >= level) ngx_log_error_core(level, log, __VA_ARGS__)
                                                                 ^
    src/core/ngx_log.h:89:54: note: passing argument to parameter 'log' here
    void ngx_log_error_core(ngx_uint_t level, ngx_log_t *log, ngx_err_t err,
                                                         ^
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:1432:9: error: member reference base type 'ngx_log_t *' (aka 'struct ngx_log_s *') is not a structure or union
            ngx_log_error(NGX_LOG_CRIT, &uc->log, ngx_socket_errno,
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/core/ngx_log.h:87:14: note: expanded from macro 'ngx_log_error'
        if ((log)->log_level >= level) ngx_log_error_core(level, log, __VA_ARGS__)
            ~~~~~^ ~~~~~~~~~
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:1432:37: error: incompatible pointer types passing 'ngx_log_t **' (aka 'struct ngx_log_s **') to parameter of type 'ngx_log_t *' (aka 'struct ngx_log_s *'); remove & [-Werror,-Wincompatible-pointer-types]
            ngx_log_error(NGX_LOG_CRIT, &uc->log, ngx_socket_errno,
                                        ^~~~~~~~
    src/core/ngx_log.h:87:62: note: expanded from macro 'ngx_log_error'
        if ((log)->log_level >= level) ngx_log_error_core(level, log, __VA_ARGS__)
                                                                 ^
    src/core/ngx_log.h:89:54: note: passing argument to parameter 'log' here
    void ngx_log_error_core(ngx_uint_t level, ngx_log_t *log, ngx_err_t err,
                                                         ^
    ../lua-nginx-module-0.9.20/src/ngx_http_lua_socket_udp.c:1486:40: error: no member named 'udp' in 'struct ngx_peer_connection_s'
        if (u == NULL || u->udp_connection.udp == NULL) {
                         ~~~~~~~~~~~~~~~~~ ^
    38 errors generated.
    make[1]: *** [objs/addon/src/ngx_http_lua_socket_udp.o] Error 1
    make[1]: Leaving directory `/svr-setup/nginx-1.9.10'
    make: *** [build] Error 2
    
    real    2m46.398s
    user    2m5.479s
    sys     0m22.699s
    
    strip nginx binary...
    ls: cannot access objs/nginx: No such file or directory
    strip: 'objs/nginx': No such file
    ls: cannot access objs/nginx: No such file or directory
    
    
    Wed Feb 10 11:44:13 UTC 2016
    Success: Nginx make ok
    
    inc/nginx_upgrade.inc: line 473: /usr/local/sbin/nginx: No such file or directory
    make -f objs/Makefile install
    make[1]: Entering directory `/svr-setup/nginx-1.9.10'
    ccache /usr/bin/clang -ferror-limit=0 -c -I/usr/local/include/luajit-2.1  -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Werror -g -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  -DNDK_SET_VAR -DNDK_UPSTREAM_LIST -DNDK_SET_VAR  -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../ngx_pagespeed-release-1.9.32.13-beta/psol/include -I ../ngx_pagespeed-release-1.9.32.13-beta/psol/include/third_party/chromium/src -I ../ngx_pagespeed-release-1.9.32.13-beta/psol/include/third_party/google-sparsehash/src -I ../ngx_pagespeed-release-1.9.32.13-beta/psol/include/third_party/google-sparsehash/gen/arch/linux/x64/include -I ../ngx_pagespeed-release-1.9.32.13-beta/psol/include/third_party/protobuf/src -I ../ngx_pagespeed-release-1.9.32.13-beta/psol/include/third_party/re2/src -I ../ngx_pagespeed-release-1.9.32.13-beta/psol/include/out/Release/obj/gen -I ../ngx_pagespeed-release-1.9.32.13-beta/psol/include/out/Release/obj/gen/protoc_out/instaweb -I ../ngx_pagespeed-release-1.9.32.13-beta/psol/include/third_party/apr/src/include -I ../ngx_pagespeed-release-1.9.32.13-beta/psol/include/third_party/aprutil/src/include -I ../ngx_pagespeed-release-1.9.32.13-beta/psol/include/third_party/apr/gen/arch/linux/x64/include -I ../ngx_pagespeed-release-1.9.32.13-beta/psol/include/third_party/aprutil/gen/arch/linux/x64/include -I ../ngx_devel_kit-0.2.19/objs -I objs/addon/ndk -I /usr/local/include/luajit-2.1 -I ../lua-nginx-module-0.9.20/src/api -I ../nginx_upstream_check_module-0.3.0 -I ../pcre-8.38 -I ../libressl-2.2.6/.openssl/include -I objs -I src/http -I src/http/modules -I src/http/v2 -I ../ngx_devel_kit-0.2.19/src -I src/mail -I src/stream \
                    -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_resolver_connection_t'; did you mean 'ngx_peer_connection_t'?
        ngx_resolver_connection_t        udp_connection;
        ^~~~~~~~~~~~~~~~~~~~~~~~~
        ngx_peer_connection_t
    src/event/ngx_event_connect.h:22:39: note: 'ngx_peer_connection_t' declared here
    typedef struct ngx_peer_connection_s  ngx_peer_connection_t;
                                          ^
    1 error generated.
    make[1]: *** [objs/addon/src/ngx_http_lua_util.o] Error 1
    make[1]: Leaving directory `/svr-setup/nginx-1.9.10'
    make: *** [install] Error 2
    
    real    0m0.365s
    user    0m0.313s
    sys     0m0.050s
    
    Wed Feb 10 11:44:17 UTC 2016
    Success: Nginx was installed properly
    
    /usr/local/nginx/conf/conf.d/demodomain.com.conf
    ---
    /usr/local/nginx/conf/conf.d/ssl.conf
    ---
    /usr/local/nginx/conf/conf.d/virtual.conf
    ---
    *************************************************
    * nginx updated
    *************************************************
    
    Total Nginx Upgrade Time: 439.973296025 seconds
    


     
  2. jcat

    jcat Member

    153
    22
    18
    Jun 21, 2015
    New Jersey
    Ratings:
    +64
    Local Time:
    7:56 AM
    Actually just noticed:

    Code:
    [root@v16 ~]# grep OOM /var/log/messages |grep 22127
    Feb  9 22:20:29 v16 kernel: [201526.715953] Out of memory in UB 22127: OOM killed process 552952 (cc1) score 0 vm:220664kB, rss:181388kB, swap:0kB
    Feb  9 23:11:55 v16 kernel: [204615.067513] Out of memory in UB 22127: OOM killed process 951792 (cc1) score 0 vm:320612kB, rss:198252kB, swap:0kB
    
    Should we be seeing OOM on centos6 with 1536M memory? I think the problem may be that there are 32 CPU cores available and cc1 is multi-threaded so its consuming to many processes? Just a guess as I wasn't actually watching it happen
     
  3. jcat

    jcat Member

    153
    22
    18
    Jun 21, 2015
    New Jersey
    Ratings:
    +64
    Local Time:
    7:56 AM
    Well those OOM messages must be unrelated as I just ran menu 4 and same issue happened again without any OOM messages.

    Any ideas?
     
  4. eva2000

    eva2000 Administrator Staff Member

    55,182
    12,251
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,829
    Local Time:
    9:56 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    the errors are with nginx 1.9.11 ?? there's compatibility issues with nginx 1.9.11 and a few nginx modules Centmin Mod uses, lua nginx, ngx_pagespeed and ngx_brotli see Nginx - Nginx 1.9.11 next version with dynamic module support ! | Centmin Mod Community

    for now stick with nginx 1.9.10 until they are sorted out

    FYI, working on a centmin mod newsletter for these kind of notices for forum and site visitors eventually to properly notify Centmin Mod users Any Sendy.co Users ? | Centmin Mod Community