Re: ftp daemon fails



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

_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: ftp daemon fails
    ... Hash: SHA1 ... hi - all of a sudden i can't start the ftpd daemon. ... Socket operation on non-socket ...
    (freebsd-net)
  • ftp daemon fails
    ... hi - all of a sudden i can't start the ftpd daemon. ... Socket operation on non-socket ... View this message in context: http://www.nabble.com/ftp-daemon-fails-tf4423871.html#a12619050 ...
    (freebsd-questions)
  • Re: ftp daemon fails
    ... hi - all of a sudden i can't start the ftpd daemon. ... Socket operation on non-socket ...
    (freebsd-net)
  • Re: ftp daemon fails
    ... hi - all of a sudden i can't start the ftpd daemon. ... Socket operation on non-socket ... /etc/hosts looks okay. ...
    (freebsd-net)