Results 1 to 16 of 16
  1. #1
    Join Date
    Sep 2008
    Posts
    148

    Cant install or download any thing useing ssh

    Hello

    i do not know wht happend but when try to download any file useing wget from ssh . i get common error with every thing i try to download.
    this example when try to download csf.

    # wget http://www.configserver.com/free/csf.tgz
    --2002-01-09 15:18:40-- http://www.configserver.com/free/csf.tgz
    Resolving www.configserver.com... failed: Temporary failure in name resolution.
    wget: unable to resolve host address `www.configserver.com'


    and when try to use any coomand , looks like my yum damged or currepted.

    example when run:

    yum update


    [root@ #yum update
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    Could not retrieve mirrorlist http://mirrorlist.centos.org/?releas...h=i386&repo=os error was
    [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
    Could not retrieve mirrorlist http://mirrorlist.centos.org/?releas...6&repo=updates error was
    [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
    Could not retrieve mirrorlist http://mirrorlist.centos.org/?releas...86&repo=addons error was
    [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
    Could not retrieve mirrorlist http://mirrorlist.centos.org/?releas...86&repo=extras error was
    [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
    * base: mirror.linux.duke.edu
    * updates: centosv.centos.org
    * addons: centosv.centos.org
    * extras: mirror.linux.duke.edu
    http://download.lxlabs.com/download/...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
    Trying other mirror.
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: lxlabsupdate. Please verify its path and try again


    My /etc/resolv.conf looks alright to me
    Last edited by onasre; 11-06-2009 at 08:06 PM.

  2. #2
    Join Date
    Jul 2009
    Location
    Hamburg - Germany
    Posts
    161
    The message: Error: Cannot find a valid baseurl for repo: base is likely indicating that you need to configure the repository base with a URL address - i.e. http://...

    Check out this website for more info: YUM: Setup and Usage. Even though it is for RH, the server configuration must be similar if not identical, except for the URL location of repo servers, i.e. CentOS which you need to sourt out and configure - probably in the yum.conf or similar file in /etc or /etc/yum?

  3. #3
    Join Date
    Sep 2008
    Posts
    148
    Quote Originally Posted by ServerFirma View Post
    The message: Error: Cannot find a valid baseurl for repo: base is likely indicating that you need to configure the repository base with a URL address - i.e. http://...

    Check out this website for more info: YUM: Setup and Usage. Even though it is for RH, the server configuration must be similar if not identical, except for the URL location of repo servers, i.e. CentOS which you need to sourt out and configure - probably in the yum.conf or similar file in /etc or /etc/yum?
    the problem all was ok couple hours ago and i did nothing since then it just all sudden

  4. #4
    Join Date
    Jan 2008
    Location
    Portugal
    Posts
    1,021
    @ ServerFirma you're working at a HugeServer company and you didn't figure out this user was having DNS issues, nothing aabout yum setup and usage, but thanks for trying to help him.


    @ onasre:

    nano /etc/resolv.conf

    Then edit it to be like this:


    208.67.222.222
    208.67.222.220


    ---

    You will be then using opendns servers, and may use the commands as the DNS lookup will work.


    good luck
    Senior System Administrator / DevOp - LinkedIn / MailChannels Director of Sales, Europe
    MyW - Shared/Reseller Hosting & Server Management (cPanel/DA/Virtualization Servers)

  5. #5
    Join Date
    Jul 2009
    Location
    Hamburg - Germany
    Posts
    161

    *

    Quote Originally Posted by MrGeneral View Post
    @ ServerFirma you're working at a HugeServer company and you didn't figure out this user was having DNS issues, nothing aabout yum setup and usage, but thanks for trying to help him.

    good luck
    Thank you for helping to this person,

    I didn't ask him about it and about dns. And i didn't know his Ips.
    I have resolved this problem, which i had last year too.

    Thank you for your help

  6. #6
    Join Date
    Jan 2008
    Location
    Portugal
    Posts
    1,021
    Quote Originally Posted by ServerFirma View Post
    Thank you for helping to this person,

    I didn't ask him about it and about dns. And i didn't know his Ips.
    I have resolved this problem, which i had last year too.

    Thank you for your help
    You seem a nice person.


    You don't need to ask him about the dns or anything else, just check out the given errors, it's like... really basic.


    His DNS servers stopped responding therefore it couldnt lookup to the IP. So I gave him 2 other nameservers IP's, which use OpenDNS and definitely work.


    After he updates the resolv.conf with the given IP's, everything will work.


    (I tried to be as much basic as possible)
    Senior System Administrator / DevOp - LinkedIn / MailChannels Director of Sales, Europe
    MyW - Shared/Reseller Hosting & Server Management (cPanel/DA/Virtualization Servers)

  7. #7
    Join Date
    Sep 2008
    Posts
    148
    Quote Originally Posted by MrGeneral View Post
    @ ServerFirma you're working at a HugeServer company and you didn't figure out this user was having DNS issues, nothing aabout yum setup and usage, but thanks for trying to help him.


    @ onasre:

    nano /etc/resolv.conf

    Then edit it to be like this:


    208.67.222.222
    208.67.222.220


    ---

    You will be then using opendns servers, and may use the commands as the DNS lookup will work.


    good luck
    i tried that did not work .. this how now looks

    # Generated by NetworkManager


    # No nameservers found; try putting DNS servers into your
    # ifcfg files in /etc/sysconfig/network-scripts like so:
    #
    208.67.222.222
    208.67.222.220
    # DOMAIN=lab.foo.com bar.foo.com

    i even tried put my ips and same error

  8. #8
    Join Date
    Jan 2008
    Location
    Portugal
    Posts
    1,021
    Quote Originally Posted by onasre View Post
    i tried that did not work .. this how now looks

    # Generated by NetworkManager


    # No nameservers found; try putting DNS servers into your
    # ifcfg files in /etc/sysconfig/network-scripts like so:
    #
    208.67.222.222
    208.67.222.220
    # DOMAIN=lab.foo.com bar.foo.com

    i even tried put my ips and same error

    My typo, I don't even know how I completely forgot the nameserver before the IP's, and made a mistake in the second IP.


    It should be:

    nameserver 208.67.222.222
    nameserver 208.67.220.220


    Exactly like this.



    Sorry, my fault!


    Edit:

    You can copy paste:



    # Generated by NetworkManager


    # No nameservers found; try putting DNS servers into your
    # ifcfg files in /etc/sysconfig/network-scripts like so:
    #
    nameserver 208.67.222.222
    nameserver 208.67.220.220
    # DOMAIN=lab.foo.com bar.foo.com

    ---

    That's it.
    Last edited by MiguelV; 11-06-2009 at 08:49 PM.
    Senior System Administrator / DevOp - LinkedIn / MailChannels Director of Sales, Europe
    MyW - Shared/Reseller Hosting & Server Management (cPanel/DA/Virtualization Servers)

  9. #9
    Join Date
    Sep 2008
    Posts
    148
    Quote Originally Posted by MrGeneral View Post
    My typo, I don't even know how I completely forgot the nameserver before the IP's, and made a mistake in the second IP.


    It should be:

    nameserver 208.67.222.222
    nameserver 208.67.220.220


    Exactly like this.



    Sorry, my fault!


    Edit:

    You can copy paste:



    # Generated by NetworkManager


    # No nameservers found; try putting DNS servers into your
    # ifcfg files in /etc/sysconfig/network-scripts like so:
    #
    nameserver 208.67.222.222
    nameserver 208.67.220.220
    # DOMAIN=lab.foo.com bar.foo.com

    ---

    That's it.
    thank you .. i will hav to try later.. right now my server went down .. waiting the provider respond ..

    will update this post later..

    thank ya all

  10. #10
    Join Date
    Jan 2008
    Location
    Portugal
    Posts
    1,021
    Okay, no problem at all.


    If you copy paste those lines it will work.

    nameserver 208.67.222.222
    nameserver 208.67.220.220


    --

    Don't forget!

    Update us ASAP
    Senior System Administrator / DevOp - LinkedIn / MailChannels Director of Sales, Europe
    MyW - Shared/Reseller Hosting & Server Management (cPanel/DA/Virtualization Servers)

  11. #11
    Join Date
    Sep 2008
    Posts
    148
    Update : It DID Work Thx @ MrGenral,ServerFirma

  12. #12
    i'm can't used nano, now i can't yum it.

    http://www.webhostingtalk.com/showthread.php?t=1087016
    Last edited by hostdrift; 10-01-2011 at 10:24 AM.

  13. #13
    Join Date
    Nov 2011
    Posts
    43
    I'm having the same exact problem, but I tried using the nameservers provided above.. and my problem still exists? :-/

  14. #14
    Join Date
    Oct 2011
    Posts
    188
    Have you tried google's dns?

    http://code.google.com/speed/public-dns/

    8.8.8.8
    8.8.4.4

  15. #15
    Join Date
    May 2009
    Posts
    312
    try these too.

    4.2.2.2
    4.2.2.1

    Please do nslookup after changing the nameservers.

  16. #16
    Join Date
    Nov 2011
    Posts
    43
    Quote Originally Posted by krizag View Post
    try these too.

    4.2.2.2
    4.2.2.1

    Please do nslookup after changing the nameservers.

    already tried them..

Similar Threads

  1. smartd - how to download and install?
    By Gigaron in forum Hosting Security and Technology
    Replies: 2
    Last Post: 03-01-2008, 02:38 PM
  2. Streaming Video w/no download or install
    By dynawebd in forum Hosting Security and Technology
    Replies: 0
    Last Post: 06-27-2005, 11:51 AM
  3. download and install w3c patch,webalizer
    By ristova in forum Hosting Software and Control Panels
    Replies: 0
    Last Post: 01-13-2005, 06:51 AM
  4. webalizer-w3c,install and download patch
    By ristova in forum Hosting Software and Control Panels
    Replies: 0
    Last Post: 01-13-2005, 06:48 AM
  5. Replies: 3
    Last Post: 08-10-2004, 07:03 PM

Posting Permissions

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