Results 1 to 16 of 16
-
11-06-2009, 08:01 PM #1WHT Addict
- 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 meLast edited by onasre; 11-06-2009 at 08:06 PM.
-
11-06-2009, 08:05 PM #2Disabled
- 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?
-
11-06-2009, 08:09 PM #3WHT Addict
- Join Date
- Sep 2008
- Posts
- 148
-
11-06-2009, 08:26 PM #4Email Expert
- 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
-
11-06-2009, 08:32 PM #5Disabled
- Join Date
- Jul 2009
- Location
- Hamburg - Germany
- Posts
- 161
-
11-06-2009, 08:37 PM #6Email Expert
- Join Date
- Jan 2008
- Location
- Portugal
- Posts
- 1,021
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)
-
11-06-2009, 08:42 PM #7WHT Addict
- Join Date
- Sep 2008
- Posts
- 148
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
-
11-06-2009, 08:44 PM #8Email Expert
- Join Date
- Jan 2008
- Location
- Portugal
- Posts
- 1,021
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.
-
11-06-2009, 08:54 PM #9WHT Addict
- Join Date
- Sep 2008
- Posts
- 148
-
11-06-2009, 08:55 PM #10Email Expert
- 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
-
11-06-2009, 10:35 PM #11WHT Addict
- Join Date
- Sep 2008
- Posts
- 148
Update : It DID Work Thx @ MrGenral,ServerFirma
-
10-01-2011, 10:20 AM #12Newbie
- Join Date
- Oct 2010
- Posts
- 25
i'm can't used nano, now i can't yum it.
http://www.webhostingtalk.com/showthread.php?t=1087016Last edited by hostdrift; 10-01-2011 at 10:24 AM.
-
01-04-2012, 12:24 AM #13Junior Guru Wannabe
- 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? :-/
-
01-04-2012, 04:43 AM #14Junior Guru
- 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
-
01-04-2012, 05:00 AM #15Web Hosting Guru
- Join Date
- May 2009
- Posts
- 312
try these too.
4.2.2.2
4.2.2.1
Please do nslookup after changing the nameservers.
-
01-04-2012, 05:14 AM #16Junior Guru Wannabe
- Join Date
- Nov 2011
- Posts
- 43
Similar Threads
-
smartd - how to download and install?
By Gigaron in forum Hosting Security and TechnologyReplies: 2Last Post: 03-01-2008, 02:38 PM -
Streaming Video w/no download or install
By dynawebd in forum Hosting Security and TechnologyReplies: 0Last Post: 06-27-2005, 11:51 AM -
download and install w3c patch,webalizer
By ristova in forum Hosting Software and Control PanelsReplies: 0Last Post: 01-13-2005, 06:51 AM -
webalizer-w3c,install and download patch
By ristova in forum Hosting Software and Control PanelsReplies: 0Last Post: 01-13-2005, 06:48 AM -
When you install updates or download a program and it says you must reboot your pc...
By lokodezine in forum Web Hosting LoungeReplies: 3Last Post: 08-10-2004, 07:03 PM