Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 May 1997 11:23:20 -0700 (PDT)
From:      Tom Samplonius <tom@uniserve.com>
To:        Robert Shady <rls@mail.id.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Problem
Message-ID:  <Pine.NEB.3.95.970501112056.16068I-100000@haven.uniserve.com>
In-Reply-To: <199705011657.MAA15205@server.id.net>

next in thread | previous in thread | raw e-mail | index | archive | help


On Thu, 1 May 1997, Robert Shady wrote:

> I've got a serious problem with *ANY* 3.0 snapshots.  I've seen several
> other people say in the mailing lists that they have experienced similar
> problems, but I have yet to see a legitimate answer to them.  PLEASE
> respond asap.
> 
> The problem:
>     In certain software packages, the gethostbyname call appears to fail.
> The software:
>     (so far) sendmail, and harvest
> 
> The scenario:
>     Webserver - Approximately 100 virtual hosts.  Running nothing but YP
>     client, webservices, and sendmail with client (forward) configuration.
> 
> /etc/host.conf
> ==============
> # $FreeBSD$
> # Default is to use the nameserver first
> bind
> # If that doesn't work, then try the /etc/hosts file
> hosts
> # If you have YP/NIS configured, uncomment the next line
> nis
> # 
> 
> -rwxrwxr-x  1 root  wheel  178 May  1 00:03 /etc/host.conf
> 
> 
> Sendmail complains:
> ===================
> ...
> May  1 08:43:33 www001 sendmail[4405]: gethostbyaddr() failed for 199.125.2.95 
> May  1 08:43:33 www001 sendmail[4405]: gethostbyaddr() failed for 199.125.2.96 
> May  1 08:43:33 www001 sendmail[4405]: gethostbyaddr() failed for 199.125.2.97 
> May  1 08:43:33 www001 sendmail[4405]: gethostbyaddr() failed for 199.125.2.98 
> May  1 08:43:33 www001 sendmail[4405]: gethostbyaddr() failed for 199.125.2.99
> 
> Harvest complains:
> ==================
> broker: 970430 23:43:07: select returned: 1
> broker: 970430 23:43:07: host_cache: get_host (199.125.2.24)
> broker: 970430 23:43:07: getfullhostname: gethostbyname(www001.id.net) returned NULL.
> broker: 970430 23:43:07: host_cache: get_host (www001.id.net)
> broker: 970430 23:43:07: host_cache: hash index = 425
> broker: 970430 23:43:07: new_host: Adding www001.id.net
> broker: 970430 23:43:07: xmalloc: Allocated 14 bytes for 0x75a530.
> broker: 970430 23:43:07: new_host: gethostbyname(www001.id.net) failed.
> broker: 970430 23:43:07: new_host: www001.id.net: unknown host
> broker: 970430 23:43:07: xfree: Deallocating space for 0x75a530
> broker: 970430 23:43:07: Can't get my own host info!?
> 
> 	-- Rob
> ===
>       _/_/_/_/_/  _/_/_/_/               _/_/    _/  _/_/_/_/_/  _/_/_/_/_/
>          _/      _/      _/    _/_/_/   _/  _/  _/  _/_/_/_/        _/
>    _/_/_/_/_/  _/_/_/_/               _/      _/  _/_/_/_/_/      _/
> 
>                              Innovative Data Services 
>                           Serving South-Eastern Michigan 
>         Internet Service Provider / Hardware Sales / Consulting Services
>        Voice: (810)855-0404 / Fax: (810)855-3268 / Web: http://www.id.net
> 

  3.0 is early beta software, and is still is in development, and changes
are made daily.  You won't be able to get a developer to comment on these
problems, unless you upgrade to current first.

  If you need a system to work, use 2.1.7.1

Tom




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.970501112056.16068I-100000>