Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

strange gethostsbyname error...

the hosts line reads
hosts:  file nisplus dns

I'm putting some code it in check h_error but this problem occures ovenight 
so it's hard to test since they need the server running durring the day.


>From: David Kramer <david at>
>To: discuss at
>Subject: Re: strange gethostsbyname error...
>Date: Tue, 18 Jun 2002 09:42:53 -0400 (EDT)
>On Tue, 18 Jun 2002, Frank Ramsay wrote:
> >
> >
> > I'm down at a client site doing some troubleshooting and I've come 
>across a
> > very strange gethostbyname error.  It's returning NULL on a hostname in 
> > /etc/hosts file.  What happens is when the remote server goes down the
> > client program tries to re-connect every few hundred times though it's 
> > loop.  The idea being it will re-connect when server comes back up.  
>When it
> > first comes up it works, but after an hour or two gethostbyname starts 
> > fail.  Has anyone seen anything like this before?
> > redhat 7.2
> > glibc-2.2.4-19
>Make sure you're looking at hosts before anything else in
>DDDD   David Kramer         
>DK KD  "The Hitchhiker's Guide to the Galaxy also mentions alcohol.
>DKK D  It says that the best drink in existance is the Pan Galactic
>DK KD  Gargle Blaster."
>DDDD             Douglas Adams, "Hitchhiker's Guide to the Galaxy".
>Discuss mailing list
>Discuss at

Chat with friends online, try MSN Messenger:

BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!

Boston Linux & Unix /