?
Solved

ftpd - getpeername: socket operation on non-socket

Posted on 2000-03-06
3
Medium Priority
?
2,294 Views
Last Modified: 2012-06-27
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?
0
Comment
Question by:tims
  • 2
3 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 2587334
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
 

Author Comment

by:tims
ID: 2590497
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
 
LVL 40

Accepted Solution

by:
jlevie earned 800 total points
ID: 2601513
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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Loops Section Overview
Suggested Courses
Course of the Month14 days, 9 hours left to enroll

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question