ftpd - getpeername: socket operation on non-socket

Posted on 2000-03-06
Medium Priority
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?
Question by:tims
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 40

Expert Comment

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".

Author Comment

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.
LVL 40

Accepted Solution

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".

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

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…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses
Course of the Month13 days, 17 hours left to enroll

800 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