[Case 69101] WHM 11.34.1 to 11.38 update - timeout on connect ?

eva2000

Well-Known Member
Aug 14, 2001
339
16
318
Brisbane, Australia
cPanel Access Level
Root Administrator
Twitter
Doing a WHM 11.34.1 to 11.38 update on one server and at following stage:

Code:
[maintenance] Making sure all needed perl modules are installed : /usr/local/cpanel/install/perlmods
get the following ?

Code:
(resolve attempt 1/65)......connecting to 62.58.50.18......Unable to connect to host: 62.58.50.18......removing 62.58.50.18......Failed......(request attempt 12/12)...Resolving cpan.mirror.versatel.nl...(resolve attempt 1/65)......connecting to 62.58.50.18......Unable to connect to host: 62.58.50.18......removing 62.58.50.18......Failed......Done
[20130611.023342]      [11883] Cpanel::HttpRequest [url]http://cpan.mirror.versatel.nl///authors/id/B/BJ/BJOERN/XML-SAX-Expat-0.50.tar.gz:[/url] Bad file descriptor at /usr/local/cpanel/Cpanel/cPCPAN/cpanminus.pm line 146.
[20130611.023342]      [11883] ! Download [url]http://cpan.mirror.versatel.nl///authors/id/B/BJ/BJOERN/XML-SAX-Expat-0.50.tar.gz[/url] failed. Retrying ... 
[20130611.023342]      [11883] ! Failed to download [url]http://cpan.mirror.versatel.nl///authors/id/B/BJ/BJOERN/XML-SAX-Expat-0.50.tar.gz[/url]
[20130611.023828]      [11883] Fetching [url]http://cpan.ip.pt///authors/id/B/BJ/BJOERN/XML-SAX-Expat-0.50.tar.gz[/url] ... Fetching [url]http://cpan.ip.pt/authors/id/B/BJ/BJOERN/XML-SAX-Expat-0.50.tar.gz[/url] (connected:0).......(request attempt 1/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 2/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 3/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 4/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 5/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73...
[20130611.024328]      [11883] ..Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 6/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 7/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 8/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 9/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 10/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73...
[20130611.024542]      [11883] ..Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 11/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 12/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......Done
[20130611.024542]      [11883] Cpanel::HttpRequest [url]http://cpan.ip.pt///authors/id/B/BJ/BJOERN/XML-SAX-Expat-0.50.tar.gz:[/url] Bad file descriptor at /usr/local/cpanel/Cpanel/cPCPAN/cpanminus.pm line 146.
[20130611.024542]      [11883] FAIL
[20130611.024542]      [11883] ! Download [url]http://cpan.ip.pt///authors/id/B/BJ/BJOERN/XML-SAX-Expat-0.50.tar.gz[/url] failed. Retrying ... 
[20130611.024828]      [11883] Fetching [url]http://cpan.ip.pt/authors/id/B/BJ/BJOERN/XML-SAX-Expat-0.50.tar.gz[/url] (connected:0).......(request attempt 1/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 2/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 3/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73...
[20130611.025328]      [11883] ..Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 4/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 5/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 6/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 7/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 8/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73...
[20130611.025742]      [11883] ..Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 9/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 10/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 11/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 12/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......Done
[20130611.025742]      [11883] Cpanel::HttpRequest [url]http://cpan.ip.pt///authors/id/B/BJ/BJOERN/XML-SAX-Expat-0.50.tar.gz:[/url] Bad file descriptor at /usr/local/cpanel/Cpanel/cPCPAN/cpanminus.pm line 146.
[20130611.025742]      [11883] ! Download [url]http://cpan.ip.pt///authors/id/B/BJ/BJOERN/XML-SAX-Expat-0.50.tar.gz[/url] failed. Retrying ... 
[20130611.025828]      [11883] Fetching [url]http://cpan.ip.pt/authors/id/B/BJ/BJOERN/XML-SAX-Expat-0.50.tar.gz[/url] (connected:0).......(request attempt 1/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73...
 

Dr Ahmed

Member
Mar 22, 2011
19
0
51
cPanel Access Level
Root Administrator
Doing a WHM 11.34.1 to 11.38 update on one server and at following stage:

Code:
[maintenance] Making sure all needed perl modules are installed : /usr/local/cpanel/install/perlmods
get the following ?

