ftp daemon fails

Giorgos Keramidas keramida at ceid.upatras.gr
Wed Sep 12 17:19:57 PDT 2007


On 2007-09-12 10:58, tekkie140 <administrator at 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



More information about the freebsd-net mailing list