LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-12-2013, 02:16 PM   #1
adumith
LQ Newbie
 
Registered: Feb 2013
Posts: 25

Rep: Reputation: Disabled
Question PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"


Hello every one;

I just instaled Centos 6.4 at modal Minimal in VirtualBox, so when I try to run
yum update I get this error:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?releas...h=i386&repo=os error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Error: Cannot find a valid baseurl for repo: base

Researching I've got some recommendations but none have solved the problem.
The steps I followed are:
1. - Edit / etc / resolv.conf
nameserver8.8.8.8
8.8.4.4 nameserver
nameserver 127.0.0.1
2. - Edit / etc/sysconfig/network-scripts/ifcfg-eth0
BOOTPROTO = dhcp
NM_CONTROLLED = no
ON_BOOT = yes
3. - Eth0 ifup and dhclient eth0

Anyone have any other ideas of how to solve the issue?

data:
OS: Centos 6.4 32bit
Installed on: VirtualBox
Network type: NAT
team:
HP Pavilion g Series
x64 CPU
3GB RAM

Thanks a lot it advance.
 
Old 04-15-2013, 02:10 PM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 3,276
Blog Entries: 1

Rep: Reputation: 1054Reputation: 1054Reputation: 1054Reputation: 1054Reputation: 1054Reputation: 1054Reputation: 1054Reputation: 1054
how about the output of:

Code:
ping mirrorlist.centos.org
ping 8.8.8.8
nslookup mirrorlist.centos.org
cat /etc/resolv.conf
cat /etc/hosts
at first glance, it seems like your resolv.conf file is incorrect. there is supposed to be a space between nameserver and the ip.

Code:
nameserver 8.8.8.8
 
1 members found this post helpful.
Old 04-18-2013, 08:25 AM   #3
adumith
LQ Newbie
 
Registered: Feb 2013
Posts: 25

Original Poster
Rep: Reputation: Disabled
Hello szboardstretcher;

Thanks a lot for your reply; I allready resolved the issue, it was at the network configuration.

I add an staticIP, gateway, dns and ready...

Thanks again...
 
Old 01-16-2014, 10:09 PM   #4
vBalaji
LQ Newbie
 
Registered: Oct 2013
Posts: 5

Rep: Reputation: Disabled
Need help | Facing the same problem

Hi Adumith,

When I try to run an installation on redhat which tries to download files by itself, i am getting the below error

Quote:
[Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'archive.cloudera.com'"
Trying other mirror.
Hope you have tried a lot of ways and finally found the solution. It would be of great help, if you could share and guide me.

Thanks in advance.
 
Old 01-17-2014, 02:20 AM   #5
John VV
Guru
 
Registered: Aug 2005
Posts: 13,028

Rep: Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740
vBalaji
if this is RHEL 6.5 then call redhat tech support
it is one of the benefits of that REQUIRED support contract
or
install CentOS 6.5
 
Old 01-19-2014, 10:22 PM   #6
vBalaji
LQ Newbie
 
Registered: Oct 2013
Posts: 5

Rep: Reputation: Disabled
Thanks for the response

Dear John,

I am yet to get subscription &
Can you kindly guide me, in case you know how to fix the above issue.

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 16 Yum [Errno 14] curl#5 - "Couldn't resolve proxy" manqox Fedora 4 04-26-2012 10:37 AM
[SOLVED] YUM not working on the client - [Errno 14] PYCURL ERROR 7 - "" infinite_scale Red Hat 3 04-25-2012 09:13 AM
Update...."Couldn't resolve host." oMr_To Mandriva 8 07-31-2005 10:56 AM
Couldn't display "SMB:///" , No host "(Null)" could been Found?????? munkey Linux - Newbie 3 05-03-2004 04:30 PM
Couldn't display "SMB:///" , No host "(Null)" could been Found?????? help munkey Fedora 6 04-30-2004 06:04 PM


All times are GMT -5. The time now is 05:47 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration