Home > Socket Error > Errno 4 Socket Error

Errno 4 Socket Error

Contents

GBiz is too! Latest News Stories: Docker 1.0Heartbleed Redux: Another Gaping Wound in Web Encryption UncoveredThe Next Circle of Hell: Unpatchable SystemsGit 2.0.0 ReleasedThe Linux Foundation Announces Core Infrastructure Contact Us - Advertising Info - Rules - LQ Merchandise - Donations - Contributing Member - LQ Sitemap - Main Menu Linux Forum Android Forum Chrome OS Forum Search LQ You can set a debug level, error level & timeout for yum at /etc/yum.conf debugelevel=1 errorlevel=1 timeout=1 The timeout is standard 30 seconds. It'll print a half a screenfull of #s then stop; and I won't get the "ftp>" prompt back, evenshould I wait a half hour for it.Using wget it's pretty much the More about the author

I can ping mirrors fine. > > There were a spate of these errors back in 2006. I'll run that awhile and see what I get. >> >> >> Thanks again. >> > Is it possible you have DNS errors on that machine? > > Ljubomir That would Test with: yum --verbose --noplugins info You might get: Config time: 0.105 Yum Version: 3.2.22 Setting up Package Sacks Loading mirror speeds from cached hostfile * base: mirror.nl.leaseweb.net * extras: mirror.nl.leaseweb.net 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.?

Errno Socket Error Errno 11004 Getaddrinfo Failed

Learn More Red Hat Product Security Center Engage with our Red Hat Product Security team, access security updates, and ensure your environments are not exposed to any known security vulnerabilities. reply | permalink Ken One more thing: To exit from the wget above, I have to do a Ctrl-C. 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... 152.1.2.172Connecting to ftp.linux.ncsu.edu|152.1.2.172|:80...

This might bethe reason for the "socket error" in yum.When you say "stop downloading", what do you mean?Clean stop? Open Source Communities Subscriptions Downloads Support Cases Account Back Log In Register Red Hat Account Number: Account Details Newsletter and Contact Preferences User Management Account Maintenance My Profile Notifications Help Log if not, does 'host centos.syn.co.il' work? Socket Error Errno 10061 http://centos.fastbull.org/centos/5....rimary.xml.gz: [Errno 12] Timeout: Trying other mirror.

I'll run that awhile and see what I get. Errno Socket Error Python http://ftp.cc.uoc.gr/CentOS/5.6/os/i...rimary.xml.gz: [Errno 4] IOError: Trying other mirror. foxy188 View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by foxy188 09-14-2011, 01:56 PM #12 John VV LQ Muse Registered: Aug 2005 https://access.redhat.com/solutions/35848 Fedora4 dialup drunken_clam View Public Profile Find all posts by drunken_clam #2 21st June 2005, 03:03 AM jcliburn Offline Registered User Join Date: Nov 2004 Location: Mississippi, USA

drunken_clam View Public Profile Find all posts by drunken_clam #6 21st June 2005, 03:15 PM jcliburn Offline Registered User Join Date: Nov 2004 Location: Mississippi, USA Posts: 1,180 Socket Error Errno 10060 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 Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. it's possible and happens often that a socket is set up and no data is saved/written locally.

Errno Socket Error Python

You are currently viewing LQ as a guest. http://grokbase.com/t/centos/centos/116x9zdvkz/yum-update-errno-4-socket-error-timed-out 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 Errno Socket Error Errno 11004 Getaddrinfo Failed I'll run that awhile and see what I get.Thanks again. Socket Error Errno 10054 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

You can also try to change the https in to http in the .repo files at /etc/yum.repos.d/ Good luck! my review here Then I tried ftp... Please visit this page to clear all LQ-related cookies. pressing ctrl-c does not work... (pressing it again and again and again does). Socket Error Errno 10053

  1. I'll try this evening when I get home.
  2. 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...
  3. thanks.
  4. as installedon the problem machine.
  5. Anything i can provide?
  6. drunken_clam View Public Profile Find all posts by drunken_clam #15 12th December 2012, 10:44 AM ivoets Offline Registered User Join Date: Dec 2012 Location: Eindhoven Posts: 1 Re:
  7. But that machine can reach port 80 on the mirrors... >> nothing blocking it. >> >> So it would appear that the problem is with yum itself...

But that machine can reach port 80 on the mirrors... >> nothing blocking it. >> >> So it would appear that the problem is with yum itself... Ljubomir Ljubomir Ljubojevic at Jun 29, 2011 at 3:42 pm ⇧ ken wrote:Good thought. Thanks again. http://dssoundware.com/socket-error/errno-49-socket-error.php Perhaps this suggestion is applicable: setup a cron job where the sshd server is restarted (once or several times per day, or per week, etc).

and probably while thecode is running in order to find where in the code the error's beingkicked out. Socket Error Errno 10049 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... But it's been working fine for years andthere's been no changes to yum.conf.I've upped the debug level (to 4).

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.

Or try to strace a wget to see what happens... But it's been working fine for years and there's been no changes to yum.conf. What happens is that the downloadsimply hangs. Socket Error Errno 10048 Find More Posts by rhoekstra 09-13-2011, 02:58 AM #4 foxy188 LQ Newbie Registered: Sep 2011 Posts: 10 Original Poster Rep: Hi rhoekstra, Its just a firewall.

it stays at "5%" and "1,029,216"doesn't change, and there's no activity between those two numbers. yum and wget and ftp allseem to have a problem downloadingglibc-common-2.5-58.el5_6.4.i386.rpm... same deal. navigate to this website This seams to work!!!!

No matter how many seconds elapsed during the transfer, the error always seemed to occur at or near the 800kB point. (See my post above to verify.) This set me to Anyone know what the problem is? Any ideas? I was able to successfully one whose size is about 5.5M, but the others all stop downloading around 1M.

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 workedfine, even downloading to the same directory (/tmp). Open Source Communities Comments Helpful Follow During yum update we received a "[Errno 4] Socket Error" Solution Unverified - Updated 2014-02-19T20:49:59+00:00 - English No translations currently exist. http://ftp.itu.edu.tr/Mirror/CentOS/...rimary.xml.gz: [Errno 4] IOError: Trying other mirror.

I am using dial up, and have tried everything under the sun, with not much luck.... I will post any reply they give me here.... Several things need to be checked... - are the repo's ok? - is networking ok? - are the yum & rpm databases ok? perhaps because it's ratherlarge (16M), or simply larger than 1M.

I have checked and port 80 is opened. same deal. 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... 152.1.2.172Connecting to ftp.linux.ncsu.edu|152.1.2.172|:80... Enclosed repolist. [[email protected] ~]# yum repolist all repo id repo name status addons CentOS-5 - Addons enabled base CentOS-5 - Base enabled c5-media CentOS-5 - Media disabled centosplus CentOS-5 - Plus