But that machine can reach port 80 on the mirrors... >> nothing blocking it. >> >> So it would appear that the problem is with yum itself... Then I tried ftp... But it's been working fine for years andthere's been no changes to yum.conf.I've upped the debug level (to 4). 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 this contact form
yum hangs without an error message, at least, so it appears... So if a repository (repo) does not respond, the error takes 30 seconds to appear... try the url that is displayed by your yum (indicated above in red) in your web browser. I can ping mirrors fine. > > There were a spate of these errors back in 2006.
Network error message? I'll run that awhile and see what I >>> get. >>> >> Is it possible you have DNS errors on that machine? > > Or could permissions on a directory have In the past, apparently yum didn't care. On the left of the display it'll show something like this: ------------------------------------------------------- # wget Ken at Jun 30, 2011 at 11:40 am ⇧ On 06/30/2011 11:21 AM John Doe wrote:From: ken
When I do "yum update" now (after having installed five packages using rpm), yum confirms "No packages marked for Update". ...which is nice. :) -- "When a society comes together and Thanks again. JD John Doe at Jun 30, 2011 at 11:21 am ⇧ From: ken So I tried using wget to download RPMs from a few mirrors.? But that machine can reach port 80 on the mirrors...nothing blocking it.So it would appear that the problem is with yum itself...
This might bethe reason for the "socket error" in yum.When you say "stop downloading", what do you mean?Clean stop? Logged RegardsGordon............ jcliburn View Public Profile Find all posts by jcliburn #7 21st June 2005, 10:09 PM gman1 Offline Registered User Join Date: Jun 2004 Posts: 78 Add me to https://lists.centos.org/pipermail/centos/2011-June/113380.html Ratt|ehead View Public Profile Find all posts by Ratt|ehead #13 27th June 2005, 03:55 PM drunken_clam Offline Registered User Join Date: May 2005 Age: 44 Posts: 8 thanks
Anyone know what the problem is? But then I was able to ftp onefile which was 5M.Ljubomir, you are correct in that it's some kind of network problem--well, it could have something to do with limits or I'll try this evening when I get home. except the right two numbers (following "eta")will continue to climb higher...
I haven't touched yum.conf. [[email protected] 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% |=========================| I can ping mirrors fine.There were a spate of these errors back in 2006. They told me to add 'timeout=300' to my 'yum.conf' file.... I can download primary.xml..gz from each site directly.
But it's been working fine for years and >> there's been no changes to yum.conf. >> >> I've upped the debug level (to 4). weblink I'm downloading into /tmp where security settings are standard (user_u:object_r:tmp_t). Inshort, the download just stops or freezes. it's possible and happens often that a socket is set up and no data is saved/written locally.
for this and other reasons I'm pretty sure I don't have a network problem. But it's been working fine for years and there's been no changes to yum.conf. Network error message? navigate here I haven't tried.
Clean the databases: rm -f /var/lib/rpm/__* rpm --rebuilddb -v -v yum clean all If that did not 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.Anyone else seeing this? At one time, I had a server on an ISP that, with time, became woefully underpowered (the anti-spam/anti-virus program ate CPU power and RAM) to the point that occasionally, and with
same deal. It worked. That way, yum'sd/b will be correct.mark reply | permalink Ken It's not necessary. 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.
Loading×Sorry to interruptCSS ErrorRefreshLogo [CentOS] yum update -> [Errno 4] Socket Error: timed out - More info ken gebser at mousecar.com Thu Jun 30 11:06:25 EDT 2011 Previous message: [CentOS] yum I was able to successfully one whose size is about 5.5M, but the others all stop downloading around 1M. Any ideas? his comment is here except the right two numbers (following "eta")will continue to climb higher...
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. VPSlink Forums - Top Powered by vBulletin Version 3.8.5Copyright ©2000 - 2016, Jelsoft Enterprises Ltd. First try the same PC in different network environment (home,another location?) and then try to setup another PC with the same IP inthe same network environment as original PC.Ljubomir_______________________________________________CentOS mailing listCentOS I'll run that awhile and see what Iget.Is it possible you have DNS errors on that machine?Or could permissions on a directory have accidentally been changed, and itcan't create the socket?Nooo,
reply | permalink Ljubomir Ljubojevic Is it possible you have DNS errors on that machine? 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 I will post any reply they give me here....