LinuxQuestions.org
Review your favorite Linux distribution.
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 06-26-2005, 04:50 AM   #1
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Rep: Reputation: 32
Resolving <www.some remote host>.... failed: Host not found.


Hi,

I was trying to get WineX through CVS and while runnning the WineCVS.sh script got the following error :
Code:
koodoo@knapsacker:~$ sh WineCVS.sh

Fetching default scripts:


--14:23:16--  http://winecvs.linux-gamers.net/WineCVS/defaults.tar.gz
           => `defaults.tar.gz'
Resolving winecvs.linux-gamers.net... failed: Host not found.
Fetching failed!

koodoo@knapsacker:~$
Also if I say :

wget <some HTML page> I get the same error :
Resolving www.<that remote host>... failed: Host not found.

I am connected to the Internet via a proxy server.

Now this is because the script is not able to resolve the name of the host. So for that to work I may have to set some environmental variable specifying the address of the proxy server. I did some research and found that I have to edit the wgetrc file for the proxy settings.

But I am not sure. Never done this before. Please help me in this.
 
Old 06-26-2005, 05:04 AM   #2
hfawzy
Member
 
Registered: Aug 2002
Location: Egypt
Distribution: Debian Sarge, Slackware 10.0
Posts: 163

Rep: Reputation: 30
When I was behind a proxy server, before running wget, I was setting the enviroment variable http_proxy (and ftp_proxy), like that:
Code:
export http_proxy=http://server:port
This should work.

Last edited by hfawzy; 06-26-2005 at 05:05 AM.
 
Old 06-27-2005, 09:48 AM   #3
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Original Poster
Rep: Reputation: 32
Quote:
Originally posted by hfawzy
When I was behind a proxy server, before running wget, I was setting the enviroment variable http_proxy (and ftp_proxy), like that:
Code:
export http_proxy=http://server:port
This should work.
Hi, thanks a lot for the help.
I tried what you said, wget worked but the WineCVS.sh script didn't.

Here's what I did and what I got :
Code:
koodoo@knapsacker:~$ export http_proxy=http://10.10.11.1:8080
koodoo@knapsacker:~$ export ftp_proxy=http://10.10.11.1:8080
koodoo@knapsacker:~$ sh WineCVS.sh
Fetching default scripts:


--19:26:29--  http://winecvs.linux-gamers.net/WineCVS/defaults.tar.gz
           => `defaults.tar.gz'
Resolving winecvs.linux-gamers.net... failed: Host not found.
Fetching failed!


koodoo@knapsacker:~$
Thanks in anticipation.
 
  


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
more resolving host problems rmindell Mandriva 0 03-13-2005 02:24 PM
Postfix / Warnings hostname verification failed: Host not found rioguia Linux - Software 2 10-21-2004 03:15 PM
resolving host problem Veteq Linux - Newbie 4 06-03-2004 02:45 PM
resolving host problem scorpion777 Mandriva 0 05-17-2004 01:23 AM
resolving host... soko Linux - Newbie 10 07-07-2002 11:50 AM


All times are GMT -5. The time now is 05:37 AM.

Main Menu
Advertisement
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