Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 May 2006 03:54:29 +0300
From:      Rostislav Krasny <rosti.bsd@gmail.com>
To:        Andras Got <andrej@antiszoc.hu>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: possible tcp problem
Message-ID:  <20060520035429.f8bc6d6b.rosti.bsd@gmail.com>
In-Reply-To: <446DCCE5.6030601@antiszoc.hu>
References:  <446DCCE5.6030601@antiszoc.hu>

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

On Fri, 19 May 2006 15:49:25 +0200
Andras Got <andrej@antiszoc.hu> wrote:

> The question is that what could cause this thing and what should we try to solve this.
> 
> Errors:
> sendmail[37085]: gethostbyaddr(IP) failed: 1
> Can't connect to MySQL server on 'IP' (1)

Don't know about the second error, but I believe the first one is
printed by following chunk of src/contrib/sendmail/src/conf.c

======== start of the quote ========
			sm_syslog(LOG_WARNING, NOQID,
				  "gethostbyaddr(%.100s) failed: %d",
				  anynet_ntoa(sa),
#if NAMED_BIND
				  h_errno
#else /* NAMED_BIND */
				  -1
#endif /* NAMED_BIND */
				 );
======== end of the quote ========

netdb.h has following description for that error number in h_errno:

#define HOST_NOT_FOUND  1 /* Authoritative Answer Host not found */

So that specific error looks like a problem on your DNS.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060520035429.f8bc6d6b.rosti.bsd>