Re: ftp daemon fails






-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

tekkie140 <administrator@xxxxxxxxxx> wrote:

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

Your ftpd is thinking it was launched from inetd, and expected to get a
socket on standard input.

I think you need to add the -D flag to get a stand-alone daemon.

Yes, good call. Silly of me to think that ftpd (ftp daemon) would
automatically
launch as a daemon. The -D flag did the trick. Thanks!

Thanks to the others who responded as well. I'll RTFM on inet as well.
--
View this message in context: http://www.nabble.com/ftp-daemon-fails-tf4431115.html#a12652777
Sent from the freebsd-net mailing list archive at Nabble.com.

_______________________________________________
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 ... inetd. ...
    (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)