[DGD] gethostbyname: No such file or directory

Antony Riley antony at flamefew.net
Thu Jan 29 03:13:44 CET 2004


I had exactly the same problem when I first tried to use DGD.

Turned out to be that the driver does a lookup on the hostname of the
machine to get the address family to use when listening on ports.

(why not just use AF_INET ?)

It gets upset if it can't lookup the machine's own hostname.

-Antony

On Wed, 28 Jan 2004 adriaan at vanbauwel.be wrote:

> > --- adriaan at vanbauwel.be wrote:
> >> I've just compiled the DGD 1.2p3, and when starting
> >> it up I recieve this
> >> error:
> >> gethostbyname: No such file or directory
> >
> >   Do you not have an /etc/hosts file?  It looks like
> > gethostbyname may be looking for some file you don't
> > have...
> >
> >
> > =====
> > ------
> > noah_gibbs at yahoo.com
> >
> I knew it had to be something with those files indeed.. and I just found
> it (after going through about 500 topics one all kinds of non-compiling
> programs but none ever solved)..
>
> Simple solution:  the file exists (thats why I was surprised by the
> error), but it only had this line:
> 127.0.0.1 localhost
>
> needed to ass the netbios name of my machine to it... and then it worked..
>
> tnx for the very speedy response anyhow! :)
> _________________________________________________________________
> List config page:  http://list.imaginary.com/mailman/listinfo/dgd
>

_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list