Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 May 2000 14:16:44 +1000 (YAKST)
From:      Maxim Konovalov <maxim@amur.cbr.ru>
To:        Assar Westerlund <assar@sics.se>
Cc:        AB <aernoudt@wanadoo.nl>, freebsd-net@FreeBSD.ORG
Subject:   Re: ftpd error message: can somebody explain me what it means ?
Message-ID:  <Pine.BSF.4.10.10005211414200.1509-100000@noname.cbr.amur.ru>
In-Reply-To: <5l7lcohdsl.fsf@assaris.sics.se>

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

But if you steel want to run standalone ftpd try

# /usr/libexec/ftpd -D -4

It works for me.

HTH, 

Maxim




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?Pine.BSF.4.10.10005211414200.1509-100000>