Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 May 2000 20:59:34 +0200
From:      AB <aernoudt@wanadoo.nl>
To:        Maxim Konovalov <maxim@amur.cbr.ru>
Cc:        Assar Westerlund <assar@sics.se>, freebsd-net@FreeBSD.ORG
Subject:   Re: ftpd error message: can somebody explain me what it means ?
Message-ID:  <39283216.75A95EB6@wanadoo.nl>
References:  <Pine.BSF.4.10.10005211414200.1509-100000@noname.cbr.amur.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Maxim Konovalov wrote:
> 
> > 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.

Does not work for me however: the following is the error message I get
when I use this

ftpd[proces-ID]: control socket: protocol not supported

That is strange since the kernel has the options for INET, INET6 (the
not supported error message)

Aernoudt

-- 
  
 Aernoudt  Bottemanne		* Powered  by  FreeBSD *
 http://www.freebsd.org		
 http://www.openbsd.org
 http://www.nlfug.nl


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?39283216.75A95EB6>