Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 May 1997 12:57:36 -0400 (EDT)
From:      Robert Shady <rls@mail.id.net>
To:        freebsd-current@freebsd.org
Cc:        freebsd-questions@freebsd.org, freebsd-bugs@freebsd.org
Subject:   Problem
Message-ID:  <199705011657.MAA15205@server.id.net>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705011657.MAA15205>