Solved

ftpd - getpeername: socket operation on non-socket

Posted on 2000-03-06
3
2,125 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 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ACK Attack 5 59
Linux CentOs 6.7 : i can't start service 8 78
How to enable SSH in Ubuntu. 7 94
ESXi NTP client time synch is not working 3 70
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

777 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