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.

Daily upcp try to downlond stupid file. How to fix?

Discussion in 'General Discussion' started by kiat, Nov 7, 2006.

  1. kiat

    kiat Active Member

    Joined:
    Oct 11, 2001
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    Hi,

    I got hundreds line of error in upcp mail. It try to download Compress-Zlib. Here are some of the error. Does anyone get this problem and how can I fix it.
    --------------------------------
    Fetching with LWP:
    http://cpan.linuxforum.net/authors/id/P/PM/PMQS/Compress-Zlib [-] 1.42 [.] tar.gz

    LWP failed with code[404] message[Not Found]
    Fetching with LWP:
    http://cpan.cdpa.nsysu.edu.tw/authors/id/P/PM/PMQS/Compress-Zlib [-] 1.42 [.] tar.gz


    LWP failed with code[404] message[Not Found]
    Fetching with LWP:
    http://www.opensourcecommunity.ph/CPAN/authors/id/P/PM/PMQS/Compress-Zlib [-] 1.42 [.] tar.gz


    LWP failed with code[404] message[Not Found]
    Fetching with LWP:
    http://www.perl.org/CPAN/authors/id/P/PM/PMQS/Compress-Zlib [-] 1.42 [.] tar.gz


    LWP failed with code[404] message[Not Found]
    Fetching with LWP:
    ftp://ftp.perl.org/pub/CPAN/authors/id/P/PM/PMQS/Compress-Zlib [-] 1.42 [.] tar.gz


    LWP failed with code[404] message[File 'Compress-Zlib [-] 1.42 [.] tar.gz' not found]
    Fetching with Net::FTP:
    ftp://ftp.perl.org/pub/CPAN/authors/id/P/PM/PMQS/Compress-Zlib [-] 1.42 [.] tar.gz


    Couldn't fetch Compress-Zlib [-] 1.42 [.] tar.gz from ftp.perl.org: Compress-Zlib [-] 1.42 [.] tar.gz: No such file or directory

    Trying with "/usr/bin/curl -L -f -s -S --netrc-optional" to get
    http://cpan.linuxforum.net/authors/id/P/PM/PMQS/Compress-Zlib [-] 1.42 [.] tar.gz


    curl: (3) [globbing] illegal character in range specification at pos 64



    System call "/usr/bin/curl -L -f -s -S --netrc-optional "http://cpan.linuxforum.net/authors/id/P/PM/PMQS/Compress-Zlib [-] 1.42 [.] tar.gz" > /home/.cpan/sources/authors/id/P/PM/PMQS/Compress-Zlib [-] 1.42 [.] tar"
    returned status 3 (wstat 768)
    Warning: expected file [/home/.cpan/sources/authors/id/P/PM/PMQS/Compress-Zlib [-] 1.42 [.] tar.gz] doesn't exist

    Trying with "/usr/bin/wget -O /home/.cpan/sources/authors/id/P/PM/PMQS/Compress-Zlib [-] 1.42 [.] tar" to get
    http://cpan.linuxforum.net/authors/id/P/PM/PMQS/Compress-Zlib [-] 1.42 [.] tar.gz




    http://[-]: Invalid IPv6 numeric address.
    --22:04:11-- http://1.42/
    => `/home/.cpan/sources/authors/id/P/PM/PMQS/Compress-Zlib'
    Resolving 1.42... 1.0.0.42
    Connecting to 1.42|1.0.0.42|:80... failed: Connection timed out.
    Retrying.

    --22:07:21-- http://1.42/
    (try: 2) => `/home/.cpan/sources/authors/id/P/PM/PMQS/Compress-Zlib'
    Connecting to 1.42|1.0.0.42|:80...
    failed: Connection timed out.
    Retrying.

    --22:10:32-- http://1.42/
    (try: 3) => `/home/.cpan/sources/authors/id/P/PM/PMQS/Compress-Zlib'
    Connecting to 1.42|1.0.0.42|:80... failed: Connection timed out.
    Retrying.

    --22:13:44-- http://1.42/
    (try: 4) => `/home/.cpan/sources/authors/id/P/PM/PMQS/Compress-Zlib'
    Connecting to 1.42|1.0.0.42|:80...
    failed: Connection timed out.
    Retrying.

    --22:16:57-- http://1.42/
    (try: 5) => `/home/.cpan/sources/authors/id/P/PM/PMQS/Compress-Zlib'
    Connecting to 1.42|1.0.0.42|:80...
    failed: Connection timed out.
    Retrying.

    --22:20:11-- http://1.42/
    (try: 6) => `/home/.cpan/sources/authors/id/P/PM/PMQS/Compress-Zlib'
    Connecting to 1.42|1.0.0.42|:80... failed: Connection timed out.
    Retrying.

    --22:23:26-- http://1.42/
    (try: 7) => `/home/.cpan/sources/authors/id/P/PM/PMQS/Compress-Zlib'
    Connecting to 1.42|1.0.0.42|:80...
    failed: Connection timed out.
    Retrying.

    --22:26:42-- http://1.42/
    (try: 8) => `/home/.cpan/sources/authors/id/P/PM/PMQS/Compress-Zlib'
    Connecting to 1.42|1.0.0.42|:80...
    failed: Connection timed out.
    Retrying.

    --------------------------------
    Thank you.
    Kiat.
     
  2. chmod

    chmod Well-Known Member

    Joined:
    Apr 20, 2004
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    London - UK
    I have this too and now my nightly cron for upcp is not running, any ideas?

    cheers

    chmod

    UPDATE..

    looks like my upcp is still running as I get this message when running /scripts/upcp from command line
    cPanel Update (upcp) is already running. Please wait for the previous upcp to complete, or kill off all upcp processes .

    would kill -9 CROND stop the currently running upcp so that I can run it again?
     
    #2 chmod, Nov 7, 2006
    Last edited: Nov 7, 2006
  3. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    Are you sure your server is resolving; your NS/DNS are configured properly?
     
  4. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Versions of Compress::Zlib newer than 1.42 are broken, however it looks like upcp cannot locate version 1.42 on some mirrors (maybe wrong path?).

    It also looks like the curl fallback has more issues as it fails and then the version number of the module gets passed as the hostname for the URL. Nice. I'll see what we can do about this today.
     
  5. cgarvey

    cgarvey Member

    Joined:
    Jul 28, 2003
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Yes, I got the same. The fix is to install the module yourself, manually, like I've to do with an ever increasing number of PERL modules cPanel can't seem to get right.

    It's nothing to do with DNS as suggested earlier (I'd be worried if 1.42 resolved to anything!). I just simply ran
    Code:
    perl -MCPAN -eshell
    and then in that shell did a simple
    Code:
    install Compress::Zlib
    typing 'yes' when prompted did I want to install dependencies.
     
    #5 cgarvey, Nov 7, 2006
    Last edited: Nov 9, 2006
  6. cPDan

    cPDan cPanel Staff
    Staff Member

    Joined:
    Mar 9, 2004
    Messages:
    711
    Likes Received:
    4
    Trophy Points:
    18
    cPanel uses CPAN and has no control over any mirrors except the one we run. In fact we've worked directly with the authors of several modules to address bugs, so in actuality we are helping others "get it right" :) We'll also diligently look into this and see what we can do.

    It could if the mirrors wern't resolving, which is what they were addressing, not the version number error.

    That will get it installed, but is it 1.42? As mentioned earlier the current version is broken which is why version 1.42 was held back for cPanel servers.

    If you really want to do it manually grab http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/Compress-Zlib-1.42.tar.gz and install it as per its README file:

     
  7. cPDan

    cPDan cPanel Staff
    Staff Member

    Joined:
    Mar 9, 2004
    Messages:
    711
    Likes Received:
    4
    Trophy Points:
    18

    For those of you who are playing along at home:

    That should read "-eshell" not "-eshall" BTW :)

    and even easier way is to do it all at once:

    perl -MCPAN -e 'install Whatever::Module;'

    or even better:

    /scripts/realperlinstaller Whatever::Module

    which is the same thing but it handles the prompts for you and is more cPanel centric

    Just FYI
     
  8. cPDan

    cPDan cPanel Staff
    Staff Member

    Joined:
    Mar 9, 2004
    Messages:
    711
    Likes Received:
    4
    Trophy Points:
    18
    This should only be a problem on DNSONLY unless you havn't updated in a while.

    (regex fixed in r1501 on Oct 3 so any build after that (See layer1.cpanel.net) should have it applied)

    For DNSONLY folks here is a patch you can apply:

    Code:
    Index: Cpanel/cPCPAN.pm
    ===================================================================
    --- Cpanel/cPCPAN.pm    (revision 1500)
    +++ Cpanel/cPCPAN.pm    (revision 1501)
    @@ -233,8 +233,8 @@
                     print "cPCPAN: Module holdback ($oldversion held back to $newversion)\n"
                         if $oldversion ne $newversion;
     
    -                $rq->{'RO'}{'CPAN_FILE'} =~ s{ [-] $oldversion [.] }
    -                                             { [-] $newversion [.] }xms;
    +                $rq->{'RO'}{'CPAN_FILE'} =~ s{ [-] [\d.]+ [.] }
    +                                             {-$newversion.}xms;
     
                     $rq->{'RO'}{'CPAN_VERSION'} = $newversion;
     
    
     
  9. Man0warr

    Man0warr Well-Known Member

    Joined:
    Jun 5, 2006
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Dallas, TX
    Getting these errors now too, and on our other server UPCP is still running, way behind schedule because of these errors supposedly. It just started today.



    Just a bunch of that garbage through the whole upcp that finished this morning, about 3 hours late. Of the above replies, which exactly fixes this? I'm a bit confused.
     
  10. cPDan

    cPDan cPanel Staff
    Staff Member

    Joined:
    Mar 9, 2004
    Messages:
    711
    Likes Received:
    4
    Trophy Points:
    18
    http://forums.cpanel.net/showthread.php?p=281315#post281315
     
  11. Man0warr

    Man0warr Well-Known Member

    Joined:
    Jun 5, 2006
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Dallas, TX
  12. Man0warr

    Man0warr Well-Known Member

    Joined:
    Jun 5, 2006
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Dallas, TX
    Still wondering how to apply that patch.
     
  13. Bruce123

    Bruce123 Active Member

    Joined:
    Jul 19, 2005
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    I have the same error this morning. I am running auto updates on "Security Package Updates" only, in case that makes a diference to anyone at cPanel trying to solve this (probably not, but WTH...)


    Am wondering what this means -

    - what is DNSONLY?

    Thanks
     
  14. ryan.overton

    ryan.overton Active Member

    Joined:
    Mar 3, 2006
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    This has also happened to me as well.

    How do I kill the currently running upcp? If I do that, will it harm anything that is going on right now? will doing the above
    Code:
    /scripts/realperlinstaller    
    fix the issue?
     
  15. kiat

    kiat Active Member

    Joined:
    Oct 11, 2001
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    Yes. as you see it try to download from 1.42 which is the version number of Compress:Zlib.

    I 've tried to install manually but it doesn't help at all. upcp still trying to download that file.

    Kiat.
     
  16. cgarvey

    cgarvey Member

    Joined:
    Jul 28, 2003
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Understood, but I was under the impression that upcp would only update modules that had undergone some testing in a cPanel environment. DBD, FileSpec, and others have all had to be installed manually of late.

    Perhaps I wasn't clear, but the fact that upcp is looking for host http://1.42/ is nothing to do with DNS/resolution setup. That's a bug somewhere in cPanel code (that the patch fixes).

    Ah, nope that command simply installs the latest (2.001). I had installed 1.42 manually, but then the method I quoted above installs the latest. I've tested, and can't find anything wrong with 2.001 (or find any reference on Google). Does it break cPanel functionality?
     
  17. Man0warr

    Man0warr Well-Known Member

    Joined:
    Jun 5, 2006
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Dallas, TX
    That patch didn't seem to work, still trying to download 1.42 from http://1.42/

    Also installing 1.4 manually didn't help either.

    This is really annoying, its causing upcp to finish so late on both our main servers.
     
  18. netlook

    netlook Well-Known Member
    PartnerNOC

    Joined:
    Mar 25, 2004
    Messages:
    335
    Likes Received:
    0
    Trophy Points:
    16
    Does anybody find a solution of this problem?
     
  19. nottheusual1

    nottheusual1 Active Member

    Joined:
    Jul 13, 2004
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Bump

    Any updates? 5 of 6 servers doing the same thing and none of the suggestions here seems to work on all of them.

    Thanks.
     
  20. Man0warr

    Man0warr Well-Known Member

    Joined:
    Jun 5, 2006
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Dallas, TX
    Yeah this is still happening.
     
Loading...

Share This Page