On 06/30/2011 11:21 AM John Doe wrote: > From: ken <gebser@xxxxxxxxxxxx> > >> 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. > > When you say "stop downloading", what do you mean? > Clean stop? Network error message? 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 Sorry, I should have been clearer. What happens is that the download simply hangs. Doing ftp I turn on the 'hash' option so the ftp server prints a # for every 1k (or something?). It'll print a half a screen full of #s then stop; and I won't get the "ftp>" prompt back, even should I wait a half hour for it. Using wget it's pretty much the same idea. On the left of the display it'll show something like this: ------------------------------------------------------- # wget http://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.rpm Resolving ftp.linux.ncsu.edu... 152.1.2.172 Connecting to ftp.linux.ncsu.edu|152.1.2.172|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 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... except the right two numbers (following "eta") will continue to climb higher... it stays at "5%" and "1,029,216" doesn't change, and there's no activity between those two numbers. In short, the download just stops or freezes. _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos