• 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!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

FTP is not working

pedorret

New Pleskian
Hi friends,

I have a virtual server with Centos and Plesk 11.5 and suddenly since last week the ftp is not working. I try to connect with the same account as usual with filezilla and the answer is "connexion established", "waiting welcome message" but appear in one second "cant connect with server"

I don't understand, anybody can help me??
 
Maybe port 21 is firewalled or proftpd servise is stopped for some reason on Plesk. Have you checked it at least? Have you checked connection to port 21 with telnet, for example? Or have you tried restart ftp service on Plesk? Any errors after that?
 
Hello, I have the same problem since 06th, Sept.
After update to 11.5.30 (#30) no access via FTP. But SFTP e.g. with filezilla is working!
@IgorG :
port 21 is not firewalled. But I cant find a proftpd service on Plesk !
Should it be there?
 
thanks for help!

output of
# lsof -i tcp:21
is nothing in putty ???

and in xinetd is only one process 'finger' which is disabled
I´m not familiar in unix ...
 
Check that xinetd is up and running:

# /etc/init.d/xinetd status
xinetd (pid 20989) is running...

And make sure that you have file /etc/xinetd.d/ftp_psa with following content:

# cat /etc/xinetd.d/ftp_psa
#ATTENTION!
#
#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
#SO ALL YOUR CHANGES WILL BE LOST AFTER YOU UPGRADE PARALLELS PLESK PANEL.

service ftp
{
flags = IPv6
disable = no
socket_type = stream
protocol = tcp
wait = no
user = root
instances = UNLIMITED
server = /usr/sbin/in.proftpd
server_args = -c /etc/proftpd.conf
}
 
it seems to me that xinetd is not running !
# /etc/init.d/xinetd status -> output is nothing !

file /etc/xinetd.d/ftp_psa is there with same content
 
Just start it

# /etc/init.d/xinetd start

and check that ftp port is open with

# lsof -i tcp:21
 
beg your pardon - used wrong user in putty :-(

now I get: xinetd is running ...

and with # lsof -i tcp:21 :
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
xinetd 574 root 5u IPv6 1384245864 0t0 TCP *:ftp (LISTEN)
 
Hi Ernesto Fuentes,

pls. see if the following KB - articles help to solve your issue:


In addition, it really helps, if you inform us about YOUR CURRENT OPERATING SYSTEM and the CURRENT PLESK VERSION ( incl.. MU ), so that people willing to help you, have something to start with their investigations and corresponding log - file entries are as well a HUUUUGE help. ;)

 
I usually do not like to create accounts in forums... unless I truly can't find a solution for my problem. This is my case.

I just migrated from cPanel WHM to Plesk Onyx (I must say that I loved the change), I did a very few tweaks and everything seems to be fine, except for the ftp. I can't get it work.

First I tried by deleting a subscription and re-creating it from the very beggining (you know, due to the difference from cpanel to plesk scheme). Nothing.

Then I tried by searching a solution here and the rest of the web... nothing.

I have tried every single step mentioned in these forums and nothing.

BTW, # /etc/init.d/xinetd start is not possible in systemd, so I had to find out what the new command actually is.

# systemctl start xinetd (in case you were wondering)

Anyway, I must add that xinetd is enabled and working properly, but FTP still not working. My customers are now a bit worried and so am I. Please, be kind and help me.

REMEMBER: I am quite new at plesk.

Thanks in advance.
 
What exact error message when you can't connect?

Estado: Conectando a xxx.xxx.x.xxx:21...
Error: Connection timed out after 20 seconds of inactivity
Error: No se pudo conectar al servidor
Estado: Esperando para reintentar...

Over and over again. I double checked the firewall and nothing.

Have you checked it with telnet at least?

# open xxx.xxx.x.xxx 21
Connection to xxx.xxx.x.xxx:21 - fail
Error #110 (Connection timed out)
 
Looks like port 21 or IP address is not accessible from outside. You need to check your firewall rules, routing, network infrastructure, etc.
For example, when it works you will see something like this:

# telnet 10.58.108.106 21
Trying 10.58.108.106...
Connected to 10.58.108.106.
Escape character is '^]'.
220 ProFTPD 1.3.5b Server (ProFTPD) [10.58.108.106]
 
Some things good to know but Plesk does not explain in any article:


FTP access is not allowed per se. Dont even try that option. FTP is insecure and its disabled.
SFTP is the protocol to be used.


I resolved this problem editing a SSHconfig files:

  1. Edit the /etc/ssh/sshd_config file
  2. Change PasswordAuthentication and ChallengeResponseAuthentication to yes
  3. Then scroll down until you see this line:
  4. Subsystem sftp /usr/lib/openssh/sftp-server
  5. Comment out the above line, underneath it write this:
  6. Subsystem sftp internal-sftp
  7. Restart ssh /etc/init.d/ssh restart.
  8. Filezilla: set protocol to SFTP, set user and password previously configured in Plesk web interface (FTP accounts of your domains)
  9. No ssh keys are required for this connections.
 
Back
Top