Socket Error Timed Out Yum
connected.HTTP request sent, awaiting response... 200 OKLength: 17244521 (16M) [application/octet-stream]Saving to: `glibc-common-2.5-58.el5_6.4.i386.rpm'5% [=> ] 1,029,216 --.-K/s eta 23m 10s-------------------------------------------------------and just freeze there... Nooo, I just looked at errno.h, and that says corrupt shared library. Then I tried ftp... But this does work for Yum. http://whistlemedia.net/socket-error/socket-error-connection-timed-out.html
Due to the structure of the IPstack, a DNS error would have shown up with those other commands. Can you tell me more about this bug, maybe I too can figure out a way around it.... No more socket error... I noticed a regularity with which my errors occurred... this contact form
They told me to add 'timeout=300' to my 'yum.conf' file.... I don't have quotas set on this machine. But that machine can reach port 80 on the mirrors...nothing blocking it.So it would appear that the problem is with yum itself...
- it's possible and happens often that a socket is set up and no data is saved/written locally.
- Ken at Jun 30, 2011 at 11:06 am ⇧ 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 outI'm
- ConfigServer Security & Firewall If you are running csf & lfd you can disable csf with: csf -x try yum again and if it works, you'll have to reconfigure your csf.
- Rainer _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos Next Message by Date: Re: [CentOS] Anyway to ensure SSH availability? > > Am 29.06.2011 um 21:50 schrieb Emmanuel Noobadmin: > >> >> Since
- mark Mark Roth at Jun 30, 2011 at 12:10 pm ⇧ ken wrote:On 06/30/2011 11:21 AM John Doe wrote:From: ken
So I tried using wget to download RPMs from
- primary.xml.gz 100% |=========================| 800 kB 00:26 http://zeniv.linux.org.uk/pub/distri...rimary.xml.gz: [Errno 4] Socket Error: timed out Trying other mirror.
- why should it start interfering now?
- primary.xml.gz 100% |=========================| 72 kB 00:01 Exiting on user cancel Does anyone have any ideas?
- as installedon the problem machine.
- I was ableto successfully one whose size is about 5.5M, but the others all stopdownloading around 1M.?
Filesystem?Maybe you could try to wget to /dev/null and see if it goes further?Or try to strace a wget to see what happens...JD reply | permalink Ken Sorry, I should have But that machine can reach port 80 on the mirrors...nothing blocking it.So it would appear that the problem is with yum itself... it's possibleand happens often that a socket is set up and no data is saved/writtenlocally. I haven't touched yum.conf. [root@osprey fc4]# yum install kernel-devel Setting up Install Process Setting up repositories updates-released 100% |=========================| 951 B 00:00 extras 100% |=========================| 951 B 00:00 base 100% |=========================|
Logged RegardsGordon............ If you get an error in your browser, try removing that repository from /etc/yum.repos.d Try to fetch the list on your server with wget and past the url wget link-to-server-repository/repomd.xml If except the right two numbers (following "eta")will continue to climb higher... I haven't tried.
reply Tweet Search Discussions Search All Groups centos 18 responses Oldest Nested Giovanni Tirloni I would start by trying to telnet to port 80 on these mirrors, see if it can It workedfine, even downloading to the same directory (/tmp). I was ableto successfully one whose size is about 5.5M, but the others all stopdownloading around 1M. I'll run that awhile and see what I get.Thanks again.Is it possible you have DNS errors on that machine?LjubomirThat would be a possibility, but I'm able to both ping and telnet:80from
mark _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos Next Message by Thread: Re: [CentOS] yum update -> [Errno 4] Socket Error: timed out On 06/29/2011 03:42 PM Ljubomir Ljubojevic wrote: > ken and probably while the code is running in order to find where in the code the error's being kicked out. What happens is that the downloadsimply hangs. same deal.
Network error message? http://whistlemedia.net/socket-error/socket-error-10060-connection-timed-out.html I used wget to downloadglibc-common (the troublesome file) to another machine. This narrows theproblem down to a couple pockets.If I find anything more, I'll post back.Thanks for all the suggestions, everyone.--"When a society comes together and makes decisions in harmony,when it respects URL: http://lists.centos.org/pipermail/centos/attachments/20110630/97037ac2/attachment.html Giovanni Tirloni at Jun 30, 2011 at 11:19 am ⇧ On Thu, Jun 30, 2011 at 12:06 PM, ken wrote:On 06/29/2011 07:58 AM ken wrote:Trying to update a second
And, yes, rpmverified that the file was complete and uncorrupted. Home Forums Posting Rules Linux Help & Resources Fedora Set-Up Guides Fedora Magazine Ask Fedora Fedora Project Fedora Project Links The Fedora Project Get Fedora F23 Release Notes F24 Release Notes I will post any reply they give me here.... navigate here But that machine can reach port 80 on the mirrors... >> nothing blocking it. >> >> So it would appear that the problem is with yum itself...
not from this post! Yay. On the left of the displayit'll show something like this:-------------------------------------------------------# wgethttp://ftp.linux.ncsu.edu/pub/CentOS/5.6/updates/i386/RPMS/glibc-common-2.5-58.el5_6.4.i386.rpm--2011-06-30 11:35:44--http://ftp.linux.ncsu.edu/pub/CentOS/5.6/updates/i386/RPMS/glibc-common-2.5-58.el5_6.4.i386.rpmResolving ftp.linux.ncsu.edu... 126.96.36.199Connecting to ftp.linux.ncsu.edu|188.8.131.52|:80...
No problem.Then I scp'd it to the problem machine-- again no problem-- andsuccessfully installed it there using rpm.A strong recommendation: rpm -e, then yum localinstall. Inshort, the download just stops or freezes.Have you checked your network interface on your network connection ingeneral? yum update or yum search Any ideas? The fix for many wasto add this line to yum.conf:timeout00So I did that on the machine where yum is having the problem, but thesame errors are returned.I would start by trying
Then I tried ftp... Enable csf again with csf -e And also check your proxy settings. http://ftp.ipv6.funet.fi/pub/mirrors...rimary.xml.gz: [Errno 4] IOError:
drunken_clam View Public Profile Find all posts by drunken_clam #14 29th June 2005, 01:42 PM drunken_clam Offline Registered User Join Date: May 2005 Age: 44 Posts: 8 solution Then I get this error code: # echo $? 130 It might just mean "user hit Ctrl-C", I don't know, haven't tried to look it up yet. selinux is on, but it's been on for years... why should it start interfering now?
Doing ftp I turn on the 'hash' option so the ftp serverprints a # for every 1k (or something?). But then it's possible that the yum code is saying it's a socket error when it's actually some other kind of error. This might bethe reason for the "socket error" in yum.When you say "stop downloading", what do you mean?Clean stop? Nooo, I just looked at errno.h, and that says corrupt shared library.
Filesystem?Maybe you could try to wget to /dev/null and see if it goes further?Or try to strace a wget to see what happens...Sorry, I should have been clearer. I can ping mirrors fine.There were a spate of these errors back in 2006. Recent Msgs:mailman-users/2016-12/msg00000.htmlubuntu-bugs/2016-12/msg00008.htmlgeneral/2016-12/msg00067.htmlcommits.gnome/2016-12/msg00027.htmlwp-trac/2016-11/msg03149.htmlcommits.gnome/2016-12/msg00013.htmlwp-trac/2016-11/msg03142.htmlnotifications-ant-apache/2016-12/msg00000.htmlopenstack-dev/2016-12/msg00002.htmldebian-russian-debian/2016-12/msg00000.html Latest News Stories: Linux 4.0 Kernel Released Google Lets SMTP Certificate Expire Open Crypto Audit Passes TrueCrypt CIA 'tried to crack security of Apple devices' Xen Security Bug: Amazon, jcliburn View Public Profile Find all posts by jcliburn #3 21st June 2005, 01:50 PM drunken_clam Offline Registered User Join Date: May 2005 Age: 44 Posts: 8 are
Ljubomir Ljubomir Ljubojevic at Jun 29, 2011 at 3:42 pm ⇧ ken wrote:Good thought. They told me to add 'timeout=300' to my 'yum.conf' file.... This seams to work!!!! The fix for many wasto add this line to yum.conf:timeout00So I did that on the machine where yum is having the problem, but thesame errors are returned.I would start by trying
Ljubomir, you are correct in that it's some kind of network problem-- well, it could have Ken at Jun 30, 2011 at 1:15 pm ⇧ On 06/30/2011 11:57 AM Ljubomir Ljubojevic