Errcode: 2

Gary Wardell gwardell at gwsystems.co.il
Mon Jun 18 18:35:33 UTC 2001


Hi,

I understand the issue with being on the same network but since Gary.com is only used internally for development I am willing to
take the risk.  Mostly I'm looking at it now to track down a problem doing transfers to an off site slave.

I should have mentioned that I am running 8.2.3-REL-NT3 Sat Mar 10 00:05:59 2001, sorry.

Both servers are running the same version of named.

What should I do or should I just ignore the error?

Unfortunately I am running a ported binary and have never delved into the named source.

Gary


> -----Original Message-----
> From: Jim Reid [mailto:jim at rfc1035.com]
> Sent: Mon, June 18, 2001 9:53 AM
> To: Gary Wardell
> Cc: comp-protocols-dns-bind at moderators.isc.org
> Subject: Re: Errcode: 2
>
>
> >>>>> "Gary" == Gary Wardell <gwardell at gwsystems.co.il> writes:
>
>     Gary> /63.217.189.36/gary.com/AXFR/IN
>     Gary> 18-Jun-2001 02:58:11.000 security: info: approved
> AXFR from [63.217.189.36].3992 for "gary.com"
>     Gary> 18-Jun-2001 02:58:11.000 xfer-out: info: zone
> transfer (AXFR) of "gary.com" (IN) to [63.217.189.36].3992
>     Gary> 18-Jun-2001 02:58:11.000 default: info:
> stream_getlen([63.217.189.36].3992): Errcode: 2: No such file
> or directory
>
>     Gary> However the zone appears to be correctly transferred.  At
>     Gary> least the sequence number on the slave server matches the
>     Gary> master after this happens and there don't appear to be any
>     Gary> errors logged on the slave.
>
>     Gary> So what file or directory is it looking for?
>
> Probably none. The function stream_getlen() is failing and for some
> reason your OS is setting the error code to ENOENT (errcode 2). This
> generally means "No such file or directory". See <errno.h> or the
> introductory man page for system calls on your system. What's probably
> happening is the other end of the connection has gone away and your OS
> thinks ENOENT is a better error code to describe that problem than
> possibly more meaningful values like ECONNRESET or ETIMEDOUT. Since
> the two name servers for gary.com are on the same network -- a really
> bad single point of failure -- it might be an idea to get out a LAN
> sniffer or use tcpdump to see what's actually going on.
>
> Maybe one of gary.com's servers is trying to use the many-answers AXFR
> format and the other doesn't?



More information about the bind-users mailing list