From owner-freebsd-questions Wed Apr 29 15:48:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA24811 for freebsd-questions-outgoing; Wed, 29 Apr 1998 15:48:54 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA24675 for ; Wed, 29 Apr 1998 15:48:15 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id PAA13484; Wed, 29 Apr 1998 15:48:11 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Date: Wed, 29 Apr 1998 15:48:10 -0700 (PDT) From: Doug White Reply-To: Doug White To: Gary Schrock cc: freebsd-questions@FreeBSD.ORG Subject: Re: "Unable to obtain socket...." from popper? In-Reply-To: <199804261921.PAA00509@eyelab.psy.msu.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 26 Apr 1998, Gary Schrock wrote: > Ok, I went to sleep with popper working perfectly fine, and I wake up > today with it dying with the message: > Apr 26 15:11:04 eyelab popper[432]: Unable to obtain socket and address of > client, err = 57 > Apr 26 15:11:04 eyelab popper[428]: Unable to obtain socket and address of > client, err = 57 > Apr 26 15:11:04 eyelab popper[423]: Unable to obtain socket and address of > client, err = 57 > Apr 26 15:11:05 eyelab popper[431]: Unable to obtain socket and address of > client, err = 57 > Apr 26 15:11:05 eyelab popper[425]: Unable to obtain socket and address of > client, err = 57 > Apr 26 15:11:05 eyelab popper[419]: Unable to obtain socket and address of > client, err = 57 > (This is repeated a bunch of time for every connect attempt). > > Looking through the sources, this error is caused by a call to get > getpeername failing, so I assume that the problem lies there. Hmm, error > number 57 appears to be ENOTCONN, which is odd because I would have thought > popper wouldn't even start without a connection (since it's being run from > inetd). I'd check that there are no hung poppers laying around and that the client can connect, or what the cilent gets if it gets an error. ENOTCONN woud come up if the client is bailing just after the connection but before popper gets ahold of it. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message