Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 13 of 13
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge anton_latvia's Avatar
    Join Date
    May 2004
    Posts
    277

    Default Perl installation problems.

    For some time we are not able to update PERL or run checkperlmodules. Everything hangs on Comress-Zlib module. Here are few last lines. Any ideas how/when to fix?


    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/.../Compress-Zlib [-] 1.42 [.] tar.gz


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

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



    http://[-]: Invalid IPv6 numeric address.
    --13:19:47-- 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...
    * http://www.aleksandrov.eu/ - just a simple personal homepage.

  2. #2
    Member
    Join Date
    Mar 2006
    Posts
    7

    Default

    sorry, no solution for you but i thought i'd mention that i am receiving the same error during a fresh dnsonly install. the log files suggest the install is hanging at exactly the same spot as does a netstat. if i can't find a solution here, i'm probably going to open a support ticket. i'll post my results back here.

    mark

  3. #3
    Member
    Join Date
    Mar 2006
    Posts
    7

    Default

    I found the following patch in another thread. It seems to work around the issue. I'm still waiting for the install to complete, but it has gone far beyond the point it used to without the patch. To install it,

    Save the patch to a file (e.g. cPCPAN.patch) and patch it against the cPCPAN.pm on your system. For example:

    patch /path/to/your/cPCPAN.pm cPCPAN.patch

    --------- patch is everything below this line ------------


    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;

  4. #4
    Member
    Join Date
    Jun 2006
    Posts
    6

    Default

    That patch was applied however it still doesn't resolve the issue where 'upcp' goes looking for a file on a invalid IP range.

    We need a proper urgent fix, or at least some attention from CPanel Support regarding this issue.

  5. #5
    cPanel Partner NOC cPanel Partner NOC Badge anton_latvia's Avatar
    Join Date
    May 2004
    Posts
    277

    Default

    I have downloaded perl installation from http://layer1.cpanel.net and run it. When I get to this crappy message, I hit Ctrl+C and installation continues. Then I run /usr/local/cpanel/bin/checkperlmodules and sometimes (???) this problem is fixed.
    * http://www.aleksandrov.eu/ - just a simple personal homepage.

  6. #6
    Member
    Join Date
    Dec 2004
    Posts
    7

    Default

    Hi,

    Try
    /scripts/sysup
    /scripts/rpmup

    and then check updating perl modules, you shouldn't get any problem.

    With regards,
    Narendra.

  7. #7
    Member
    Join Date
    Nov 2004
    Posts
    27

    Default

    Quote Originally Posted by naren View Post
    Hi,

    Try
    /scripts/sysup
    /scripts/rpmup

    and then check updating perl modules, you shouldn't get any problem.

    With regards,
    Narendra.
    It doesn't helps, because there is still a problem:



    LWP failed with code[404] message[Not Found]


    Fetching with LWP:
    http://cpan.wanadoo.nl/authors/id/P/.../Compress-Zlib [-] 1.42 [.] tar.gz


    LWP failed with code[404] message[Not Found]


    Fetching with LWP:
    http://cpan.fluoline.net/authors/id/.../Compress-Zlib [-] 1.42 [.] tar.gz


    LWP failed with code[404] message[Not Found]


    Fetching with LWP:
    http://www.perl.org/CPAN/authors/id/.../Compress-Zlib [-] 1.42 [.] tar.gz


    LWP failed with code[404] message[Not Found]
    Fetching with LWP:
    ftp://ftp.perl.org/pub/CPAN/authors/.../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/.../Compress-Zlib [-] 1.42 [.] tar.gz


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



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


    http://[-]: Invalid IPv6 numeric address.
    --20:23:05-- 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.

    --20:26:15-- http://1.42/
    (try: 2) => `/home/.cpan/sources/authors/id/P/PM/PMQS/Compress-Zlib'
    Connecting to 1.42|1.0.0.42|:80...

  8. #8
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Quote Originally Posted by Mariusz Jokiel View Post
    LWP failed with code[404] message[Not Found]

    Fetching with LWP:
    http://cpan.wanadoo.nl/authors/id/P/.../Compress-Zlib [-] 1.42 [.] tar.gz
    Make sure your server resolves properly. SSH to the server and run these commands (in that order):
    mv /scripts /scripts.OLD
    mkdir /scripts
    rsync -av rsync://rsync.cpanel.net/scripts /scripts
    /scripts/sysup
    /scripts/rpmup
    Andy Reed
    RHCE and CCNA
    ServerTune.com

  9. #9
    Member
    Join Date
    Nov 2004
    Posts
    27

    Default

    Quote Originally Posted by AndyReed View Post
    Make sure your server resolves properly. SSH to the server and run these commands (in that order):
    mv /scripts /scripts.OLD
    mkdir /scripts
    rsync -av rsync://rsync.cpanel.net/scripts /scripts
    /scripts/sysup
    /scripts/rpmup
    It installed all perl modules but I can't use dnsonly installer. There is the same problem as earlier. It is some bug in installer i think. Resolving works properly.

  10. #10
    Registered User
    Join Date
    Jan 2007
    Posts
    1

    Default problem Zlib 1.42

    Same problem beguile - how solve?

  11. #11
    Registered User
    Join Date
    Aug 2006
    Posts
    1

    Default

    I got by it by installing it through cpan

    cpan install Compress::Zlib

    Once it was done all was good

  12. #12
    Member
    Join Date
    Oct 2003
    Posts
    92

    Default

    Quote Originally Posted by Mariusz Jokiel View Post
    http://[-]: Invalid IPv6 numeric address.
    --20:23:05-- 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.

    --20:26:15-- http://1.42/
    (try: 2) => `/home/.cpan/sources/authors/id/P/PM/PMQS/Compress-Zlib'
    Connecting to 1.42|1.0.0.42|:80...
    I get this too, going to open a support ticket.

  13. #13
    cPanel Partner NOC cPanel Partner NOC Badge anton_latvia's Avatar
    Join Date
    May 2004
    Posts
    277

    Default

    Any luck with opened ticket? Few of our server has this problem and few - don't...
    * http://www.aleksandrov.eu/ - just a simple personal homepage.

Similar Threads & Tags
Similar threads

  1. upcp downgraded my Perl installation :(
    By Kent Brockman in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 08-26-2009, 09:46 AM
  2. Perl Module(s) Available for Installation
    By mcaffee in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-31-2007, 03:50 PM
  3. pre installation perl requirements?
    By netkinetics in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-12-2006, 07:16 AM
  4. Could anyone help me with perl installation?
    By iweblite in forum New User Questions
    Replies: 7
    Last Post: 09-07-2006, 09:20 AM
  5. Perl Module installation fails
    By roax66 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 01-05-2006, 05:07 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube