Join the community today
Become a Member

Nginx Failed nginx 1.15.2 upgrade - download tar.gz broken

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Alex Y, Aug 15, 2018.

  1. Alex Y

    Alex Y New Member

    20
    4
    3
    Jun 3, 2017
    Ratings:
    +5
    Local Time:
    12:53 AM
    Nginx 1.13.1
    MariaDB 10
    Hey George, I'm facing a similar issue where updating nginx from 1.13.12 doesn't work. I've tried both 1.14.0 and 1.15.2. I've also tried running `cmupdate` and then option 4.

    `axel https://nginx.org/download/nginx-1.15.2.tar.gz` and then `echo $?` gives me 0.

    What are some of the things I should be checking for to find the cause?
     
  2. eva2000

    eva2000 Administrator Staff Member

    35,992
    7,896
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,174
    Local Time:
    5:53 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    To troubleshoot, you need to check the full nginx upgrade 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 nginx_upgrade.log log. You can see full details at How to troubleshoot Centmin Mod initial install issues

    also what's output of
    Code (Text):
    nginx -t

    when you run centmin.sh menu option 4 there's a nginx upgrade log timestamped at /root/centminlogs

    if you type this command it lists all logs in date ascending order so latest log at bottom
    Code (Text):
    ls -lArt /root/centminlogs

    so copy the entire contents of latest nginx_upgrade log to gist.github.com or pastebin.com

    you can use grep to filter the logs, i.e. look for nginx_upgrade in log name
    Code (Text):
    ls -lahrt /root/centminlogs/ | grep nginx_upgrade
    -rw-r--r--  1 root root 3.2M Oct 11 15:55 centminmod_1.2.3-eva2000.09.001_111016-155345_nginx_upgrade.log
    -rw-r--r--  1 root root 672K Oct 11 22:06 centminmod_1.2.3-eva2000.09.001_111016-220515_nginx_upgrade.log

    So the last nginx upgrade log was named centminmod_1.2.3-eva2000.09.001_111016-220515_nginx_upgrade.log and located at /root/centminlogs/centminmod_1.2.3-eva2000.09.001_111016-220515_nginx_upgrade.log

    then use cat command to output the contents of that log

    clear your ssh window buffer/screen and type
    Code (Text):
    cat /root/centminlogs/centminmod_1.2.3-eva2000.09.001_111016-220515_nginx_upgrade.log

    then select and copy and paste output to pastebin.com or gist.github.com file to share. If your SSH client's scroll buffer isn't large enough using cat might not output the entire log file contents, so you may need to download the log and use local text editor to open and copy and paste.

    so only need content of one specific log, in this case most recent nginx_upgrade.log log
     
  3. Alex Y

    Alex Y New Member

    20
    4
    3
    Jun 3, 2017
    Ratings:
    +5
    Local Time:
    12:53 AM
    Nginx 1.13.1
    MariaDB 10
    Hi George, sure thing, I've sent you the gist in a private conversation on this forum.

    nginx -t shows
    Code:
    nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
    nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
     
  4. eva2000

    eva2000 Administrator Staff Member

    35,992
    7,896
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,174
    Local Time:
    5:53 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    from your gist nginx upgrade log seems it has been a long time since you updated centmin mod 123.09beta01 given the git change stats on nginx upgrade failure :)
    Code (Text):
     373 files changed, 112864 insertions(+)
    

    not entirely related but when was last time you did yum updates too for kernel updates which require server reboot ?

    i see some tarball downloads didn't download properly or got corrupted on download
    Code (Text):
    tar (child): /svr-setup/set-misc-nginx-module_v0.32.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.15.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
    

    try deleting corrupted downloads and re-run centmin.sh menu option 4
    Code (Text):
    cd /svr-setup
    rm -rf /svr-setup/set-misc-nginx-module*
    rm -rf /svr-setup/redis2-nginx-module*
    

    and re-run centmin.sh menu option 4
     
  5. Alex Y

    Alex Y New Member

    20
    4
    3
    Jun 3, 2017
    Ratings:
    +5
    Local Time:
    12:53 AM
    Nginx 1.13.1
    MariaDB 10
    Haha yes guilty, Centminmod is very stable for me so I haven't SSH in for long time.

    This one is a OVZ, so I probably won't be able to upgrade the kernel. I'll definitely do that for my KVMs though, thanks!

    Removed those files in svr-setup and re-ran option 4 but am getting these errors now
    Code:
    tar (child): /svr-setup/set-misc-nginx-module_v0.32.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.15.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
    How do I generate those files I deleted?
     
  6. eva2000

    eva2000 Administrator Staff Member

    35,992
    7,896
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,174
    Local Time:
    5:53 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Usually nginx upgrade routine will automatically download those tar.gz files if they do not exist. What was missing is checking to see if those tar.gz files are valid and not corrupted or partially downloaded files. So i just updated 123.09beta01 code with some additional tar.gz download file validity checks. You can try updating 123.09beta01 code via cmupdate command i.e.
    Code (Text):
    cmupdate
    Saved working directory and index state WIP on 123.09beta01: 275b041 update installers for 123.09beta01
    HEAD is now at 275b041 update installers for 123.09beta01
    Updating 275b041..3e7452d
    Fast-forward
     inc/downloads.inc     | 273 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------------------------------
     inc/nginx_upgrade.inc |   2 +-
     2 files changed, 151 insertions(+), 124 deletions(-)
    

    Then re-run centmin.sh menu option 4
     
  7. Alex Y

    Alex Y New Member

    20
    4
    3
    Jun 3, 2017
    Ratings:
    +5
    Local Time:
    12:53 AM
    Nginx 1.13.1
    MariaDB 10
    Ran `cmupdate` and re-ran `option 4`, but the same thing happens :/

    Code:
    tar (child): /svr-setup/set-misc-nginx-module_v0.32.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.15.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
     
  8. eva2000

    eva2000 Administrator Staff Member

    35,992
    7,896
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,174
    Local Time:
    5:53 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    post the latest nginx_upgrade log as per Nginx - Can`t upgrade to nginx 1.15.2

    latest would be in /root/centminlogs directory and would be the very last nginx_upgrade log listed from this command
    Code (Text):
    ls -lahrt /root/centminlogs/ | grep nginx_upgrade
    
     
  9. eva2000

    eva2000 Administrator Staff Member

    35,992
    7,896
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,174
    Local Time:
    5:53 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    also check the obvious but overlooked issues too i.e. if you ran out of disk space
    Code (Text):
    df -hT
    
     
  10. Alex Y

    Alex Y New Member

    20
    4
    3
    Jun 3, 2017
    Ratings:
    +5
    Local Time:
    12:53 AM
    Nginx 1.13.1
    MariaDB 10
    df -hT shows
    Code:
    Filesystem        Type      Size  Used Avail Use% Mounted on
    /dev/ploop36734p1 ext4       50G   32G   16G  68% /
    devtmpfs          devtmpfs  1.0G     0  1.0G   0% /dev
    tmpfs             tmpfs     1.0G     0  1.0G   0% /dev/shm
    tmpfs             tmpfs     1.0G  112K  1.0G   1% /run
    tmpfs             tmpfs     1.0G     0  1.0G   0% /sys/fs/cgroup
    I've just sent the gist to you in the same conversation earlier
     
  11. eva2000

    eva2000 Administrator Staff Member

    35,992
    7,896
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,174
    Local Time:
    5:53 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    strange try just manually deleting the 2 files so they get redownloaded on next centmin.sh menu option 4 run

    edit: also remove /svr-setup/ngx_brotli/ as seems your version is broken

    Code (Text):
    cd /svr-setup
    rm -rf /svr-setup/set-misc-nginx-module_v0.32.tar.gz
    rm -rf /svr-setup/redis2-nginx-module_v0.15.tar.gz
    rm -rf /svr-setup/ngx_brotli/
    

    then run centmin.sh from /usr/local/src/centminmod directory
    Code (Text):
    cmupdate
    cmdir
    ./centmin.sh
    
     
    Last edited: Aug 15, 2018
  12. Alex Y

    Alex Y New Member

    20
    4
    3
    Jun 3, 2017
    Ratings:
    +5
    Local Time:
    12:53 AM
    Nginx 1.13.1
    MariaDB 10
    Followed that instructions, made sure that the directory doesn't contain the 2 files before the run, same thing happens.

    The 2 files doesn't appear after nginx update too. Sent you the latest logs as well :)
     
  13. eva2000

    eva2000 Administrator Staff Member

    35,992
    7,896
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,174
    Local Time:
    5:53 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    The updated code checks if the tar.gz is valid and if not, deletes invalid tar.gz and then redownloads it again. So only time this routine would end up having issues for your problem would be when, the re-downloaded tar.gz are also corrupt and invalid. Those 2 downloads are downloaded as .tar.gz files from Github.com repos and Github doesn't seem to have any issues according to GitHub Status (@githubstatus) | Twitter.

    Try again as your nginx_upgrade shows ngx_brotli compile still broken, while my latest update had fixed that too

    Code (Text):
    cd /svr-setup
    rm -rf /svr-setup/set-misc-nginx-module_v0.32.tar.gz
    rm -rf /svr-setup/redis2-nginx-module_v0.15.tar.gz
    rm -rf /svr-setup/ngx_brotli/
    

    then run centmin.sh from /usr/local/src/centminmod directory
    Code (Text):
    cmupdate
    cmdir
    ./centmin.sh
    
     
  14. Alex Y

    Alex Y New Member

    20
    4
    3
    Jun 3, 2017
    Ratings:
    +5
    Local Time:
    12:53 AM
    Nginx 1.13.1
    MariaDB 10
    Ran those commands, similar thing happens, but I think the section of logs for NginxMake looks different this time? Sent the latest log over
     
  15. eva2000

    eva2000 Administrator Staff Member

    35,992
    7,896
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,174
    Local Time:
    5:53 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    ngx_brotli installed properly this time and i added /root/centminlogs listing at end of failed runs so you can know which logs to look into for troubleshooting.

    But yes those 2 .tar.gz still fail or report corrupted - could be something with your server's connection to download source at github

    what is output for these 4 commands for manual download of those files
    Code (Text):
    curl -4I https://github.com/openresty/set-misc-nginx-module/archive/v0.32.tar.gz
    

    Code (Text):
    cd /svr-setup
    wget -c4 --progress=bar https://github.com/openresty/set-misc-nginx-module/archive/v0.32.tar.gz -O set-misc-nginx-module_v0.32.tar.gz --tries=3
    

    Code (Text):
    curl -4I https://github.com/openresty/redis2-nginx-module/archive/v0.15.tar.gz
    

    Code (Text):
    cd /svr-setup
    wget -c4 --progress=bar https://github.com/openresty/redis2-nginx-module/archive/v0.15.tar.gz -O redis2-nginx-module_v0.15.tar.gz --tries=3
    

    for posting code or output from commands to keep the formatting, you might want to use CODE tags for code How to use forum BBCODE code tags :)
     
  16. eva2000

    eva2000 Administrator Staff Member

    35,992
    7,896
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,174
    Local Time:
    5:53 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    also what's output for
    Code (Text):
    ldd $(which ccache)
    

    The libz.so should report path as /lib64/libz.so.1 (correct) and not /usr/local/lib/libz.so.1 (incorrect)
    Code (Text):
    ldd $(which ccache)
           linux-vdso.so.1 =>  (0x00007ffd1786b000)
           libm.so.6 => /lib64/libm.so.6 (0x00007f7b8eb1a000)
           libz.so.1 => /lib64/libz.so.1 (0x00007f7b8e904000)
           libc.so.6 => /lib64/libc.so.6 (0x00007f7b8e570000)
           /lib64/ld-linux-x86-64.so.2 (0x00007f7b8ed9e000)
    

    if reported incorrectly need to recompile ccache using commands
    Code (Text):
    export CC="gcc"
    export CXX="g++"
    cd /svr-setup/ccache-3.4.1/
    make clean
    ./configure
    make -j2
    make install
    

    Then reboot server to restart all affected services

    I wonder if you're hitting the very old zlib bug in 123.09beta01 which was fixed back in December 2017 123.09beta01 Updated Nginx zlib routine with optional Cloudflare zlib support
     
  17. Alex Y

    Alex Y New Member

    20
    4
    3
    Jun 3, 2017
    Ratings:
    +5
    Local Time:
    12:53 AM
    Nginx 1.13.1
    MariaDB 10
    Here's output for the 4 manual download commands:

    Code:
    [19:30][[email protected] ~]# curl -4I https://github.com/openresty/set-misc-nginx-module/archive/v0.32.tar.gz
    HTTP/1.1 302 Found
    Date: Wed, 15 Aug 2018 02:30:01 GMT
    Content-Type: text/html; charset=utf-8
    Server: GitHub.com
    Status: 302 Found
    Cache-Control: no-cache
    Vary: X-PJAX
    Location: https://codeload.github.com/openresty/set-misc-nginx-module/tar.gz/v0.32
    Set-Cookie: has_recent_activity=1; path=/; expires=Wed, 15 Aug 2018 03:30:01 -0000
    Set-Cookie: logged_in=no; domain=.github.com; path=/; expires=Sun, 15 Aug 2038 02:30:01 -0000; secure; HttpOnly
    Set-Cookie: _gh_sess=SzVLcVgvTnJkVzhSbGZZWW5nVlBubTI0TUdreWJXQ0J5aXhNMStwQUR2NXhJdE54WUhyNjI4bWZQZkNwUjRUaDE0UGlKblRmeldkNEhHZjM5QmRjVC9oM01pcmxSNnU5cVdXV3pQY1JKVGE0K0Q4Y0VFOHFON2Z2dEdvUlVOR09Ydkozd0NBSzBmSXJpcE5RRVowMWVHcTB4QSszKzluMDFnZTFKS1YyWEQ3clI0KzYrdmNtNmR4VGVkZ2gyUXppbjRtSWU4dmdIQ2R3RGdmSFcwam9nZz09LS1TM29sR21VNnZzeVViSmRaOHh5ZkxBPT0%3D--107245df599264b0791128653ff0f00d708a5d7f; path=/; secure; HttpOnly
    X-Request-Id: 3528e818-5f56-4465-a5fb-c73794c490e2
    X-Runtime: 0.045291
    Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
    X-Frame-Options: deny
    X-Content-Type-Options: nosniff
    X-XSS-Protection: 1; mode=block
    Expect-CT: max-age=2592000, report-uri="https://api.github.com/_private/browser/errors"
    Content-Security-Policy: default-src 'none'; base-uri 'self'; block-all-mixed-content; connect-src 'self' uploads.github.com status.github.com collector.githubapp.com api.github.com www.google-analytics.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com wss://live.github.com; font-src assets-cdn.github.com; form-action 'self' github.com gist.github.com; frame-ancestors 'none'; frame-src render.githubusercontent.com; img-src 'self' data: assets-cdn.github.com identicons.github.com collector.githubapp.com github-cloud.s3.amazonaws.com *.githubusercontent.com; manifest-src 'self'; media-src 'none'; script-src assets-cdn.github.com; style-src 'unsafe-inline' assets-cdn.github.com
    X-Runtime-rack: 0.053541
    Vary: Accept-Encoding
    X-GitHub-Request-Id: BE14:876E:26D2B2C:3BFD925:5B739029
    Code:
    [20:14][[email protected] svr-setup]# wget -c4 --progress=bar https://github.com/openresty/set-misc-nginx-module/archive/v0.32.tar.gz -O set-misc-nginx-module_v0.32.tar.gz --tries=3
    --2018-08-14 20:14:44--  https://github.com/openresty/set-misc-nginx-module/archive/v0.32.tar.gz
    Resolving github.com... 192.30.255.113, 192.30.255.112
    Connecting to github.com|192.30.255.113|:443... connected.
    HTTP request sent, awaiting response... 302 Found
    Location: https://codeload.github.com/openresty/set-misc-nginx-module/tar.gz/v0.32 [following]
    --2018-08-14 20:14:44--  https://codeload.github.com/openresty/set-misc-nginx-module/tar.gz/v0.32
    Resolving codeload.github.com... 192.30.255.121, 192.30.255.120
    Connecting to codeload.github.com|192.30.255.121|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: unspecified [application/x-gzip]
    Saving to: ‘set-misc-nginx-module_v0.32.tar.gz’
    
    set-misc-nginx-module_v0.32.tar     [ <=>                                                 ]  28.64K  --.-KB/s    in 0.03s   
    
    2018-08-14 20:14:45 (937 KB/s) - ‘set-misc-nginx-module_v0.32.tar.gz’ saved [29329]
    Code:
    [20:14][[email protected] svr-setup]# curl -4I https://github.com/openresty/redis2-nginx-module/archive/v0.15.tar.gz
    HTTP/1.1 302 Found
    Date: Wed, 15 Aug 2018 03:15:34 GMT
    Content-Type: text/html; charset=utf-8
    Server: GitHub.com
    Status: 302 Found
    Cache-Control: no-cache
    Vary: X-PJAX
    Location: https://codeload.github.com/openresty/redis2-nginx-module/tar.gz/v0.15
    Set-Cookie: has_recent_activity=1; path=/; expires=Wed, 15 Aug 2018 04:15:34 -0000
    Set-Cookie: logged_in=no; domain=.github.com; path=/; expires=Sun, 15 Aug 2038 03:15:34 -0000; secure; HttpOnly
    Set-Cookie: _gh_sess=aVBUT0pyMnJvVy9nVFdkWm5NdnNjQWRPMkhrTkFvMmtFWjFFcWtjbjBxRE5jb3I1UFA2NjVReklUZEx4TmN2em5veFQ0akdFVi9BeGE5ZGRPeGRvNy9jZXJSTkdSbkQ2MHUxeHhMcFFKRlRQUUE2amo2dkJLWnF0YkVhN0FuMnB0TllPbHpNcDh5NjB4cEE1K2tqdlNTeHZSNXp2SU9rQWpXc2l3eHhsTVF4emo3SmJXYU1xVmkrSXE1NlhXckJ2NzkvSE52QmJOOG13aEsxOW5rTEhkUT09LS1EU05uazlPZGJFR0VUamdYd2luVkZBPT0%3D--9f3c8b4efc8487d501a86606292296f784e3964e; path=/; secure; HttpOnly
    X-Request-Id: 48d92d92-84ce-4826-8cbb-5b8d79890bd5
    X-Runtime: 0.060789
    Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
    X-Frame-Options: deny
    X-Content-Type-Options: nosniff
    X-XSS-Protection: 1; mode=block
    Expect-CT: max-age=2592000, report-uri="https://api.github.com/_private/browser/errors"
    Content-Security-Policy: default-src 'none'; base-uri 'self'; block-all-mixed-content; connect-src 'self' uploads.github.com status.github.com collector.githubapp.com api.github.com www.google-analytics.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com wss://live.github.com; font-src assets-cdn.github.com; form-action 'self' github.com gist.github.com; frame-ancestors 'none'; frame-src render.githubusercontent.com; img-src 'self' data: assets-cdn.github.com identicons.github.com collector.githubapp.com github-cloud.s3.amazonaws.com *.githubusercontent.com; manifest-src 'self'; media-src 'none'; script-src assets-cdn.github.com; style-src 'unsafe-inline' assets-cdn.github.com
    X-Runtime-rack: 0.068662
    Vary: Accept-Encoding
    X-GitHub-Request-Id: BCA9:876F:40A909E:62F39DF:5B739AD5
    Code:
    [20:16][[email protected] svr-setup]# wget -c4 --progress=bar https://github.com/openresty/redis2-nginx-module/archive/v0.15.tar.gz -O redis2-nginx-module_v0.15.tar.gz --tries=3
    --2018-08-14 20:16:13--  https://github.com/openresty/redis2-nginx-module/archive/v0.15.tar.gz
    Resolving github.com... 192.30.255.113, 192.30.255.112
    Connecting to github.com|192.30.255.113|:443... connected.
    HTTP request sent, awaiting response... 302 Found
    Location: https://codeload.github.com/openresty/redis2-nginx-module/tar.gz/v0.15 [following]
    --2018-08-14 20:16:13--  https://codeload.github.com/openresty/redis2-nginx-module/tar.gz/v0.15
    Resolving codeload.github.com... 192.30.255.121, 192.30.255.120
    Connecting to codeload.github.com|192.30.255.121|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: unspecified [application/x-gzip]
    Saving to: ‘redis2-nginx-module_v0.15.tar.gz’
    
    redis2-nginx-module_v0.15.tar.g     [ <=>                                                 ]  24.87K  --.-KB/s    in 0.03s   
    
    2018-08-14 20:16:13 (723 KB/s) - ‘redis2-nginx-module_v0.15.tar.gz’ saved [25471]
    ccache's ldd looks correct too:

    Code:
    [20:16][[email protected] svr-setup]# ldd $(which ccache)
        linux-vdso.so.1 =>  (0x00007ffd6e7ee000)
        libm.so.6 => /lib64/libm.so.6 (0x00007ff84fc8e000)
        libz.so.1 => /lib64/libz.so.1 (0x00007ff84fa78000)
        libc.so.6 => /lib64/libc.so.6 (0x00007ff84f6ab000)
        /lib64/ld-linux-x86-64.so.2 (0x00007ff84ff90000)
     
  18. eva2000

    eva2000 Administrator Staff Member

    35,992
    7,896
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,174
    Local Time:
    5:53 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    strange now that you manually downloaded them what is output for tar tests
    Code (Text):
    tar -tzf /svr-setup/set-misc-nginx-module_v0.32.tar.gz
    

    Code (Text):
    tar -tzf /svr-setup/redis2-nginx-module_v0.15.tar.gz
    

    If they're valid tarballs they will output the contents of the tar.gz files

    If they do output the contents, then try re-run centmin.sh menu option 4
     
  19. Alex Y

    Alex Y New Member

    20
    4
    3
    Jun 3, 2017
    Ratings:
    +5
    Local Time:
    12:53 AM
    Nginx 1.13.1
    MariaDB 10
    The tar tests looks good:
    Code:
    [21:39][[email protected] svr-setup]# tar -tzf /svr-setup/set-misc-nginx-module_v0.32.tar.gz
    set-misc-nginx-module-0.32/
    set-misc-nginx-module-0.32/.gitattributes
    set-misc-nginx-module-0.32/.gitignore
    set-misc-nginx-module-0.32/.travis.yml
    set-misc-nginx-module-0.32/README.markdown
    set-misc-nginx-module-0.32/config
    set-misc-nginx-module-0.32/src/
    set-misc-nginx-module-0.32/src/ddebug.h
    set-misc-nginx-module-0.32/src/ngx_http_set_base32.c
    set-misc-nginx-module-0.32/src/ngx_http_set_base32.h
    set-misc-nginx-module-0.32/src/ngx_http_set_base64.c
    set-misc-nginx-module-0.32/src/ngx_http_set_base64.h
    set-misc-nginx-module-0.32/src/ngx_http_set_default_value.c
    set-misc-nginx-module-0.32/src/ngx_http_set_default_value.h
    set-misc-nginx-module-0.32/src/ngx_http_set_escape_uri.c
    set-misc-nginx-module-0.32/src/ngx_http_set_escape_uri.h
    set-misc-nginx-module-0.32/src/ngx_http_set_hash.c
    set-misc-nginx-module-0.32/src/ngx_http_set_hash.h
    set-misc-nginx-module-0.32/src/ngx_http_set_hashed_upstream.c
    set-misc-nginx-module-0.32/src/ngx_http_set_hashed_upstream.h
    set-misc-nginx-module-0.32/src/ngx_http_set_hex.c
    set-misc-nginx-module-0.32/src/ngx_http_set_hex.h
    set-misc-nginx-module-0.32/src/ngx_http_set_hmac.c
    set-misc-nginx-module-0.32/src/ngx_http_set_hmac.h
    set-misc-nginx-module-0.32/src/ngx_http_set_local_today.c
    set-misc-nginx-module-0.32/src/ngx_http_set_local_today.h
    set-misc-nginx-module-0.32/src/ngx_http_set_misc_module.c
    set-misc-nginx-module-0.32/src/ngx_http_set_misc_module.h
    set-misc-nginx-module-0.32/src/ngx_http_set_quote_json.c
    set-misc-nginx-module-0.32/src/ngx_http_set_quote_json.h
    set-misc-nginx-module-0.32/src/ngx_http_set_quote_sql.c
    set-misc-nginx-module-0.32/src/ngx_http_set_quote_sql.h
    set-misc-nginx-module-0.32/src/ngx_http_set_random.c
    set-misc-nginx-module-0.32/src/ngx_http_set_random.h
    set-misc-nginx-module-0.32/src/ngx_http_set_rotate.c
    set-misc-nginx-module-0.32/src/ngx_http_set_rotate.h
    set-misc-nginx-module-0.32/src/ngx_http_set_secure_random.c
    set-misc-nginx-module-0.32/src/ngx_http_set_secure_random.h
    set-misc-nginx-module-0.32/src/ngx_http_set_unescape_uri.c
    set-misc-nginx-module-0.32/src/ngx_http_set_unescape_uri.h
    set-misc-nginx-module-0.32/t/
    set-misc-nginx-module-0.32/t/base32.t
    set-misc-nginx-module-0.32/t/base32_no_padding.t
    set-misc-nginx-module-0.32/t/base64.t
    set-misc-nginx-module-0.32/t/default-value.t
    set-misc-nginx-module-0.32/t/escape-uri.t
    set-misc-nginx-module-0.32/t/formatted-time.t
    set-misc-nginx-module-0.32/t/hash.t
    set-misc-nginx-module-0.32/t/hashed-upstream.t
    set-misc-nginx-module-0.32/t/hex.t
    set-misc-nginx-module-0.32/t/hmac.t
    set-misc-nginx-module-0.32/t/local-today.t
    set-misc-nginx-module-0.32/t/quote-json.t
    set-misc-nginx-module-0.32/t/quote-sql.t
    set-misc-nginx-module-0.32/t/rand.t
    set-misc-nginx-module-0.32/t/rotate.t
    set-misc-nginx-module-0.32/t/secure-random.t
    set-misc-nginx-module-0.32/t/unescape-uri.t
    set-misc-nginx-module-0.32/util/
    set-misc-nginx-module-0.32/util/build.sh
    set-misc-nginx-module-0.32/valgrind.suppress
    Code:
    [21:39][[email protected] svr-setup]# tar -tzf /svr-setup/redis2-nginx-module_v0.15.tar.gz
    redis2-nginx-module-0.15/
    redis2-nginx-module-0.15/.gitattributes
    redis2-nginx-module-0.15/.gitignore
    redis2-nginx-module-0.15/.travis.yml
    redis2-nginx-module-0.15/Changes
    redis2-nginx-module-0.15/README.markdown
    redis2-nginx-module-0.15/config
    redis2-nginx-module-0.15/misc/
    redis2-nginx-module-0.15/misc/serv.erl
    redis2-nginx-module-0.15/src/
    redis2-nginx-module-0.15/src/common.rl
    redis2-nginx-module-0.15/src/ddebug.h
    redis2-nginx-module-0.15/src/multi_bulk_reply.rl
    redis2-nginx-module-0.15/src/ngx_http_redis2_handler.c
    redis2-nginx-module-0.15/src/ngx_http_redis2_handler.h
    redis2-nginx-module-0.15/src/ngx_http_redis2_module.c
    redis2-nginx-module-0.15/src/ngx_http_redis2_module.h
    redis2-nginx-module-0.15/src/ngx_http_redis2_reply.c
    redis2-nginx-module-0.15/src/ngx_http_redis2_reply.h
    redis2-nginx-module-0.15/src/ngx_http_redis2_reply.rl
    redis2-nginx-module-0.15/src/ngx_http_redis2_util.c
    redis2-nginx-module-0.15/src/ngx_http_redis2_util.h
    redis2-nginx-module-0.15/t/
    redis2-nginx-module-0.15/t/bugs.t
    redis2-nginx-module-0.15/t/eval.t
    redis2-nginx-module-0.15/t/if.t
    redis2-nginx-module-0.15/t/pipeline.t
    redis2-nginx-module-0.15/t/sanity.t
    redis2-nginx-module-0.15/util/
    redis2-nginx-module-0.15/util/build.sh
    redis2-nginx-module-0.15/util/fix-clang-warnings
    redis2-nginx-module-0.15/valgrind.suppress
    Option 4 still reported errors :( Just sent over the latest logs
     
  20. eva2000

    eva2000 Administrator Staff Member

    35,992
    7,896
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,174
    Local Time:
    5:53 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    seems there is progress set-misc and redis2-nginx module tar.gz don't complain of invalid download files now so manual download fixed that

    just running into problem
    Code (Text):
    configuring additional modules
    adding module in ../ngx_devel_kit-0.3.0
     + ngx_devel_kit was configured
    adding module in ../redis2-nginx-module-0.15
    ./configure: error: no ../redis2-nginx-module-0.15/config was found
    

    what's contents of /svr-setup/redis2-nginx-module-0.15/ ?

    For example
    Code (Text):
    ls -lah /svr-setup/redis2-nginx-module-0.15/
    total 72K
    drwxrwxr-x   6 root root  186 Apr 19 20:31 .
    drwxr-xr-x. 86 root root  12K Aug 15 16:34 ..
    -rw-rw-r--   1 root root 1.5K Apr 19 20:31 Changes
    -rw-rw-r--   1 root root 1.3K Apr 19 20:31 config
    -rw-rw-r--   1 root root   27 Apr 19 20:31 .gitattributes
    -rw-rw-r--   1 root root  619 Apr 19 20:31 .gitignore
    drwxrwxr-x   2 root root   22 Apr 19 20:31 misc
    -rw-rw-r--   1 root root  25K Apr 19 20:31 README.markdown
    drwxrwxr-x   2 root root 4.0K Apr 19 20:31 src
    drwxrwxr-x   2 root root   80 Apr 19 20:31 t
    -rw-rw-r--   1 root root 2.0K Apr 19 20:31 .travis.yml
    drwxrwxr-x   2 root root   48 Apr 19 20:31 util
    -rw-rw-r--   1 root root 2.9K Apr 19 20:31 valgrind.suppress
    
     
..