Welcome to Centmin Mod Community
Become a Member

Install Cannot install, seems zip file not downloaded

Discussion in 'Install & Upgrades or Pre-Install Questions' started by jellday, Jun 28, 2018.

  1. jellday

    jellday Member

    44
    3
    8
    May 31, 2014
    Ratings:
    +5
    Local Time:
    4:38 AM
    1.4.6
    5.5
    Please fill in any relevant information that applies to you:
    • CentOS Version: CentOS 6.9 64bit
    • Centmin Mod Version Installed: 123.08stable
    I got the following error msg:
    Code:
    curl -O https://centminmod.com/installer.sh && chmod 0700 installer.sh && bash installer.sh
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100 11455  100 11455    0     0  14653      0 --:--:-- --:--:-- --:--:-- 56151
    Loaded plugins: fastestmirror, security
    Cleaning repos: base epel extras updates
    Cleaning up Everything
    setenforce: SELinux is disabled
    setenforce: SELinux is disabled
    mv: cannot stat `centminmod-123.08stable': No such file or directory
    installer.sh: line 114: cd: centminmod: No such file or directory
    chmod: cannot access `centmin.sh': No such file or directory
    installer.sh: line 152: ./centmin.sh: No such file or directory
    
    Created command shortcuts:
    * type cmdir to change to Centmin Mod install directory
      at /usr/local/src/centminmod
    * type centmin call and run centmin.sh
      at /usr/local/src/centminmod/centmin.sh
    
    (standard_in) 2: syntax error
    (standard_in) 2: syntax error
    installer.sh: line 180: /root/centminlogs/firstyum_installtime_280618-115717.log: No such file or directory
    ---------------------------------------------------------------------------
    installer.sh: line 182: /root/centminlogs/firstyum_installtime_280618-115717.log: No such file or directory
    tail: cannot open `/root/centminlogs/firstyum_installtime_*.log' for reading: No such file or directory
    tail: cannot open `/root/centminlogs/centminmod_yumtimes_*.log' for reading: No such file or directory
    tail: cannot open `/root/centminlogs/centminmod_downloadtimes_*.log' for reading: No such file or directory
    tail: cannot open `/root/centminlogs/centminmod_ngxinstalltime_*.log' for reading: No such file or directory
    tail: cannot open `/root/centminlogs/centminmod_phpinstalltime_*.log' for reading: No such file or directory
    tail: cannot open `/root/centminlogs/*_install.log' for reading: No such file or directory
    awk: cmd. line:1: fatal: cannot open file `/root/centminlogs/firstyum_installtime_*.log' for reading (No such file or directory)
    awk: cmd. line:1: fatal: cannot open file `/root/centminlogs/*_install.log' for reading (No such file or directory)
    (standard_in) 1: syntax error
    (standard_in) 1: syntax error
    Total YUM + Source Download Time: 0.0000
    Total Nginx First Time Install Time: 0.0000
    Total PHP First Time Install Time: 0.0000
    Download Zip From Github Time: 0.0000
    Total Time Other eg. source compiles: 0.0000
    Total Centmin Mod Install Time: 0.0000
    ---------------------------------------------------------------------------
    Total Install Time (curl yum + cm install + zip download): 0.0000 seconds
    ---------------------------------------------------------------------------
    

     
  2. eva2000

    eva2000 Administrator Staff Member

    35,099
    7,748
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,948
    Local Time:
    6:38 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Tried using official command at Centmin Mod LEMP Stack Install Nginx on CentOS for 123.08stable ? it has yum update before curl.

    Try on fresh reloaded centos 6.9 64bit
    Code (Text):
    yum -y update; curl -O https://centminmod.com/installer.sh && chmod 0700 installer.sh && bash installer.sh
    
     
  3. jellday

    jellday Member

    44
    3
    8
    May 31, 2014
    Ratings:
    +5
    Local Time:
    4:38 AM
    1.4.6
    5.5
    I did the yum before running your command. The OS is fresh

    Code:
    [[email protected] ~]# yum -y update; curl -O https://centminmod.com/installer.sh && chmod 0700 installer.sh && bash installer.sh
    Loaded plugins: fastestmirror, security
    Setting up Update Process
    Determining fastest mirrors
    base                                                                                                                                                                                      | 3.7 kB     00:00     
    base/primary_db                                                                                                                                                                           | 4.7 MB     00:00     
    epel                                                                                                                                                                                      | 3.2 kB     00:00     
    epel/primary                                                                                                                                                                              | 3.2 MB     00:00     
    epel                                                                                                                                                                                                 12514/12514
    extras                                                                                                                                                                                    | 3.4 kB     00:00     
    extras/primary_db                                                                                                                                                                         |  30 kB     00:00     
    updates                                                                                                                                                                                   | 3.4 kB     00:00     
    updates/primary_db                                                                                                                                                                        | 8.1 MB     00:00     
    No Packages marked for Update
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100 11455  100 11455    0     0  13336      0 --:--:-- --:--:-- --:--:-- 38056
    Loaded plugins: fastestmirror, security
    Cleaning repos: base epel extras updates
    Cleaning up Everything
    Cleaning up list of fastest mirrors
    setenforce: SELinux is disabled
    setenforce: SELinux is disabled
    mv: cannot stat `centminmod-123.08stable': No such file or directory
    installer.sh: line 114: cd: centminmod: No such file or directory
    chmod: cannot access `centmin.sh': No such file or directory
    installer.sh: line 152: ./centmin.sh: No such file or directory
    
    Created command shortcuts:
    * type cmdir to change to Centmin Mod install directory
      at /usr/local/src/centminmod
    * type centmin call and run centmin.sh
      at /usr/local/src/centminmod/centmin.sh
    
    (standard_in) 2: syntax error
    (standard_in) 2: syntax error
    installer.sh: line 180: /root/centminlogs/firstyum_installtime_280618-135354.log: No such file or directory
    ---------------------------------------------------------------------------
    installer.sh: line 182: /root/centminlogs/firstyum_installtime_280618-135354.log: No such file or directory
    tail: cannot open `/root/centminlogs/firstyum_installtime_*.log' for reading: No such file or directory
    tail: cannot open `/root/centminlogs/centminmod_yumtimes_*.log' for reading: No such file or directory
    tail: cannot open `/root/centminlogs/centminmod_downloadtimes_*.log' for reading: No such file or directory
    tail: cannot open `/root/centminlogs/centminmod_ngxinstalltime_*.log' for reading: No such file or directory
    tail: cannot open `/root/centminlogs/centminmod_phpinstalltime_*.log' for reading: No such file or directory
    tail: cannot open `/root/centminlogs/*_install.log' for reading: No such file or directory
    awk: cmd. line:1: fatal: cannot open file `/root/centminlogs/firstyum_installtime_*.log' for reading (No such file or directory)
    awk: cmd. line:1: fatal: cannot open file `/root/centminlogs/*_install.log' for reading (No such file or directory)
    (standard_in) 1: syntax error
    (standard_in) 1: syntax error
    Total YUM + Source Download Time: 0.0000
    Total Nginx First Time Install Time: 0.0000
    Total PHP First Time Install Time: 0.0000
    Download Zip From Github Time: 0.0000
    Total Time Other eg. source compiles: 0.0000
    Total Centmin Mod Install Time: 0.0000
    ---------------------------------------------------------------------------
    Total Install Time (curl yum + cm install + zip download): 0.0000 seconds
    ---------------------------------------------------------------------------
    
     
  4. eva2000

    eva2000 Administrator Staff Member

    35,099
    7,748
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,948
    Local Time:
    6:38 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    strange you can do a bash debug run and see what is happening and pipe run output to log file which you can share via gist.github.com or pastebin.com

    so download installer.sh and run installer.sh as debug output and pipe to log file at /root/cm-install.log
    Code (Text):
    yum -y update; curl -O https://centminmod.com/installer.sh && chmod 0700 installer.sh
    bash -x installer.sh | tee /root/cm-install.log
    
     
  5. jellday

    jellday Member

    44
    3
    8
    May 31, 2014
    Ratings:
    +5
    Local Time:
    4:38 AM
    1.4.6
    5.5
    Here is the log file:
    output - Pastebin.com

    And I thought maybe the screen output can be useful:
    Output2 - Pastebin.com

    in which I spotted the message: "mv: cannot stat `centminmod-123.08stable': No such file or directory".
     
  6. eva2000

    eva2000 Administrator Staff Member

    35,099
    7,748
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,948
    Local Time:
    6:38 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    sounds like the zip file isn't downloaded properly
    Code (Text):
    + cminstall
    + cd /usr/local/src
    + [[ ! -f 123.08stable.zip ]]
    + mv centminmod-123.08stable centminmod
    mv: cannot stat `centminmod-123.08stable': No such file or directory
    + cd centminmod
    installer.sh: line 114: cd: centminmod: No such file or directory
    + chmod +x centmin.sh
    chmod: cannot access `centmin.sh': No such file or directory
    + ./centmin.sh install
    installer.sh: line 152: ./centmin.sh: No such file or directory

    what output do you get for
    Code (Text):
    yum list wget unzip
    

    What output do you get if you try manually doing the installer.sh steps centminmod/centminmod

    type the following for 123.08stable
    Code (Text):
    branchname=123.08stable
    DOWNLOAD="${branchname}.zip"
    INSTALLDIR='/usr/local/src'
    cd $INSTALLDIR
    wget -c --no-check-certificate https://github.com/centminmod/centminmod/archive/${DOWNLOAD} --tries=3
    unzip ${DOWNLOAD}
    mv centminmod-${branchname} centminmod
    cd centminmod
    chmod +x centmin.sh
    ls -lah centmin.sh
    
     
  7. eva2000

    eva2000 Administrator Staff Member

    35,099
    7,748
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,948
    Local Time:
    6:38 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    also check if you have internet connectivity too
    Code (Text):
    ping -c4 google.com
    ping -c4 github.com
    ping -c4 centminmod.com
    
     
  8. jellday

    jellday Member

    44
    3
    8
    May 31, 2014
    Ratings:
    +5
    Local Time:
    4:38 AM
    1.4.6
    5.5
    Code:
    [[email protected] ~]# yum list wget unzip
    Loaded plugins: fastestmirror, security
    Determining fastest mirrors
    base                                                                                                                                  | 3.7 kB     00:00     
    base/primary_db                                                                                                                       | 4.7 MB     00:00     
    epel                                                                                                                                  | 3.2 kB     00:00     
    epel/primary                                                                                                                          | 3.2 MB     00:00     
    epel                                                                                                                                             12515/12515
    extras                                                                                                                                | 3.4 kB     00:00     
    extras/primary_db                                                                                                                     |  25 kB     00:00     
    updates                                                                                                                               | 3.3 kB     00:00     
    updates/primary_db                                                                                                                    |  12 kB     00:00     
    Installed Packages
    unzip.x86_64                                                                6.0-5.el6                                                                   @base
    wget.x86_64                                                                 1.12-10.el6                                                                 @base
    It is the unzip command went error:

    Code:
    [[email protected] ~]# branchname=123.08stable
    [[email protected] ~]# DOWNLOAD="${branchname}.zip"
    [[email protected] ~]# INSTALLDIR='/usr/local/src'
    [[email protected] ~]# cd $INSTALLDIR
    [[email protected] src]# wget -c --no-check-certificate https://github.com/centminmod/centminmod/archive/${DOWNLOAD} --tries=3
    --2018-07-07 12:49:11--  https://github.com/centminmod/centminmod/archive/123.08stable.zip
    Resolving github.com... d centminmod
    chmod +x centmin.sh
    ls -lah centmin.sh13.229.188.59, 52.74.223.119, 13.250.177.223
    Connecting to github.com|13.229.188.59|:443... connected.
    HTTP request sent, awaiting response... 302 Found
    Location: https://codeload.github.com/centminmod/centminmod/zip/123.08stable [following]
    --2018-07-07 12:49:13--  https://codeload.github.com/centminmod/centminmod/zip/123.08stable
    Resolving codeload.github.com... 54.251.140.56, 13.229.189.0, 13.250.162.133
    Connecting to codeload.github.com|54.251.140.56|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    
        The file is already fully retrieved; nothing to do.
    
    [[email protected] src]# unzip ${DOWNLOAD}
    Archive:  123.08stable.zip
      End-of-central-directory signature not found.  Either this file is not
      a zipfile, or it constitutes one disk of a multi-part archive.  In the
      latter case the central directory and zipfile comment will be found on
      the last disk(s) of this archive.
    unzip:  cannot find zipfile directory in one of 123.08stable.zip or
            123.08stable.zip.zip, and cannot find 123.08stable.zip.ZIP, period.
     
  9. jellday

    jellday Member

    44
    3
    8
    May 31, 2014
    Ratings:
    +5
    Local Time:
    4:38 AM
    1.4.6
    5.5
    Deleted the old file and download again and problem solved
     
    • Informative Informative x 1
  10. eva2000

    eva2000 Administrator Staff Member

    35,099
    7,748
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,948
    Local Time:
    6:38 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Ah.. you re-running command on the same failed OS install ? Usually reloading the OS fresh is advisable so downloaded zip is fresh too
     
..