URL times-out

General support questions including new installations
Post Reply
torintino2
Posts: 4
Joined: 2011/06/12 19:41:55

URL times-out

Post by torintino2 » 2011/06/12 19:46:25

I am using Centos 4.7, i have an issue when i run yum update, the URL times-out even when i browse it on firefox or any web browser,
i tried it in different network setup with different ISPs.

#yum update php
Setting up Update Process
Setting up repositories
http://mirror.centos.org/centos/4/updates/i386/repodata/repomd.xml : [Errno 12] Timeout:
Trying other mirror.
Cannot open/read repomd.xml file for repository: update
failure: repodata/repomd.xml from update: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from update: [Errno 256] No more mirrors to try.


i wanted to upgrade php to 5.x

do you have any advice please.

Thanks

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

URL times-out

Post by pschaff » 2011/06/13 21:24:21

Welcome to the CentOS fora. Reading [url=https://www.centos.org/modules/newbb/viewforum.php?forum=47]FAQ & Readme First[/url] is recommended for new users.

No idea what the matter may be. Works for me. Do you have a proxy server? What does[code]dig mirror.centos.org[/code]return?

The standard repo configuration uses mirrorlist and not the baseurl of the primary server, which is meant as a source for the mirrors. See the standard [url=http://pastebin.centos.org/37402]/etc/yum.repos.d/CentOS-Base .repo[/url].

torintino2
Posts: 4
Joined: 2011/06/12 19:41:55

Re: URL times-out

Post by torintino2 » 2011/06/15 11:05:22

there is no proxy at all

Thanks

# dig mirror.centos.org

; > DiG 9.2.4 > mirror.centos.org
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48453
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 6, ADDITIONAL: 0

;; QUESTION SECTION:
;mirror.centos.org. IN A

;; ANSWER SECTION:
mirror.centos.org. 120 IN A 87.239.158.226

;; AUTHORITY SECTION:
org. 171125 IN NS b2.org.afilias-nst.org.
org. 171125 IN NS c0.org.afilias-nst.info.
org. 171125 IN NS a0.org.afilias-nst.info.
org. 171125 IN NS a2.org.afilias-nst.info.
org. 171125 IN NS d0.org.afilias-nst.org.
org. 171125 IN NS b0.org.afilias-nst.org.

;; Query time: 2341 msec
;; SERVER: 192.168.16.1#53(192.168.16.1)
;; WHEN: Wed Jun 15 12:59:27 2011
;; MSG SIZE rcvd: 189

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: URL times-out

Post by pschaff » 2011/06/15 13:57:25

[quote]
torintino2 wrote:
...
;; ANSWER SECTION:
mirror.centos.org. 120 IN A 87.239.158.226
[/quote]

I can ping that numeric IP address, or connect via lftp, but not resolve a hostname for it. In my location "host mirror.centos.org" rotates among several IPs.[code]
$ lftp http://87.239.158.226/centos/4/updates/i386/repodata/
cd ok, cwd=/centos/4/updates/i386/repodata
lftp 87.239.158.226:/centos/4/updates/i386/repodata> dir
drwxr-xr-x -- ..
-rw-r--r-- 6.6M 2011-06-01 12:41 filelists.xml.gz
-rw-r--r-- 35M 2011-06-01 12:41 other.xml.gz
-rw-r--r-- 679K 2011-06-01 12:41 primary.xml.gz
-rw-r--r-- 951 2011-06-01 12:41 repomd.xml
lftp 87.239.158.226:/centos/4/updates/i386/repodata> exit
$ host 87.239.158.226
Host 226.158.239.87.in-addr.arpa. not found: 3(NXDOMAIN)
$ host mirror.centos.org
mirror.centos.org has address 66.109.26.212
$ host mirror.centos.org
mirror.centos.org has address 69.167.139.9
$ host mirror.centos.org
mirror.centos.org has address 64.94.65.2
$ host mirror.centos.org
mirror.centos.org has address 64.94.65.2
$ host mirror.centos.org
mirror.centos.org has address 69.167.139.9
$ host mirror.centos.org
mirror.centos.org has address 69.72.242.210
$ host 69.72.242.210
210.242.72.69.in-addr.arpa domain name pointer server.cgorr.com.[/code]
I can only guess there was a problem with the mirror. If it still fails, perhaps try a different mirror by IP address.

Post Reply

Return to “CentOS 4 - General Support”