The Sky is not the limit

Proftpd error: fatal: Socket operation on non-socket

October 19, 2009 · Leave a Comment

Error

root@hostname [~]# /etc/init.d/proftpd restart
Stopping proftpd: [FAILED]
Starting proftpd: hostname.domainname.com – fatal: Socket operation on non-socket
[FAILED]

Reason


The ProFtpd was configured to run in “inetd” mode. In “inetd” mode, ProFTPD expects that it will be run from the inetd super-server, which implies that stdin/stdout will be sockets instead of terminals. As a result, socket operations will fail.

root@hostname [~]# grep ServerType /etc/proftpd.conf

ServerType                      inetd

root@hostname [~]#

Fix

Edit the proftpd configuration and  change the ServerType to “standalone” mode and restarted ProFtpd.


root@hostname [~]# grep ServerType /etc/proftpd.conf
ServerType                      standalone
#ServerType                      inetd
root@hostname [~]#    /etc/init.d/proftpd restart
Stopping proftpd:                                          [FAILED]
Starting proftpd:                                          [  OK  ]

For more details : http://www.proftpd.org/docs/faq/linked/faq-ch4.html

Categories: Linux tutorials · cPanel

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment