• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved FTP - Failed binding to port 21

BigD213

New Pleskian
New install of Plesk 12.5 on Centos 7

when I put this into bash: service xinetd status
it returns that the service is "Active"

I run: tail -f /var/log/messages

Then, I run: telnet 127.0.0.1 21
and I immediately get "Connection closed by foreign host."

Then /var/log/messages returns:
Aug 7 18:19:53 s1 proftpd[22890]: s1.--obfuscated--.com - Failed binding to ::, port 21: Address already in use
Aug 7 18:19:53 s1 proftpd[22890]: s1.--obfuscated--.com - Check the ServerType directive to ensure you are configured correctly
Aug 7 18:19:53 s1 proftpd[22890]: s1.--obfuscated--.com - Check to see if inetd/xinetd, or another proftpd instance, is already using ::, port 21
Aug 7 18:19:53 s1 proftpd[22890]: s1.--obfuscated--.com - Unable to start proftpd; check logs for more details

Then I run: service xinetd status
it returns:

Failed binding to ::, port 21: Address already in use
Check the ServerType directive to ensure you are configured correctly

When I run: cat /etc/proftpd.conf it shows only: "Include /etc/proftpd.d" and I do not know where the default options are being set. Options like "Umask" and "Port". When I use Plesk 12.5 on Centos 6, the file: /etc/proftpd.conf contains much more.
 
Hi BigD213,

pls. compare YOUR "proftpd.conf" and the folder ( and files ) "/etc/proftpd.d" with the ones from for example => #8

If you experience further issues/errors/problems, after you changed the configuration files, pls. post the complete configuration files, including the files from "proftpd.d" and post the new depending log - file entries from "/var/log/messages" and "/usr/local/psa/var/log/xferlog" or/and "/var/log/xferlog", after you tried to restart "xinetd".
 
There was a lot of manual configuration to do, once I got the /etc/proftpd.conf file loaded with data. This included setting permissions on files and adding several log files that did not exist. I assumed that the Plesk install would have already configured everything.

All is working now.
 
Back
Top