How do i resolve my yum problem in centos 5.3



  I have installed Centos 5.3 in my pc. I want to update rpm packges using YUM. Here only
the problem started for me. I am getting error. I have mentioned the error below. Please give solution for my problem. In advance thank you very much for u.


[root@kkalyani yum.repos.d]# yum update
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://apt.sw.be/redhat/el5/en/mirrors-rpmforge error was
[Errno 4] IOError: <urlopen error (104, 'Connection reset by peer')>
Error: Cannot find a valid baseurl for repo: rpmforge
primaimsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

omarfaridCommented:
try to run

yum clean all

and try again as it could be a dns issue or congested time
0
primaimsAuthor Commented:
I tried it.

I found it as dns issu. When i am browsing using http://apt.sw.be/, the result is ok. But, i m browsing it with
its ip, i.e., 193.1.193.67, it is pointing to http://freshrpms.net/. So, how can i resolve this problem?
0
omarfaridCommented:
Why do you need to use IP address rather FQDN ?
0
Become a CompTIA Certified Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

Daniel McAllisterPresident, IT4SOHO, LLCCommented:
Not all websites appear to be the same when you enter their IP address -- in fact, I'd rather guess that the VAST majority do not!

The obvious example is a hosting company:
 Suppose I'm yahoo and I'm hosting some 400,000 websites for 10,000 clients (or so)... you want me to assign a separate IP to each website (domain name)?? Ridiculous! There is ONE IP address for each server, each one of which probably hosts 10,000 websites or more. The web server is running "virtual domains" so that the location of the webpage is determined by WHAT you asked for...

If you type in the address, there will either be a virtual domain definition for that address, or you'll see the "default" page as defined in the server's configuration.

Another example: when you type in "http://whatismyip.com" you are directed to one of 3 IP addresses -- one of which is 72.233.89.198 (a REAL IP ADDRESS)... however, if you type in "http://72.233.89.198" you get a "parked domain" / generic webpage for "verycurious.com". Case in point.

I hope this resolves your question / curiosity about the FQDN vs. WAN-IP difference...

Good Luck!

Dan
IT4SOHO
0
primaimsAuthor Commented:
Thank you master. But, i m trying to update my Centos by using yum. I am getting the following error.

[root@kkalyani yum.repos.d]# yum update
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://apt.sw.be/redhat/el5/en/mirrors-rpmforge error was
[Errno 4] IOError: <urlopen error (104, 'Connection reset by peer')>
Error: Cannot find a valid baseurl for repo: rpmforge.

I am not able to find, what is the extat problem.


0
Daniel McAllisterPresident, IT4SOHO, LLCCommented:
OK... let's review how YUM (for a while now) works...

As your output snippet shows, the yum installation first looks for the "fastest" mirror list available (this is intended to help distribute the download burden to several global servers)...

In your case, it determines that the fastest one is based on a cached hostfile, which directs you to  http://apt.sw.be/redhat/el5/en/mirrors-rpmforge, which has a VERY narrow list of mirrors...

I suggest you remove the cache file:
  yum clean all

Then allow yum to re-test for fastest mirrors...
  yum update

Let us know your results (of both commands)

Good Luck!

Dan
IT4SOHO
0
primaimsAuthor Commented:
Thanks for support.I found the problem.The problem is due to my internal firewall.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.