Welcome to Centmin Mod Community
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:
    7:17 PM
    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. RoldanLT

    RoldanLT Well-Known Member

    3,823
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,257
    Local Time:
    1:17 AM
    1.11
    10.2
    This is on initial install?
     
  3. Lundz

    Lundz Member

    42
    6
    8
    May 28, 2014
    Ratings:
    +7
    Local Time:
    7:17 PM
    Yes, this is on initial install :)
     
    • Like Like x 1
  4. eva2000

    eva2000 Administrator Staff Member

    28,942
    6,570
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,750
    Local Time:
    3:17 AM
    Nginx 1.13.x
    MariaDB 5.5
    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
     
    • Like Like x 1
  5. Floren

    Floren Active Member

    148
    76
    28
    Jun 6, 2014
    Ratings:
    +76
    Local Time:
    1:17 PM
  6. eva2000

    eva2000 Administrator Staff Member

    28,942
    6,570
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,750
    Local Time:
    3:17 AM
    Nginx 1.13.x
    MariaDB 5.5
    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:
    7:17 PM
    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

    28,942
    6,570
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,750
    Local Time:
    3:17 AM
    Nginx 1.13.x
    MariaDB 5.5
    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:
    7:17 PM
    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

    28,942
    6,570
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,750
    Local Time:
    3:17 AM
    Nginx 1.13.x
    MariaDB 5.5
    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:
    7:17 PM
    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

    28,942
    6,570
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,750
    Local Time:
    3:17 AM
    Nginx 1.13.x
    MariaDB 5.5
    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:
    7:17 PM
    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