Want more timely Centmin Mod News Updates?
Become a Member

Nginx Install Error

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Jimmy, May 18, 2016.

  1. Jimmy

    Jimmy Premium Member Premium Member

    1,165
    256
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +626
    Local Time:
    10:19 AM
    1.13.x
    MariaDB 10.1.x
    I just installed a fresh centminmod on a VM... install went fine, upgraded to beta. Installed Nginx 1.9.15 and at the end it gave me this error:

    Code:
    checking for struct dirent.d_namlen ... not found
    checking for struct dirent.d_type ... found
    checking for sysconf(_SC_NPROCESSORS_ONLN) ... found
    checking for openat(), fstatat() ... found
    checking for getaddrinfo() ... found
    configuring additional modules
    adding module in ../nginx-module-vts
    + ngx_http_vhost_traffic_status_module was configured
    adding module in ../ngx-fancyindex-0.3.6
    + ngx_http_fancyindex_module was configured
    adding module in ../ngx_cache_purge-2.3
    + ngx_http_cache_purge_module was configured
    adding module in ../
    ./configure: error: no ..//config was found
    
    Wed May 18 03:00:37 UTC 2016
    Error: 1, Nginx configure failed
    
    Total Nginx Upgrade Time: 227.643637728 seconds
    
     
    • Informative Informative x 1
  2. eva2000

    eva2000 Administrator Staff Member

    30,945
    6,914
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,411
    Local Time:
    1:19 AM
    Nginx 1.13.x
    MariaDB 5.5
    You'll need to post on the forums with the following info
    • Server or VPS details ? XEN, KVM, OpenVZ, VMWare or dedicated server ? OS ? CentOS 6.7 or 7.2 ? 32bit or 64bit ?
    • What version of Centmin Mod ? .07 stable or 08 stable or .09 beta01 or another branch version ?
    • Was it fresh install or upgrade ?
    • Method of install ? Via centmin.sh menu option 1, Git install or curl one liner install as outlined at centminmod.com/download.html ?
    • How long ago did you install Centmin Mod ?
    • There's numerous code changes, bug fixes over time, so ensure you have latest Centmin Mod code installed by upgrading your Centmin Mod code as instructed below.

    Troubleshooting Initial Install



    To troubleshoot initial installation, you need to check the initial install log at /root/centminlogs and instructions under Sharing logs and errors heading for using Pastebin.com or Gists to share a sanitised version of the contents of the initial install log. You can see full details at How to troubleshoot Centmin Mod initial install issues

    Upgrading Centmin Mod Code to Latest Version



    Upgrading Centmin Mod involves 2 parts.
    1. Upgrading the actual Centmin Mod code outlined at Upgrade Centmin Mod - CentminMod.com LEMP Nginx web stack for CentOS This is heart of Centmin Mod where the code is the engine that runs centmin.sh shell based menu and all the automation you're accustomed to.
    2. Upgrade software that Centmin Mod installed or manages. For this part following outline at Upgrade - How to upgrade Centmin Mod | Centmin Mod Community
    So essentially, you can upgrade from .07 to .08 in place, but not everything is upgraded as some things like server initial environment setup isn't changed i.e. how swap, tmp setup and allocation are created etc. The main parts from part 2 above are what in place upgrades do i.e. Nginx and PHP-FPM compilation and config/settings parameters and MariaDB version from 5.5 to 10.0.x. If you want the full environment changed including tmp and swap setup to .08's configuration, then you would need a fresh OS install and fresh .08 initial install. You can think of it like upgrading Windows 7 to Windows 8. An in place upgrade will upgrade code but won't change your computer environment from when you installed Windows 7 i.e. disk configuration and partition sizes won't change from when you initially installed Windows 7. Only way to change that would be fresh Windows 8 install.
     
  3. eva2000

    eva2000 Administrator Staff Member

    30,945
    6,914
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,411
    Local Time:
    1:19 AM
    Nginx 1.13.x
    MariaDB 5.5
    looks like axel compile failed and that cascaded all axel downloaded source files
    Code (Text):
    Download axel-2.7.tar.gz ...
    --2016-05-18 13:53:15--  https://github.com/eribertomota/axel/archive/2.7.tar.gz
    Resolving github.com (github.com)... 192.30.252.128
    Connecting to github.com (github.com)|192.30.252.128|:443... connected.
    HTTP request sent, awaiting response... 302 Found
    Location: https://codeload.github.com/eribertomota/axel/tar.gz/2.7 [following]
    --2016-05-18 13:53:16--  https://codeload.github.com/eribertomota/axel/tar.gz/2.7
    Resolving codeload.github.com (codeload.github.com)... 192.30.252.144
    Connecting to codeload.github.com (codeload.github.com)|192.30.252.144|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: unspecified [application/x-gzip]
    Saving to: ‘axel-2.7.tar.gz’
    
        [   <=>                                                                                                                                                                                                           ] 76,610       163KB/s   in 0.5s   
    
    2016-05-18 13:53:18 (163 KB/s) - ‘axel-2.7.tar.gz’ saved [76610]
    
    Download axel-2.7.tar.gz done.
    axel-2.7.tar.gz valid file.
    
    bash: line 289: ./configure: No such file or directory
    make: *** No targets specified and no makefile found.  Stop.
    make: *** No rule to make target `install'.  Stop.
    which: no axel in (/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
     
  4. Jimmy

    Jimmy Premium Member Premium Member

    1,165
    256
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +626
    Local Time:
    10:19 AM
    1.13.x
    MariaDB 10.1.x
    Was that for the nginx? I also had an error for PHP - I didn't create another thread for that but I can.

    I'm just throwing up another test VM using centos7. Got those errors and wanted to let you know.
     
  5. eva2000

    eva2000 Administrator Staff Member

    30,945
    6,914
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,411
    Local Time:
    1:19 AM
    Nginx 1.13.x
    MariaDB 5.5
    axel download accelerator is used for various source downloads so yes, the problem cascades as all axel downloaded source files will fail if axel isn't installed

    i updated 123.09beta01 to downgrade axel from 2.7 to 2.6 as 2.7 removed all source generated files in favour of using autogen.sh but that needs gettext 0.19.3+ and centos has 0.17/0.18 Remove generated files from source control by sdt · Pull Request #10 · eribertomota/axel · GitHub

    Code (Text):
    autopoint: *** The AM_GNU_GETTEXT_VERSION declaration in your configure.ac
                   file requires the infrastructure from gettext-0.19.3 but this version
                   is older. Please upgrade to gettext-0.19.3 or newer.
    autopoint: *** Stop.
    autoreconf: autopoint failed with exit status: 1
     
    Last edited: May 18, 2016
    • Like Like x 1
  6. Jimmy

    Jimmy Premium Member Premium Member

    1,165
    256
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +626
    Local Time:
    10:19 AM
    1.13.x
    MariaDB 10.1.x
    Never heard of axel. Have to check that out on github.
     
  7. eva2000

    eva2000 Administrator Staff Member

    30,945
    6,914
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,411
    Local Time:
    1:19 AM
    Nginx 1.13.x
    MariaDB 5.5
    yeah axel is multi-threaded version of wget basically :)
     
    • Informative Informative x 1
  8. Jimmy

    Jimmy Premium Member Premium Member

    1,165
    256
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +626
    Local Time:
    10:19 AM
    1.13.x
    MariaDB 10.1.x
    I just tried another clean install and upon upgrading Nginx to the current release I got these at the end of the build. I'm working on a VM with the beta, centos 7.

    Code:
    configuring additional modules
    adding module in ../nginx-module-vts
    + ngx_http_vhost_traffic_status_module was configured
    adding module in ../ngx-fancyindex-0.3.6
    + ngx_http_fancyindex_module was configured
    adding module in ../ngx_cache_purge-2.3
    + ngx_http_cache_purge_module was configured
    adding module in ../
    ./configure: error: no ..//config was found
    
    Thu May 19 03:13:39 UTC 2016
    Error: 1, Nginx configure failed
    
    Total Nginx Upgrade Time: 248.166357407 seconds
    
    Is that normal for it to be showing: "Error: 1, Nginx configure failed"
     
    • Informative Informative x 1
  9. eva2000

    eva2000 Administrator Staff Member

    30,945
    6,914
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,411
    Local Time:
    1:19 AM
    Nginx 1.13.x
    MariaDB 5.5
  10. eva2000

    eva2000 Administrator Staff Member

    30,945
    6,914
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,411
    Local Time:
    1:19 AM
    Nginx 1.13.x
    MariaDB 5.5
  11. Jimmy

    Jimmy Premium Member Premium Member

    1,165
    256
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +626
    Local Time:
    10:19 AM
    1.13.x
    MariaDB 10.1.x
    I was just doing a testing install on a VM. Installed the base via curl, setup the git and upgraded to centmin mod beta, and then did option 4. So, nothing special was going on with the install.

    nginx_upgrade_log
    Nginx Install Log · GitHub

    PHP upgrade is now working fine.
     
    • Informative Informative x 1
  12. eva2000

    eva2000 Administrator Staff Member

    30,945
    6,914
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,411
    Local Time:
    1:19 AM
    Nginx 1.13.x
    MariaDB 5.5
    nginx modules failed to download/extract could be incomplete or interrupted network connectivity ? check those tar.gz in /svr-setup
    Code (Text):
    nginx dynamic module support detected
    
    tar (child): /svr-setup/srcache-nginx-module_v0.30.tar.gz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
    tar (child): /svr-setup/set-misc-nginx-module_v0.30.tar.gz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
    tar (child): /svr-setup/nginx-develkit_v0.3.0rc1.tar.gz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
    tar (child): /svr-setup/echo-nginx-module_v0.59rc1.tar.gz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
    Cloning into 'nginx-module-vts'...
    /usr/lib64/libatomic_ops.a found

    ngx_pagespeed too
    Code (Text):
    ([mtar (child): /svr-setup/release-1.11.33.2-beta.tar.gz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
    [1;33;40mCheck for pagespeed PSOL library
    (B[mtar (child): /svr-setup/srcache-nginx-module_v0.30.tar.gz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
    tar (child): /svr-setup/set-misc-nginx-module_v0.30.tar.gz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
    tar (child): /svr-setup/nginx-develkit_v0.3.0rc1.tar.gz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
    tar (child): /svr-setup/echo-nginx-module_v0.59rc1.tar.gz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
     
  13. eva2000

    eva2000 Administrator Staff Member

    30,945
    6,914
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,411
    Local Time:
    1:19 AM
    Nginx 1.13.x
    MariaDB 5.5
    • Like Like x 1
  14. eva2000

    eva2000 Administrator Staff Member

    30,945
    6,914
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,411
    Local Time:
    1:19 AM
    Nginx 1.13.x
    MariaDB 5.5
    and still issues - suspect they renamed stuff
    Code (Text):
    tar (child): /svr-setup/memc-nginx-module_v0.17.tar.gz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
    tar (child): /svr-setup/srcache-nginx-module_v0.31.tar.gz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
    tar (child): /svr-setup/nginx-develkit_v0.3.0.tar.gz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
    tar (child): /svr-setup/echo-nginx-module_v0.59.tar.gz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
    tar (child): /svr-setup/redis2-nginx-module_v0.13.tar.gz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now

    Code (Text):
    ls -lahrt | grep 'May 19'
    drwxr-xr-x 20 root  root   4.0K May 19 03:48 openssl-1.0.2h
    -rw-r--r--  1 root  root    28K May 19 03:48 headers-more-v0.30.tar.gz
    -rw-r--r--  1 root  root   105K May 19 03:48 release-1.11.33.2-beta.tar.gz
    -rw-r--r--  1 root  root   2.9M May 19 03:48 libressl-2.3.4.tar.gz
    drwxrwxr-x  6 root  root   4.0K May 19 03:48 ngx_pagespeed-release-1.11.33.2-beta
    -rw-r--r--  1 root  root    36K May 19 03:48 memc-nginx-module_v0.17.tar.gz
    -rw-r--r--  1 root  root    48K May 19 03:48 srcache-nginx-module_v0.31.tar.gz
    -rw-r--r--  1 root  root    65K May 19 03:48 nginx-develkit_v0.3.0.tar.gz
    -rw-r--r--  1 root  root    52K May 19 03:48 echo-nginx-module_v0.59.tar.gz
    -rw-r--r--  1 root  root    27K May 19 03:48 redis2-nginx-module_v0.13.tar.gz
    -rw-r--r--  1 root  root   567K May 19 03:48 lua-nginx-module_v0.10.4.tar.gz
    -rw-r--r--  1 root  root    13K May 19 03:48 lua-resty-memcached_v0.14.tar.gz
    -rw-r--r--  1 root  root    17K May 19 03:48 lua-resty-redis_v0.23.tar.gz
    -rw-r--r--  1 root  root    65K May 19 03:48 lua-resty-core_v0.1.6.tar.gz
    -rw-r--r--  1 root  root    74K May 19 03:48 lua-cjson_2.1.0.4.tar.gz
    drwxr-xr-x 89 root  root    12K May 19 03:48 .
    drwxr-xr-x 11 root  root   4.0K May 19 03:48 libressl-2.3.4
     
  15. Jimmy

    Jimmy Premium Member Premium Member

    1,165
    256
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +626
    Local Time:
    10:19 AM
    1.13.x
    MariaDB 10.1.x
    That doesn't sound fun or easy. :(
     
  16. eva2000

    eva2000 Administrator Staff Member

    30,945
    6,914
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,411
    Local Time:
    1:19 AM
    Nginx 1.13.x
    MariaDB 5.5
    believe i fixed it now update downloads/svr-setup.zip · centminmod/centminmod@75652c3 · GitHub
     
  17. Jimmy

    Jimmy Premium Member Premium Member

    1,165
    256
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +626
    Local Time:
    10:19 AM
    1.13.x
    MariaDB 10.1.x
    Did a code update. Still getting the config error.

    Code:
    adding module in ../nginx-module-vts
    + ngx_http_vhost_traffic_status_module was configured
    adding module in ../ngx-fancyindex-0.3.6
    + ngx_http_fancyindex_module was configured
    adding module in ../ngx_cache_purge-2.3
    + ngx_http_cache_purge_module was configured
    adding module in ../
    ./configure: error: no ..//config was found
    
    Thu May 19 04:19:42 UTC 2016
    Error: 1, Nginx configure failed
    
    Total Nginx Upgrade Time: 167.888954568 seconds
    
    Were the pagespeed modules not available for 1.9.15? Still showing an error for those.

    Code:
    Check for pagespeed nginx module download file
    tar (child): /svr-setup/release-1.11.33.2-beta.tar.gz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
    Check for pagespeed PSOL library
    tar (child): /svr-setup/memc-nginx-module_v0.17.tar.gz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
    tar (child): /svr-setup/srcache-nginx-module_v0.31.tar.gz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
    tar (child): /svr-setup/set-misc-nginx-module_v0.30.tar.gz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
    tar (child): /svr-setup/nginx-develkit_v0.3.0.tar.gz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
    tar (child): /svr-setup/echo-nginx-module_v0.59.tar.gz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
    tar (child): /svr-setup/redis2-nginx-module_v0.13.tar.gz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
    
     
  18. eva2000

    eva2000 Administrator Staff Member

    30,945
    6,914
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,411
    Local Time:
    1:19 AM
    Nginx 1.13.x
    MariaDB 5.5
    should be all fixed did fresh tests myself :)
     
    • Like Like x 1