Learn about Centmin Mod LEMP Stack today
Become a Member

Initial installation stable libevent download error

Discussion in 'Bug Reports' started by Lundz, Sep 4, 2014.

  1. Lundz

    Lundz Member

    42
    6
    8
    May 28, 2014
    Ratings:
    +7
    Local Time:
    3:15 AM
    Hello :)

    Here is a log file:
    Download release-2.0.21-stable.tar.gz ...
    Error: release-2.0.21-stable.tar.gz not found !!! Download now......
    Download done.
    tar (child): release-2.0.21-stable.tar.gz: Cannot open: No such file or director
    y
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
    Error: release-2.0.21-stable.tar.gz 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


    Total Centmin Mod Install Time: 159.411099209 seconds

    This bug is effecting both the master branch and the 123.07stable branch, and i have tried to download the package manually didn't help either.

     
  2. rdan

    rdan Well-Known Member

    5,443
    1,402
    113
    May 25, 2014
    Ratings:
    +2,194
    Local Time:
    10:15 AM
    Mainline
    10.2
    This is on initial install?
     
  3. Lundz

    Lundz Member

    42
    6
    8
    May 28, 2014
    Ratings:
    +7
    Local Time:
    3:15 AM
    Yes, this is on initial install :)
     
  4. eva2000

    eva2000 Administrator Staff Member

    54,098
    12,177
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,735
    Local Time:
    12:15 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    either the download url which is at https://github.com/libevent/libevent/archive/release-2.0.21-stable.tar.gz is broken

    or your server aborted the download before it was complete

    what do you see in the download directory by typing these 2 commands

    Code:
    ls -lahrt /svr-setup
    ls -lahrt /svr-setup | grep release-2.0.21-stable.tar.gz
    if the file is incomplete, you need to delete the incomplete file first before re-running initial install

    Code:
    rm -rf /svr-setup/release-2.0.21-stable.tar.gz
     
  5. Floren

    Floren Active Member

    148
    77
    28
    Jun 6, 2014
    Ratings:
    +77
    Local Time:
    9:15 PM
  6. eva2000

    eva2000 Administrator Staff Member

    54,098
    12,177
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,735
    Local Time:
    12:15 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    nah i'm using one direct from github archive/tag :)

    been using 2.0.21 for several years now on CentOS 6 :)
     
  7. Lundz

    Lundz Member

    42
    6
    8
    May 28, 2014
    Ratings:
    +7
    Local Time:
    3:15 AM
    Some additional debugging let's me to believe the problem here is that wget is returning an ssl handsake failure and therefore when i run the installer it will give me a corrupt file..

    Edit:
    So fix for now is to get the file it self and remove the extraction stuff so the function returns true, temporarily fix but it works :)
     
    Last edited: Sep 9, 2014
  8. eva2000

    eva2000 Administrator Staff Member

    54,098
    12,177
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,735
    Local Time:
    12:15 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yeah there's another thread with specific ssl handshake errors on certain github repositories for some reason - it was the reason I changed to archive tagged downloads for libevent in the first place
     
  9. Lundz

    Lundz Member

    42
    6
    8
    May 28, 2014
    Ratings:
    +7
    Local Time:
    3:15 AM
    Okay, but you could at a check to see if the folder is allready existing and then not attempt to extract the downloaded or not even start the download, so that we can add the folders manually :) That would prevent most of the errors because it's possible to get it from a USB from another computer you know :)
     
  10. eva2000

    eva2000 Administrator Staff Member

    54,098
    12,177
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,735
    Local Time:
    12:15 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    by default downloads only happen if the download isn't detected in /svr-setup. If you already have download in /svr-setup (i.e. manual download), the script will not attempt to download the file
     
  11. Lundz

    Lundz Member

    42
    6
    8
    May 28, 2014
    Ratings:
    +7
    Local Time:
    3:15 AM
    I know, but you should add a check to see if file has been extracted, so even if the file is there allready it still returns true if only the folders are there :)
     
  12. eva2000

    eva2000 Administrator Staff Member

    54,098
    12,177
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,735
    Local Time:
    12:15 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    problem is what if the extracted directory is incomplete or only partially extracted ? there's no way to check the contents of a file if you don't know what's in it specifically or what if the tar.gz or zip file changes the extracted folder name ?
     
  13. Lundz

    Lundz Member

    42
    6
    8
    May 28, 2014
    Ratings:
    +7
    Local Time:
    3:15 AM
    Well, yes that can be an issue, but we would be able to download it from another computer and then use an USB or something to import it :p