• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Plesk ftp ECONNREFUSED

godfather21

New Pleskian
Hello,

i have plesk 12.5 and centos 7. Today after a server restart i cannot login via ftp, i have tried many things like iptables check, firewall disable as also i had checked failban but neither from them did something.

Can anyone provide me any solution please?
 
What is the output of following command on your Plesk server:

# lsof -i tcp:21

If nothing, start xinetd service with

# service xinetd start

and check again.
 
Make sure that you have the same content of /etc/xinetd.d/ftp_psa file:

# 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
}
 
This file is a part of psa-proftpd package:

# rpm -qf /etc/xinetd.d/ftp_psa
psa-proftpd-1.3.5b-cos7.build1205160427.18.x86_64

Make sure that this package is installed correctly and re-install if necessary.
 
Try to disable Atomic repo and then run

# plesk installer --select-release-current --reinstall-patch --upgrade-installed-components
 
I have done what you told me
rpm -Va psa-proftpd and i receive empty output

after that should i run plesk installer --select-release-current --reinstall-patch --upgrade-installed-components?
 
root@server ~]# ll /etc/xinetd.d/
total 84
drwxr-xr-x. 2 root root 4096 Sep 5 15:55 ./
drwxr-xr-x. 119 root root 12288 Sep 6 08:51 ../
-rw------- 1 root root 1157 Jun 9 2014 chargen-dgram
-rw------- 1 root root 1159 Jun 9 2014 chargen-stream
-rw------- 1 root root 1157 Jun 9 2014 daytime-dgram
-rw------- 1 root root 1159 Jun 9 2014 daytime-stream
-rw------- 1 root root 1157 Jun 9 2014 discard-dgram
-rw------- 1 root root 1159 Jun 9 2014 discard-stream
-rw------- 1 root root 1148 Jun 9 2014 echo-dgram
-rw------- 1 root root 1150 Jun 9 2014 echo-stream
-rw-r----- 1 root root 458 Mar 21 20:55 ftp_psa.rpmnew
-rw-r--r-- 1 root root 455 Mar 24 12:39 ftp_psa.rpmsave
-rw-r--r-- 1 root root 490 Mar 24 12:26 poppassd_psa
-rw-r--r-- 1 root root 154 Apr 7 09:05 smtp_psa
-rw-r--r-- 1 root root 154 Apr 7 09:05 smtps_psa
-rw-r--r-- 1 root root 154 Apr 7 09:05 submission.psa
-rw------- 1 root root 1212 Jun 9 2014 tcpmux-server
-rw------- 1 root root 1149 Jun 9 2014 time-dgram
-rw------- 1 root root 1150 Jun 9 2014 time-stream
 
Have you checked content of this file and restarted xinetd service?
 
Yes i had restarted the service

this is the content of the file

#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
}
 
And what is result of this command on your Plesk server:

# lsof -i tcp:21

? Still nothing?
 
Back
Top