Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 17
- I have installed CentOS 6 to VMWare 8 to learn something.. But that i don't have wget so i type: yum install wget. And an error appear. Code: 14 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2011
    Posts
    11

    [SOLVED][CentOS 6] 14 pycurl error 6 couldn't resolve host


    - I have installed CentOS 6 to VMWare 8 to learn something.. But that i don't have wget so i type: yum install wget. And an error appear.

    Code:
    14 pycurl error 6 couldn't resolve host.
    *I don't have wget...

    I hope everyone help me to solve this problem
    Last edited by Dias; 12-23-2011 at 11:12 PM.

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,228
    The VM either has no valid nameserver defined or it cannot be reached.

    What is the content of
    /etc/resolv.conf

    and which type of networking did you choose for this VM?
    NAT, bridged, host-only,...?
    You must always face the curtain with a bow.

  3. #3
    Just Joined!
    Join Date
    Dec 2011
    Posts
    11
    - Network: Bridged
    - here is my resolv.conf file
    Code:
    nameserver 8.8.8.8
    nameserver 8.8.4.4
    search localhost

  4. #4
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,228
    Ok, these are the google nameservers.
    Free to use, but google essentially knows where you go and when on the net.

    What happens if you send requests to them?
    This should happen:
    Code:
    $ host www.ibm.com 8.8.8.8
    Using domain server:
    Name: 8.8.8.8
    Address: 8.8.8.8#53
    Aliases: 
    
    www.ibm.com is an alias for www.ibm.com.cs186.net.
    www.ibm.com.cs186.net has address 129.42.58.216
    You must always face the curtain with a bow.

  5. #5
    Just Joined!
    Join Date
    Dec 2011
    Posts
    11
    Code:
    ping google.com
    ping: unknown host google.com

  6. #6
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,228
    1) diagnose
    2) fix


    I have no idea yet, what´s wrong. Hence the questions.
    Maybe the vm has a wrong or missing default gw,
    maybe a fw is in the way,
    etc
    You must always face the curtain with a bow.

  7. #7
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,228
    hmm, can you ping the IPs?
    You must always face the curtain with a bow.

  8. #8
    Just Joined!
    Join Date
    Dec 2011
    Posts
    11
    - I can ping Lan IP and:
    Code:
    ping 46.4.147.87
    PING 46.4.147.87 (46.4.147.87) 56(84) bytes of data
    Ping take a long time...

  9. #9
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,228
    Ping has a statistic in the end.
    How many percent packet loss do you have, if at all?

    But actually I meant: Can you ping the google nameserver IPs?

    Code:
    $ ping -c 5 8.8.8.8
    PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
    64 bytes from 8.8.8.8: icmp_req=1 ttl=50 time=13.6 ms
    64 bytes from 8.8.8.8: icmp_req=2 ttl=51 time=13.0 ms
    64 bytes from 8.8.8.8: icmp_req=3 ttl=50 time=12.9 ms
    64 bytes from 8.8.8.8: icmp_req=4 ttl=51 time=13.6 ms
    64 bytes from 8.8.8.8: icmp_req=5 ttl=51 time=13.0 ms
    
    --- 8.8.8.8 ping statistics ---
    5 packets transmitted, 5 received, 0% packet loss, time 4005ms
    rtt min/avg/max/mdev = 12.931/13.275/13.693/0.326 ms
    You must always face the curtain with a bow.

  10. #10
    Just Joined!
    Join Date
    Dec 2011
    Posts
    11
    Code:
    PING 46.4.147.87 (46.4.147.87) 56(84) bytes of data
    That is all the system reply

    I think i can ping 8.8.8.8
    Code:
    PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data
    One line and it stop...

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •