Want more timely Centmin Mod News Updates?
Become a Member

I have install error for APC

Discussion in 'Install & Upgrades or Pre-Install Questions' started by karistuck, Jun 21, 2014.

  1. karistuck

    karistuck Member

    43
    2
    8
    Jun 1, 2014
    대한민국
    Ratings:
    +3
    Local Time:
    1:16 PM
    1.5.8
    Code:
    Download APC-3.1.13.tgz ...
    APC-3.1.13.tgz Archive found, skipping download...
    
    gzip: stdin: not in gzip format
    tar: Child returned status 1
    tar: Error is not recoverable: exiting now
    Error: APC-3.1.13.tgz extraction failed.
    check Centmin Mod log for details at /root/centminlogs/
    Aborting script...
    
    ccache stats:
    cache directory                     /home/.ccache
    cache hit (direct)                     0
    cache hit (preprocessed)               0
    cache miss                             0
    files in cache                         0
    cache size                             0 Kbytes
    max cache size                       2.0 Gbytes
    centminmod was not Success install

    I use KVM 512MB / SWAP 1000MB


    I need some idea. Can u help me ?

    thank you
     
  2. eva2000

    eva2000 Administrator Staff Member

    53,211
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,650
    Local Time:
    2:16 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    @karistuck which version of Centmin Mod ? .06 stable or .07 beta ?

    Sounds like corrupted or aborted incomplete download of the APC-3.1.13.tgz file as I checked official download site and it's getting database error on the site http://pecl.php.net/package/APC

    You can try the local mirror I have for APC Cache 3.15-dev which is renamed to 3.1.13 file at http://centminmod.com/centminmodparts/apc/php550/APC-3.1.13.tgz

    Just do the following in SSH window to remove the incomplete download file and download the local mirror one and then rerun centmin.sh menu option 1 to install if this is a fresh install

    Code:
    cd /svr-setup
    rm /svr-setup/APC-3.1.13*
    wget http://centminmod.com/centminmodparts/apc/php550/APC-3.1.13.tgz
    then run centmin.sh install menu option 1
     
  3. eva2000

    eva2000 Administrator Staff Member

    53,211
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,650
    Local Time:
    2:16 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Indeed problematic if APC download site has a database error as above as the download using wget still downloads a file just not the APC file itself

    Code:
     wget http://pecl.php.net/get/APC-${APCCACHE_VERSION}.tgz
    --2014-06-21 11:06:26--  http://pecl.php.net/get/APC-3.1.13.tgz
    Resolving pecl.php.net... 76.75.200.106
    Connecting to pecl.php.net|76.75.200.106|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: unspecified [text/html]
    Saving to: `APC-3.1.13.tgz'
    
        [ <=>                                                                                                                  ] 3,582       --.-K/s   in 0.07s
    
    2014-06-21 11:06:27 (50.9 KB/s) - `APC-3.1.13.tgz' saved [3582]
    3.5KB non-APC file .tgz
    Code:
    ls -lah
    total 12K
    drwxr-xr-x 2 root root 4.0K Jun 21 11:06 .
    drwxr-xr-x 3 root root 4.0K Jun 21 11:06 ..
    -rw-r--r-- 1 root root 3.5K Jun 21 11:06 APC-3.1.13.tgz
    while proper APC file is much larger .tgz file ~168KB for 3.1.13 and ~463KB for 3.1.15-dev

    Code:
    ls -lah /svr-setup/ | grep APC
    drwxr-xr-x  8 root  root   4.0K Jun 14 08:10 APC-3.1.13
    -rw-r--r--  1 root  root   168K Jun 14 08:02 APC-3.1.13.tgz
     
  4. eva2000

    eva2000 Administrator Staff Member

    53,211
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,650
    Local Time:
    2:16 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  5. karistuck

    karistuck Member

    43
    2
    8
    Jun 1, 2014
    대한민국
    Ratings:
    +3
    Local Time:
    1:16 PM
    1.5.8
    @eva2000 Thank you so much.

    I was finished installation.
     
  6. eva2000

    eva2000 Administrator Staff Member

    53,211
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,650
    Local Time:
    2:16 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    You're welcome and thanks for the feedback and bug report :)

    Looks like official pecl.php.net downloads are working again http://pecl.php.net/package/APC :D