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

kiat

Active Member
Oct 11, 2001
31
0
306
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.
 

chmod

Well-Known Member
Apr 20, 2004
45
0
156
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?
 
Last edited:

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,221
4
193
Minneapolis, MN
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.

Connecting to 1.42|1.0.0.42|:80...
failed: Connection timed out.
Retrying.
Are you sure your server is resolving; your NS/DNS are configured properly?
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,608
77
308
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.
 

cgarvey

Member
Jul 28, 2003
10
0
151
Does anyone get this problem and how can I fix it.
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.
 
Last edited:

cPDan

cPanel Staff
Staff member
Mar 9, 2004
721
13
243
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.
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's nothing to do with DNS as suggested earlier (I'd be worried if 1.42 resolved to anything!).
It could if the mirrors wern't resolving, which is what they were addressing, not the version number error.

I just simply ran
Code:
perl -MCPAN -eshall
and then in that shell did a simple
Code:
install Compress::Zlib
typing 'yes' when prompted did I want to install dependencies.
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:

BUILDING THE MODULE
-------------------
Assuming you have met all the prerequisites, the module can now be built
using this sequence of commands:

perl Makefile.PL
make
make test

INSTALLATION
------------

To install Compress::Zlib, run the command below:

make install
 

cPDan

cPanel Staff
Staff member
Mar 9, 2004
721
13
243
Code:
perl -MCPAN -eshall
and then in that shell did a simple
Code:
install Compress::Zlib
typing 'yes' when prompted did I want to install dependencies.

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
 

cPDan

cPanel Staff
Staff member
Mar 9, 2004
721
13
243
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;
 

Man0warr

Well-Known Member
Jun 5, 2006
59
0
156
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.

Running get for module Compress::Zlib
Fetching with LWP:
http://cpan.belfry.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.erlbaum.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.glines.org/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: Failed to open file.

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

System call "/usr/bin/curl -L -f -s -S --netrc-optional "http://cpan.belfry.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 6 (wstat 1536)
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.belfry.net/authors/id/P/PM/PMQS/Compress-Zlib [-] 1.42 [.] tar.gz




http://[-]: Invalid IPv6 numeric address.
--23:44:28-- 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: No route to host.
http://[.]: Invalid IPv6 numeric address.
--23:44:37-- http://tar/
=> `/home/.cpan/sources/authors/id/P/PM/PMQS/Compress-Zlib'
Resolving tar... failed: Name or service not known.
Warning: wildcards not supported in HTTP.
--23:44:37-- http://cpan.belfry.net/authors/id/P/PM/PMQS/Compress-Zlib [-]%201.42%20[.]%20tar.gz
=> `/home/.cpan/sources/authors/id/P/PM/PMQS/Compress-Zlib'
Resolving cpan.belfry.net... 64.246.52.114
Connecting to cpan.belfry.net|64.246.52.114|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
23:44:37 ERROR 404: Not Found.


FINISHED --23:44:37--
Downloaded: 0 bytes in 0 files

System call "/usr/bin/wget -O /home/.cpan/sources/authors/id/P/PM/PMQS/Compress-Zlib [-] 1.42 [.] tar "http://cpan.belfry.net/authors/id/P/PM/PMQS/Compress-Zlib [-] 1.42 [.] tar.gz" "
returned status 1 (wstat 256)
Warning: expected file [/home/.cpan/sources/authors/id/P/PM/PMQS/Compress-Zlib [-] 1.42 [.] tar.gz] doesn't exist

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

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.
 

Bruce123

Active Member
Jul 19, 2005
39
1
158
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 -

For DNSONLY folks here is a patch you can apply:
- what is DNSONLY?

Thanks
 

ryan.overton

Active Member
Mar 3, 2006
35
0
156
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?
 

kiat

Active Member
Oct 11, 2001
31
0
306
Are you sure your server is resolving; your NS/DNS are configured properly?
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.
 

cgarvey

Member
Jul 28, 2003
10
0
151
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.
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.

It could if the mirrors wern't resolving, which is what they were addressing, not the version number error.
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).

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.
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?
 

nottheusual1

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