Re: yum update -> [Errno 4] Socket Error: timed out - More info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Jun 30, 2011 at 12:06 PM, ken <gebser@xxxxxxxxxxxx> wrote:
On 06/29/2011 07:58 AM ken wrote:
> Trying to update a second CentOS box, I'm getting this error repeatedly:
>
> [Errno 4] Socket Error: timed out
>
> I'm getting this on every mirror and have gone through the list of
> mirrors more than a dozen times.
>
> Oddly, the RPMs I'm trying to upgrade I upgraded just yesterday without
> a problem on another machine on the same LAN with no problems
> whatsoever.  I can ping mirrors fine.
>
> There were a spate of these errors back in 2006.  The fix for many was
> to add this line to yum.conf:
>
> timeout=300
>
> So I did that on the machine where yum is having the problem, but the
> same errors are returned.
>
> Anyone else seeing this?  Anyone know what the problem is?

So I tried using wget to download RPMs from a few mirrors.  I was able
to successfully one whose size is about 5.5M, but the others all stop
downloading around 1M.  Then I tried ftp... same deal.  This might be
the reason for the "socket error" in yum.

I don't have quotas set on this machine.  selinux is on, but it's been
on for years... why should it start interfering now?  I'm downloading
into /tmp where security settings are standard (user_u:object_r:tmp_t).


Fire up tcpdump/wireshark and record the TCP connection then analyze it with Wireshark and you can check for retransmissions, etc.

A while ago I had to add the following to my Fedora 13/14 system to download from some sites.

/etc/sysctl.conf:
net.ipv4.tcp_timestamps = 0

--
Giovanni Tirloni
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux