gw error

Post Reply
User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

gw error

Post by Thunderstone »



I've installed Webinator on one web site successfully. I then
attempted to install it on a different web site on a different machine
and get the following error when I attempt to run 'gw
http://www.mysite.com':

000 gethostbyname: No such file or directory
Can't determine this machine's name

a nslookup www.mysite.com works fine. I'm running it from the same
machine that the web server runs on. What's causing this error?

justin
----------------------------------------------------------------------*
|Justin B. Alcorn | Network/Security Engineer | alcorn@ohioonline.net |
|OhioOnline, Inc. | http://ohioonline.net | 216-522-1818 |
----------------------------------------------------------------------*

User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

gw error

Post by Thunderstone »




gw asks the machine its running on for its name, then tries to lookup
that name. The name your machine has for itself is not recorded
in its hosts file or dns. Try running "hostname" or "uname -n"
to find out what the machine thinks it is called. Then make sure
there's entry in the /etc/hosts file or name server for that name.
User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

gw error

Post by Thunderstone »




Ahhh - one of my interns downloaded it. I was reading the instructions
off the web site.

I did a `ln -s /etc/resolv.conf /usr/etc/resolv.conf` and that
fixed the problem.

gw is running now...

Post Reply