The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

why is this still happening?

Discussion in 'General Discussion' started by HD-Sam, Jul 20, 2004.

  1. HD-Sam

    HD-Sam Active Member
    PartnerNOC

    Joined:
    Sep 23, 2003
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Iowa City, Iowa
    If I try to run /scripts/upcp --force
    I still get the following error stating download failed..trying again... (and it never strops trying).


    bzip2: Compressed file ends unexpectedly;
    perhaps it is corrupted? *Possible* reason follows.
    bzip2: Success
    Input file = /usr/local/cpanel/./share/templates/HTML Document-cpanelsync.bz2, output file = /usr/local/cpanel/./share/templates/HTML Document-cpanelsync

    It is possible that the compressed file(s) have become corrupted.
    You can use the -tvv option to test integrity of such files.

    You can use the `bzip2recover' program to attempt to recover
    data from undamaged sections of corrupted files.

    bzip2: Deleting output file /usr/local/cpanel/./share/templates/HTML Document-cpanelsync, if it exists.
    md5sum mismatch (actual: ) (expected: ec642902328bc36350a6ba71febb69bb)
    Download Failed... trying again..
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    I just upgraded an installation to EDGE without problems (Fedora Core 1).

    Anyway, you probably won't get much joy here, especially without specifying your OS and which version of cPanel you're upgrading to. Better off logging a support request.
     
  3. mr.wonderful

    mr.wonderful BANNED

    Joined:
    Feb 1, 2004
    Messages:
    345
    Likes Received:
    0
    Trophy Points:
    0
    Im getting the exact error when upgrading a RH 7.2 box

    bzip2: Compressed file ends unexpectedly;
    perhaps it is corrupted? *Possible* reason follows.
    bzip2: Success
    Input file = /usr/local/cpanel/./base/docs/whm/FAQ.htm-cpanelsync.bz2, output file = /usr/local/cpanel/./base/docs/whm/FAQ.htm-cpanelsync

    It is possible that the compressed file(s) have become corrupted.
    You can use the -tvv option to test integrity of such files.

    You can use the `bzip2recover' program to *attempt* to recover
    data from undamaged sections of corrupted files.

    bzip2: Deleting output file /usr/local/cpanel/./base/docs/whm/FAQ.htm-cpanelsync, if it exists.
    md5sum mismatch (actual: ) (expected: 95c430b24a6192c2bf8907a828144d33)

    I submitted a ticket on this more than 1 week ago and some nut closed it!
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    I know exactly how to fix that.
     
  5. Andrew Duck

    Andrew Duck Member

    Joined:
    Aug 17, 2003
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    care to enlighten the rest of us?
     
  6. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    LOL !

    damn 10 char min limit
     
  7. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Hi Andrew, My apologies, I haven't the faintest idea - it was a dig at "mr. wonderful", as that person tends to post that he's fixed a problem that others are suffering from and then declines to post how on these forums ;)
     
  8. Andrew Duck

    Andrew Duck Member

    Joined:
    Aug 17, 2003
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    lol, fair enough.

    Well I will pose my question to the rest of the community then... I am encountering the same error as shown below in trying to update my servers using /scripts/upcp

    bzip2: Deleting output file /usr/local/cpanel/./share/templates/HTML Document-cpanelsync, if it exists.
    md5sum mismatch (actual: ) (expected: ec642902328bc36350a6ba71febb69bb)
    Download Failed... trying again..

    It seems as if md5 doesn't even work on the server because it can't obtain a valid actual checksum for comparison against a file. About half way through the update it does begin to generate actual checksums, but none match the expected and the update fails anyway.

    Not only does this happen on /scripts/upcp but it also happens on the Copy an Account functions within WHM. The script successfully logs into the remote server and zips everything up, but when it copies the file across it does not generate an actual md5sum for comparison against the expected. This is causing all Copy an Account functions to fail on my servers.

    Any suggestions as to how or why this may be happening. It seems to only have been a problem after I upgraded my servers last night to one of the latest Releases.
     
  9. goodmove

    goodmove Well-Known Member

    Joined:
    May 12, 2003
    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    16
    You may want to run /scripts/cleanmd5
     
  10. Andrew Duck

    Andrew Duck Member

    Joined:
    Aug 17, 2003
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Just tried the cleanmd5 script, then tried upcp but still no luck:

    Fetching http://httpupdate.cpanel.net/cpanelsync/RELEASE/cpanel/install/update....Trying httpupdate.cpanel.net @ 69.72.164.152
    100%......Done
    md5sum mismatch (actual: 21750426e85233b354925211a43ff86c) (expected: 89f3ba9d23c684e8d10ebddc7c1a7599)
    Download Failed... trying again..


    still getting errors like that. I am also getting something else which seems weird, before it gets to that stage...

    Fetching http://httpupdate.cpanel.net/cpanelsync/RELEASE/cpanel/install/sqllimit.bz2....100%......Done
    md5sum mismatch (actual: ) (expected: e3af18618247e10e39c578b323c4c14f)
    Fetching http://httpupdate.cpanel.net/cpanelsync/RELEASE/cpanel/install/sqllimit....100%......Done
    Got file ./install/sqllimit ok (md5 matches)


    it seems to fail the .bz2 file but not the normal file... does that for all downloads before it reaches the install/update file. which is the topmost error in this post.

    Anyone experienced this yet following one of the recent RELEASE versions?

    according to upcp:

    Fetching http://httpupdate.cpanel.net/cpanelsync/RELEASE/cpanel/version....100%......Done
    Installed Version: 9.9.6-RELEASE_10
    Newest Version: 9.9.8-RELEASE_5
     
  11. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Have you tried upgrading to a different release state, e.g. STABLE, CURRENT or EDGE to see if that bypasses the problem?
     
  12. Andrew Duck

    Andrew Duck Member

    Joined:
    Aug 17, 2003
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Same errors again, in the same places. tried them all.
     
  13. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    One last stab from me, otherwise I'd recommend a trouble ticket with cPanel:

    perl -MCPAN -e shell

    (answer no to the first question if you get one)

    force install MD5
    force install Digest::MD5


    I know /scripts/cleanmd5 does something similar, but it's crude it comparison to the above.
     
  14. Andrew Duck

    Andrew Duck Member

    Joined:
    Aug 17, 2003
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Checking if your kit is complete...
    Looks good
    Writing Makefile for MD5
    make: execvp: chmod: Too many levels of symbolic links
    make: [blib/lib/.exists] Error 127 (ignored)
    make: execvp: chmod: Too many levels of symbolic links
    make: [blib/arch/auto/MD5/.exists] Error 127 (ignored)
    make: execvp: chmod: Too many levels of symbolic links
    make: [blib/lib/auto/MD5/.exists] Error 127 (ignored)
    make: execvp: chmod: Too many levels of symbolic links
    make: [blib/man3/.exists] Error 127 (ignored)
    cp MD5.pm blib/lib/MD5.pm
    make: execvp: touch: Too many levels of symbolic links
    make: *** [pm_to_blib] Error 127
    /usr/bin/make -- NOT OK
    Running make test
    Can't test without successful make
    Running make install
    make had returned bad status, install seems impossible
     
  15. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    That would appear to be a problem ;)
     
  16. Andrew Duck

    Andrew Duck Member

    Joined:
    Aug 17, 2003
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    anyone care to take a stab in the dark as to how we rectify that issue?
     
  17. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    Well, usually that error of "too many symbolic links" happens when there is a file symlinked to itself. For example `ln -s file file`. In this case it would be a matter of locating the invalid symlink.
     
  18. mr.wonderful

    mr.wonderful BANNED

    Joined:
    Feb 1, 2004
    Messages:
    345
    Likes Received:
    0
    Trophy Points:
    0
    I think iv posted one such message and no other. Please show me where iv done additonal ones and ill post the solution.
     
  19. Andrew Duck

    Andrew Duck Member

    Joined:
    Aug 17, 2003
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    I thought back to when I did the server upgrade and the only other thing I had done at the time was install a few of the addons such as clamav and modmono, etc.

    Uninstalled all of them, because I couldn't be arsed checking... and now everything works again. Something must be wrong with one of those addons. Might get a chance to test it all out again tomorrow night.
     
  20. shetland

    shetland Registered

    Joined:
    Oct 27, 2003
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Well, it happened to me too, on a migration from an Ensim server, on which I have the port 22 ssh server turned off. I struggled with it for a bit, then noticed that when it tries to run /script/pkgacct on the remote server, it never passes the port (if other than 22) on the ssh command line. It does specify the port number when gathering the list of sites on the ensim server however, so it was rather perplexing for the better part of a day.

    What is interesting about these results is that, the connection to port 22 on the remote server was basically just timing out, so there was no output at all. The error message complaining about an improper md5sum is just that, generic. I didn't check the code, but it would appear at first glance of the mutual symptoms that if anything at all goes wrong with the backup of the site, and the remote side never outputs the md5sum line at the end of it's run, you get that generic error message.
     
    #20 shetland, Oct 27, 2004
    Last edited: Oct 28, 2004
Loading...

Share This Page