ftpd - getpeername: socket operation on non-socket

I'm running wu.ftp v2.6.0-3 on RedHat 6.0.  When I run the wu.ftpd from the command line as root I get the following error:
ftpd[xxx]: getpeername (wu.ftpd): Socket operation on a non-socket

I gather it's something to do with the ftpd trying to connect to stdout as a socket and failing.

Any ideas how to fix this?
timsAsked:
Who is Participating?
 
jlevieConnect With a Mentor Commented:
Yeah, don't try to run it from the command line. Ftp is intended to be run as a daemon by inetd. The normal install should put a line in /etc/inetd.conf starting with "ftp".
0
 
jlevieCommented:
Yeah, don't try to run it from the command line. Ftp is intended to be run as a daemon by inetd. The normal install should put a line in /etc/inetd.conf starting with "ftp".
0
 
timsAuthor Commented:
I checked my init.d/inet script and it was trying to call ssd (?).  I could not find which rpm it was in so I copied it from another system.  All happy now.
Thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.