Learn about Centmin Mod LEMP Stack today
Become a Member

Issue with latest stable, nginx install failing.

Discussion in 'Bug Reports' started by jcat, Oct 11, 2015.

  1. jcat

    jcat Member

    153
    22
    18
    Jun 21, 2015
    New Jersey
    Ratings:
    +64
    Local Time:
    1:44 AM
    I've just installed a fresh install of centmin, I didn't notice anything wrong just after the install completed, first thing I did was upgraded PHP to 5.6, everything went fine. Added 2 WP vhosts using menu 22, then made a small change to one of the vhost, when to restart ngx/php and saw this:

    [root@server svr-setup]# nprestart
    /etc/init.d/nginx: line 75: /usr/local/sbin/nginx: No such file or directory

    Tried to reinstall nginx and got:

    + ngx_http_vhost_traffic_status_module was configured
    adding module in ../headers-more-nginx-module-0.261
    + ngx_http_headers_more_filter_module was configured
    adding module in ../ngx_pagespeed-release-1.9.32.10-beta
    ./configure: error: no ../ngx_pagespeed-release-1.9.32.10-beta/config was found
    make: *** No rule to make target `build', needed by `default'. Stop.

    I looked for ngx_pagespeed-release-1.9.32.10-beta but it exists no where, but I found:

    [root@server svr-setup]# find . -type d -name ngx_pagespeed*
    ./ngx_pagespeed-1.9.32.10-beta


    so:

    [root@server svr-setup]# mv ngx_pagespeed-1.9.32.10-beta ngx_pagespeed-release-1.9.32.10-beta

    but even still, trying to reinstall nginx:

    + ngx_http_lua_module was configured
    adding module in ../lua-upstream-nginx-module-0.03
    + ngx_http_lua_upstream_module was configured
    adding module in ../lua-upstream-cache-nginx-module-0.1.1
    + ngx_http_lua_cache_module was configured
    adding module in ../nginx_upstream_check_module-0.3.0
    checking for ngx_http_upstream_check_module ... found
    + ngx_http_upstream_check_module was configured
    adding module in ../nginx-module-vts
    + ngx_http_vhost_traffic_status_module was configured
    adding module in ../headers-more-nginx-module-0.261
    + ngx_http_headers_more_filter_module was configured
    adding module in ../ngx_pagespeed-release-1.9.32.10-beta
    ngx_pagespeed: pagespeed optimization library not found:

    You need to separately download the pagespeed library:

    $ cd /path/to/ngx_pagespeed
    $ wget https://dl.google.com/dl/page-speed/psol/1.9.32.10.tar.gz
    $ tar -xzvf 1.9.32.10.tar.gz # expands to psol/

    Or see the installation instructions:
    pagespeed/ngx_pagespeed · GitHub

    Sat Oct 10 23:34:54 UTC 2015
    Error: 1, Nginx configure failed



    Should I just do another fresh install, something went wrong, or is this possibly a bug ?
     
  2. eva2000

    eva2000 Administrator Staff Member

    53,190
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,649
    Local Time:
    3:44 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  3. eva2000

    eva2000 Administrator Staff Member

    53,190
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,649
    Local Time:
    3:44 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    ah they folks at nginx_pagespeed renamed their inner folder that they zipped up

    from

    ngx_pagespeed-release-1.9.32.10-beta

    to

    ngx_pagespeed-1.9.32.10-beta

    as such psol binary can't download into ngx_pagespeed-release-1.9.32.10-beta as it doesn't exist anymore !

    updating for fix now
     
  4. eva2000

    eva2000 Administrator Staff Member

    53,190
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,649
    Local Time:
    3:44 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  5. jcat

    jcat Member

    153
    22
    18
    Jun 21, 2015
    New Jersey
    Ratings:
    +64
    Local Time:
    1:44 AM
    Thank you!
     
  6. eva2000

    eva2000 Administrator Staff Member

    53,190
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,649
    Local Time:
    3:44 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+