anton_latvia

Well-Known Member
PartnerNOC
May 11, 2004
390
12
168
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...
 

mdbasco

Member
Mar 6, 2006
7
0
151
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
 

mdbasco

Member
Mar 6, 2006
7
0
151
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;
 

RazorBlue LTD

Member
Jun 1, 2006
6
0
151
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.
 

anton_latvia

Well-Known Member
PartnerNOC
May 11, 2004
390
12
168
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.
 

naren

Member
Dec 11, 2004
7
0
151
Hi,

Try
/scripts/sysup
/scripts/rpmup

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

With regards,
Narendra.
 

Mariusz Jokiel

Active Member
Nov 8, 2004
27
0
151
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/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...
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,221
4
193
Minneapolis, MN

Mariusz Jokiel

Active Member
Nov 8, 2004
27
0
151
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.
 

jacknv

Registered
Aug 21, 2006
1
0
151
I got by it by installing it through cpan

cpan install Compress::Zlib

Once it was done all was good
 

DN-Paul

Well-Known Member
Oct 30, 2003
91
0
156
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.