Solved

How do i resolve my yum problem in centos 5.3

Posted on 2009-07-04
7
669 Views
Last Modified: 2012-05-07


  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
0
Comment
Question by:primaims
  • 3
  • 2
  • 2
7 Comments
 
LVL 40

Expert Comment

by:omarfarid
ID: 24776778
try to run

yum clean all

and try again as it could be a dns issue or congested time
0
 

Author Comment

by:primaims
ID: 24782608
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
 
LVL 40

Expert Comment

by:omarfarid
ID: 24782848
Why do you need to use IP address rather FQDN ?
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 20

Expert Comment

by:Daniel McAllister
ID: 24785746
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
 

Author Comment

by:primaims
ID: 24811140
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
 
LVL 20

Expert Comment

by:Daniel McAllister
ID: 24824227
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
 

Accepted Solution

by:
primaims earned 0 total points
ID: 25524777
Thanks for support.I found the problem.The problem is due to my internal firewall.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now