Solved

ftpd - getpeername: socket operation on non-socket

Posted on 2000-03-06
3
2,197 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
[X]
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
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 200 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

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

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…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

691 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