Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2007 03:19:20 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        tekkie140 <administrator@ksd140.org>
Cc:        freebsd-net@FreeBSD.org
Subject:   Re: ftp daemon fails
Message-ID:  <20070913001920.GA5712@kobe.laptop>
In-Reply-To: <12641033.post@talk.nabble.com>
References:  <12641033.post@talk.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2007-09-12 10:58, tekkie140 <administrator@ksd140.org> wrote:
>
> no response in the freebsd-questions forum...maybe here?
>
> hi - all of a sudden (it used to work) i can't start the ftpd daemon.
>
> # /usr/libexec/ftpd -l -R -p ftpd-id
> Sept 10 09:02:22 myhostname ftpd[1234]: getpeername (/usr/libexec/ftpd):
> Socket operation on non-socket
> #
>
> anyone know where i should look?  /etc/hosts looks okay.

/usr/libexec/ftpd is not something you are expected to run directly from
the command-line.  It should work MUCH better if you use inetd(8) to
launch it.

Try reading up on inetd(8) and inetd.conf(5) a bit:

        man inetd
        man inetd.conf

Then edit /etc/inetd.conf to match your preferred ftpd setup, and start
inetd (or restart it, if it's already running).

- Giorgos




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