Code:
(resolve attempt 1/65)......connecting to 62.58.50.18......Unable to connect to host: 62.58.50.18......removing 62.58.50.18......Failed......(request attempt 12/12)...Resolving cpan.mirror.versatel.nl...(resolve attempt 1/65)......connecting to 62.58.50.18......Unable to connect to host: 62.58.50.18......removing 62.58.50.18......Failed......Done
[20130611.023342]      [11883] Cpanel::HttpRequest [url]http://cpan.mirror.versatel.nl///authors/id/B/BJ/BJOERN/XML-SAX-Expat-0.50.tar.gz:[/url] Bad file descriptor at /usr/local/cpanel/Cpanel/cPCPAN/cpanminus.pm line 146.
[20130611.023342]      [11883] ! Download [url]http://cpan.mirror.versatel.nl///authors/id/B/BJ/BJOERN/XML-SAX-Expat-0.50.tar.gz[/url] failed. Retrying ... 
[20130611.023342]      [11883] ! Failed to download [url]http://cpan.mirror.versatel.nl///authors/id/B/BJ/BJOERN/XML-SAX-Expat-0.50.tar.gz[/url]
[20130611.023828]      [11883] Fetching [url]http://cpan.ip.pt///authors/id/B/BJ/BJOERN/XML-SAX-Expat-0.50.tar.gz[/url] ... Fetching [url]http://cpan.ip.pt/authors/id/B/BJ/BJOERN/XML-SAX-Expat-0.50.tar.gz[/url] (connected:0).......(request attempt 1/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 2/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 3/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 4/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 5/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73...
[20130611.024328]      [11883] ..Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 6/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 7/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 8/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 9/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 10/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73...
[20130611.024542]      [11883] ..Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 11/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 12/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......Done
[20130611.024542]      [11883] Cpanel::HttpRequest [url]http://cpan.ip.pt///authors/id/B/BJ/BJOERN/XML-SAX-Expat-0.50.tar.gz:[/url] Bad file descriptor at /usr/local/cpanel/Cpanel/cPCPAN/cpanminus.pm line 146.
[20130611.024542]      [11883] FAIL
[20130611.024542]      [11883] ! Download [url]http://cpan.ip.pt///authors/id/B/BJ/BJOERN/XML-SAX-Expat-0.50.tar.gz[/url] failed. Retrying ... 
[20130611.024828]      [11883] Fetching [url]http://cpan.ip.pt/authors/id/B/BJ/BJOERN/XML-SAX-Expat-0.50.tar.gz[/url] (connected:0).......(request attempt 1/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 2/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 3/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73...
[20130611.025328]      [11883] ..Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 4/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 5/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 6/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 7/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 8/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73...
[20130611.025742]      [11883] ..Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 9/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 10/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 11/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......(request attempt 12/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73.....Timeout on connect.....Unable to connect to host: 195.23.131.73......removing 195.23.131.73......Failed......Done
[20130611.025742]      [11883] Cpanel::HttpRequest [url]http://cpan.ip.pt///authors/id/B/BJ/BJOERN/XML-SAX-Expat-0.50.tar.gz:[/url] Bad file descriptor at /usr/local/cpanel/Cpanel/cPCPAN/cpanminus.pm line 146.
[20130611.025742]      [11883] ! Download [url]http://cpan.ip.pt///authors/id/B/BJ/BJOERN/XML-SAX-Expat-0.50.tar.gz[/url] failed. Retrying ... 
[20130611.025828]      [11883] Fetching [url]http://cpan.ip.pt/authors/id/B/BJ/BJOERN/XML-SAX-Expat-0.50.tar.gz[/url] (connected:0).......(request attempt 1/12)...Resolving cpan.ip.pt...(resolve attempt 1/65)......connecting to 195.23.131.73...
This happens to me yesterday , you can relaunch update now, it has been fixed
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
Hello :)

Are you still experiencing this issue, or was it a temporary network issue with the CPAN mirrors?

Also, if this is a VPS, check to make sure you are not encountering any resource limits. Look for fail counts with the "tcpsndbuf" parameter in:

Code:
# /proc/user_beancounters
Thank you.
 

sparek-3

Well-Known Member
Aug 10, 2002
1,983
218
343
cPanel Access Level
Root Administrator
Seeing this right now, trying to upgrade servers from 11.34 to 11.36

