possible tcp problem
Rostislav Krasny
rosti.bsd at gmail.com
Fri May 19 17:54:50 PDT 2006
Hi,
On Fri, 19 May 2006 15:49:25 +0200
Andras Got <andrej at 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.
More information about the freebsd-stable
mailing list