Skip site navigation (1)Skip section navigation (2)
Date:      21 May 2000 03:50:34 +0200
From:      Assar Westerlund <assar@sics.se>
To:        AB <aernoudt@wanadoo.nl>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: ftpd error message: can somebody explain me what it means ?
Message-ID:  <5l7lcohdsl.fsf@assaris.sics.se>
In-Reply-To: AB's message of "Sat, 20 May 2000 19:20:51 %2B0200"
References:  <3926C973.92F2BC6F@wanadoo.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
AB <aernoudt@wanadoo.nl> writes:
> No matter how many books/man pages I read, I can not find the
> explanation for this error message:
> 
> ftpd[proces-ID] "getpeername (/usr/libexec/ftpd): socket operation on
> non-socket"

ftpd assumes it has been started from inetd and therefore that file
descriptor 0 is a TCP-socket.  If this is not the case you get the
error you quotes above.

I repeat:  ftpd has to be started by inetd (or something inetd-like).

/assar


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




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