Code:
[20130611.215700]      [31885] Fetching http://cpan.sarang.net///authors/id/B/BJ/BJOERN/XML-SAX-Expat-0.50.tar.gz ...                                           Fetching http://cpan.sarang.net/authors/id/B/BJ/BJOERN/XML-SAX-Expat-0.50.tar.gz (connected:1).......(request attempt 1/12)...Resolving cpan.sarang.net...(resolve attempt 1/65)......connecting to [email protected].100%......request success......Done
[20130611.215700]      [31885] OK
[20130611.215700]      [31885] Unpacking XML-SAX-Expat-0.50.tar.gz
[20130611.215700]      [31885] ./
[20130611.215700]      [31885] ./XML-SAX-Expat-0.50/
[20130611.215700]      [31885] ./XML-SAX-Expat-0.50/Expat.pm
[20130611.215700]      [31885] ./XML-SAX-Expat-0.50/MANIFEST
[20130611.215700]      [31885] ./XML-SAX-Expat-0.50/Changes
[20130611.215700]      [31885] ./XML-SAX-Expat-0.50/Makefile.PL
[20130611.215700]      [31885] ./XML-SAX-Expat-0.50/META.json
[20130611.215700]      [31885] ./XML-SAX-Expat-0.50/t/
[20130611.215700]      [31885] ./XML-SAX-Expat-0.50/t/00basic.t
[20130611.215700]      [31885] ./XML-SAX-Expat-0.50/t/99podcov.t
[20130611.215700]      [31885] ./XML-SAX-Expat-0.50/t/98podsyn.t
[20130611.215700]      [31885] ./XML-SAX-Expat-0.50/META.yml
[20130611.215700]      [31885] ./XML-SAX-Expat-0.50/eg/
[20130611.215700]      [31885] ./XML-SAX-Expat-0.50/eg/counter.pl
[20130611.215700]      [31885] ./XML-SAX-Expat-0.50/README
[20130611.215700]      [31885] ! Bad archive: XML-SAX-Expat-0.50.tar.gz
[20130611.215700]      [31885] ! Failed to unpack XML-SAX-Expat-0.50.tar.gz: no directory
[20130611.215914]      [31885] Fetching http://archive.cpan.cz///authors/id/B/BJ/BJOERN/XML-SAX-Expat-0.50.tar.gz ...                                           Fetching http://archive.cpan.cz/authors/id/B/BJ/BJOERN/XML-SAX-Expat-0.50.tar.gz (connected:1).......(request attempt 1/12)...Resolving archive.cpan.cz...(resolve attempt 1/65)......connecting to 81.91.81.54.....Timeout on connect.....Unable to connect to host: 81.91.81.54......removing 81.91.81.54......Failed......(request attempt 2/12)...Resolving archive.cpan.cz...(resolve attempt 1/65)......connecting to 81.91.81.54.....Timeout on connect.....Unable to connect to host: 81.91.81.54......removing 81.91.81.54......Failed......(request attempt 3/12)...Resolving archive.cpan.cz...(resolve attempt 1/65)......connecting to 81.91.81.54...
[20130611.220414]      [31885] ..Timeout on connect.....Unable to connect to host: 81.91.81.54......removing 81.91.81.54......Failed......(request attempt 4/12)...Resolving archive.cpan.cz...(resolve attempt 1/65)......connecting to 81.91.81.54.....Timeout on connect.....Unable to connect to host: 81.91.81.54......removing 81.91.81.54......Failed......(request attempt 5/12)...Resolving archive.cpan.cz...(resolve attempt 1/65)...... Timeout on request ...Resolving archive.cpan.cz using backup method...Waiting for dns resolution to become available....Resolving archive.cpan.cz...(resolve attempt 2/65)......connecting to 81.91.81.54.....Timeout on connect.....Unable to connect to host: 81.91.81.54......removing 81.91.81.54......Failed......(request attempt 6/12)...Resolving archive.cpan.cz...(resolve attempt 1/65)......connecting to 81.91.81.54.....Timeout on connect.....Unable to connect to host: 81.91.81.54......removing 81.91.81.54......Failed......(request attempt 7/12)...Resolving archive.cpan.cz...(resolve attempt 1/65)......connecting to 81.91.81.54.....Timeout on connect.....Unable to connect to host: 81.91.81.54......removing 81.91.81.54......Failed......(request attempt 8/12)...Resolving archive.cpan.cz...(resolve attempt 1/65)......connecting to 81.91.81.54...
[20130611.220902]      [31885] ..Timeout on connect.....Unable to connect to host: 81.91.81.54......removing 81.91.81.54......Failed......(request attempt 9/12)...Resolving archive.cpan.cz...(resolve attempt 1/65)......connecting to 81.91.81.54.....Timeout on connect.....Unable to connect to host: 81.91.81.54......removing 81.91.81.54......Failed......(request attempt 10/12)...Resolving archive.cpan.cz...(resolve attempt 1/65)......connecting to 81.91.81.54.....Timeout on connect.....Unable to connect to host: 81.91.81.54......removing 81.91.81.54......Failed......(request attempt 11/12)...Resolving archive.cpan.cz...(resolve attempt 1/65)......connecting to 81.91.81.54.....Timeout on connect.....Unable to connect to host: 81.91.81.54......removing 81.91.81.54......Failed......(request attempt 12/12)...Resolving archive.cpan.cz...(resolve attempt 1/65)......connecting to 81.91.81.54.....Timeout on connect.....Unable to connect to host: 81.91.81.54......removing 81.91.81.54......Failed......Done
[20130611.220902]      [31885] Cpanel::HttpRequest http://archive.cpan.cz///authors/id/B/BJ/BJOERN/XML-SAX-Expat-0.50.tar.gz: Bad file descriptor at /usr/local/cpanel/Cpanel/cPCPAN/cpanminus.pm line 146.
[20130611.220902]      [31885] FAIL
[20130611.220902]      [31885] ! Download http://archive.cpan.cz///authors/id/B/BJ/BJOERN/XML-SAX-Expat-0.50.tar.gz failed. Retrying ... 
[20130611.220914]      [31885]                                          Fetching http://archive.cpan.cz/authors/id/B/BJ/BJOERN/XML-SAX-Expat-0.50.tar.gz (connected:0).......(request attempt 1/12)...Resolving archive.cpan.cz...(resolve attempt 1/65)......connecting to 81.91.81.54...
These are on two Xen based VPSs
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
Seeing this right now, trying to upgrade servers from 11.34 to 11.36
The error you reported can happen when the CPAN (Perl repository) mirror your server is configured to use, is down or otherwise not responding. This will typically resolve itself as the bad mirrors are disabled, or you could also try editing your resolvers in /etc/resolv.conf to public resolvers such as 8.8.8.8 or 4.2.2.2. Feel free to open a support ticket if you require additional assistance.

