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.

Perl installation problems.

Discussion in 'General Discussion' started by anton_latvia, Nov 27, 2006.

  1. anton_latvia

    anton_latvia Well-Known Member
    PartnerNOC

    Joined:
    May 11, 2004
    Messages:
    348
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    Latvia
    cPanel Access Level:
    Root Administrator
    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/id/P/PM/PMQS/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/PM/PMQS/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...
     
  2. mdbasco

    mdbasco Member

    Joined:
    Mar 6, 2006
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    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. mdbasco

    mdbasco Member

    Joined:
    Mar 6, 2006
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    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. RazorBlue LTD

    RazorBlue LTD Member

    Joined:
    Jun 1, 2006
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    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. anton_latvia

    anton_latvia Well-Known Member
    PartnerNOC

    Joined:
    May 11, 2004
    Messages:
    348
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    Latvia
    cPanel Access Level:
    Root Administrator
    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.
     
  6. naren

    naren Member

    Joined:
    Dec 11, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    Try
    /scripts/sysup
    /scripts/rpmup

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

    With regards,
    Narendra.
     
  7. Mariusz Jokiel

    Mariusz Jokiel Active Member

    Joined:
    Nov 8, 2004
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    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/PM/PMQS/Compress-Zlib [-] 1.42 [.] tar.gz


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


    Fetching with LWP:
    http://cpan.fluoline.net/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: 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/PM/PMQS/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. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    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
     
  9. Mariusz Jokiel

    Mariusz Jokiel Active Member

    Joined:
    Nov 8, 2004
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    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. marcinTM

    marcinTM Registered

    Joined:
    Jan 2, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    problem Zlib 1.42

    Same problem beguile - how solve?
     
  11. jacknv

    jacknv Registered

    Joined:
    Aug 21, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I got by it by installing it through cpan

    cpan install Compress::Zlib

    Once it was done all was good
     
  12. DN-Paul

    DN-Paul Well-Known Member

    Joined:
    Oct 30, 2003
    Messages:
    91
    Likes Received:
    0
    Trophy Points:
    6
    I get this too, going to open a support ticket.
     
  13. anton_latvia

    anton_latvia Well-Known Member
    PartnerNOC

    Joined:
    May 11, 2004
    Messages:
    348
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    Latvia
    cPanel Access Level:
    Root Administrator
    Any luck with opened ticket? Few of our server has this problem and few - don't... :confused:
     
Loading...

Share This Page