Thank you.
 

sparek-3

Well-Known Member
Aug 10, 2002
1,983
218
343
cPanel Access Level
Root Administrator
Where is the list of CPAN mirrors stored?

Is there a way to regenerate this to a known good list prior to doing an update?

The issue isn't always DNS related, sometimes a mirror will resolve, but it doesn't have the file that the update is looking for.

Would seem to make sense to regenerate this list of mirrors prior to performing an update with a known good list of mirrors.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
You could directly edit the "urllist" value in the "Config.pm" file associated with your Perl installation. For example, on a test server that I checked, this file is located at:

# /usr/local/lib/perl5/5.8.8/CPAN/Config.pm

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
To update, this issue is actually related to a bug with cpanm where it will not unpack certain modules. There is an internal case open that addresses this issue by including a newer version of cpanm with cPanel. For reference, the case number is 69101. The workaround is to manually install the module via:

Code:
# cpan -i XML::SAX::Expat
Thank you.
 

techguide

Member
Aug 29, 2012
21
0
1
cPanel Access Level
Reseller Owner
To update, this issue is actually related to a bug with cpanm where it will not unpack certain modules. There is an internal case open that addresses this issue by including a newer version of cpanm with cPanel. For reference, the case number is 69101. The workaround is to manually install the module via:

Code:
# cpan -i XML::SAX::Expat
Thank you.
So should the above be run BEFORE the cpup command to solve this issue?
 

techguide

Member
Aug 29, 2012
21
0
1
cPanel Access Level
Reseller Owner
Yes, you can run the command before updating cPanel if you are experiencing this problem.

Thank you.
I experienced this problem also when upgrading from 11.34.1.5 to 11.34.1.16 (have to stay on this version on one server that still needs php 5.2.17). The above solved the problem and allowed the WHM upgrade. Thanks!
 
Last edited:

yvrguy

Registered
Feb 22, 2009
1
0
51
I'm experiencing the same problem. Stuck on 30% trying to resolve. Will the process just stop at some point? Can I safely stop update at this point? I'm not sure what to do now that it is "stuck".
 

techguide

Member
Aug 29, 2012
21
0
1
cPanel Access Level
Reseller Owner
I'm experiencing the same problem. Stuck on 30% trying to resolve. Will the process just stop at some point? Can I safely stop update at this point? I'm not sure what to do now that it is "stuck".
yvrguy:
The below worked for me, your situation might be different. If you have shell access SSH onto your server.
Run "ps aux | grep upcp"

Use "kill -9 {processid} to kill the upcp processes, usually there are 3.
Gracefully reboot your server.

I WOULD NOT kill the UPCP processes if you are finally past this particular issue as the upgrade could be taking place and files being replaced already, in which case, it is a bad thing to kill your upcp processes.

However, if you server is still stuck on looking for cpan mirrors to find this rpm, then you can safely kill the cpup, restart the server, follow the steps to manually install the rpm and then continue back to your upcp /force.